This is a simple exporter which exports the information
provided by `wg show all dump` to prometheus.
Co-authored-by: Franz Pletz <fpletz@fnordicwalking.de>
So that people can easily try newer prometheus version
in overlays:
self: super: {
prometheus_2 = (super.callPackage <nixpkgs/pkgs/servers/monitoring/prometheus> {}).generic {
version = "2.8.1";
sha256 = "0x8w0qdh4lcf19nmdlhvgzpy08c2a932d3k49cjwhi5npcsf858n";
doCheck = false;
};
}
Whenever we create scripts that are installed to $out, we must use runtimeShell
in order to get the shell that can be executed on the machine we create the
package for. This is relevant for cross-compiling. The only use case for
stdenv.shell are scripts that are executed as part of the build system.
Usages in checkPhase are borderline however to decrease the likelyhood
of people copying the wrong examples, I decided to use runtimeShell as well.
He prefers to contribute to his own nixpkgs fork triton.
Since he is still marked as maintainer in many packages
this leaves the wrong impression he still maintains those.
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/nagios/versions.
These checks were done:
- built on NixOS
- /nix/store/pgbqarrqn64rgx44qk9ijmw4z7lpira4-nagios-4.4.1/bin/nagios passed the binary check.
- /nix/store/pgbqarrqn64rgx44qk9ijmw4z7lpira4-nagios-4.4.1/bin/nagiostats passed the binary check.
- Warning: no invocation of /nix/store/pgbqarrqn64rgx44qk9ijmw4z7lpira4-nagios-4.4.1/bin/archivejson.cgi had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/pgbqarrqn64rgx44qk9ijmw4z7lpira4-nagios-4.4.1/bin/avail.cgi had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/pgbqarrqn64rgx44qk9ijmw4z7lpira4-nagios-4.4.1/bin/cmd.cgi had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/pgbqarrqn64rgx44qk9ijmw4z7lpira4-nagios-4.4.1/bin/config.cgi had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/pgbqarrqn64rgx44qk9ijmw4z7lpira4-nagios-4.4.1/bin/extinfo.cgi had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/pgbqarrqn64rgx44qk9ijmw4z7lpira4-nagios-4.4.1/bin/histogram.cgi had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/pgbqarrqn64rgx44qk9ijmw4z7lpira4-nagios-4.4.1/bin/history.cgi had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/pgbqarrqn64rgx44qk9ijmw4z7lpira4-nagios-4.4.1/bin/notifications.cgi had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/pgbqarrqn64rgx44qk9ijmw4z7lpira4-nagios-4.4.1/bin/objectjson.cgi had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/pgbqarrqn64rgx44qk9ijmw4z7lpira4-nagios-4.4.1/bin/outages.cgi had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/pgbqarrqn64rgx44qk9ijmw4z7lpira4-nagios-4.4.1/bin/showlog.cgi had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/pgbqarrqn64rgx44qk9ijmw4z7lpira4-nagios-4.4.1/bin/status.cgi had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/pgbqarrqn64rgx44qk9ijmw4z7lpira4-nagios-4.4.1/bin/statusjson.cgi had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/pgbqarrqn64rgx44qk9ijmw4z7lpira4-nagios-4.4.1/bin/statusmap.cgi had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/pgbqarrqn64rgx44qk9ijmw4z7lpira4-nagios-4.4.1/bin/statuswml.cgi had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/pgbqarrqn64rgx44qk9ijmw4z7lpira4-nagios-4.4.1/bin/statuswrl.cgi had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/pgbqarrqn64rgx44qk9ijmw4z7lpira4-nagios-4.4.1/bin/summary.cgi had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/pgbqarrqn64rgx44qk9ijmw4z7lpira4-nagios-4.4.1/bin/tac.cgi had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/pgbqarrqn64rgx44qk9ijmw4z7lpira4-nagios-4.4.1/bin/trends.cgi had a zero exit code or showed the expected version
- 2 of 21 passed binary check by having a zero exit code.
- 0 of 21 passed binary check by having the new version present in output.
- found 4.4.1 with grep in /nix/store/pgbqarrqn64rgx44qk9ijmw4z7lpira4-nagios-4.4.1
- directory tree listing: https://gist.github.com/f137b97a1d6cd8319299734685e0bae9
- du listing: https://gist.github.com/d14b3339adc574bb4d4ca3657a548883
* treewide: http -> https sources
This updates the source urls of all top-level packages from http to
https where possible.
* buildtorrent: fix url and tab -> spaces
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/nagios/versions.
These checks were done:
- built on NixOS
- /nix/store/z91fmra6ni1yq0dk5v109m06lw0yxf87-nagios-4.4.0/bin/nagios passed the binary check.
- /nix/store/z91fmra6ni1yq0dk5v109m06lw0yxf87-nagios-4.4.0/bin/nagiostats passed the binary check.
- Warning: no invocation of /nix/store/z91fmra6ni1yq0dk5v109m06lw0yxf87-nagios-4.4.0/bin/archivejson.cgi had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/z91fmra6ni1yq0dk5v109m06lw0yxf87-nagios-4.4.0/bin/avail.cgi had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/z91fmra6ni1yq0dk5v109m06lw0yxf87-nagios-4.4.0/bin/cmd.cgi had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/z91fmra6ni1yq0dk5v109m06lw0yxf87-nagios-4.4.0/bin/config.cgi had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/z91fmra6ni1yq0dk5v109m06lw0yxf87-nagios-4.4.0/bin/extinfo.cgi had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/z91fmra6ni1yq0dk5v109m06lw0yxf87-nagios-4.4.0/bin/histogram.cgi had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/z91fmra6ni1yq0dk5v109m06lw0yxf87-nagios-4.4.0/bin/history.cgi had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/z91fmra6ni1yq0dk5v109m06lw0yxf87-nagios-4.4.0/bin/notifications.cgi had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/z91fmra6ni1yq0dk5v109m06lw0yxf87-nagios-4.4.0/bin/objectjson.cgi had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/z91fmra6ni1yq0dk5v109m06lw0yxf87-nagios-4.4.0/bin/outages.cgi had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/z91fmra6ni1yq0dk5v109m06lw0yxf87-nagios-4.4.0/bin/showlog.cgi had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/z91fmra6ni1yq0dk5v109m06lw0yxf87-nagios-4.4.0/bin/status.cgi had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/z91fmra6ni1yq0dk5v109m06lw0yxf87-nagios-4.4.0/bin/statusjson.cgi had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/z91fmra6ni1yq0dk5v109m06lw0yxf87-nagios-4.4.0/bin/statusmap.cgi had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/z91fmra6ni1yq0dk5v109m06lw0yxf87-nagios-4.4.0/bin/statuswml.cgi had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/z91fmra6ni1yq0dk5v109m06lw0yxf87-nagios-4.4.0/bin/statuswrl.cgi had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/z91fmra6ni1yq0dk5v109m06lw0yxf87-nagios-4.4.0/bin/summary.cgi had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/z91fmra6ni1yq0dk5v109m06lw0yxf87-nagios-4.4.0/bin/tac.cgi had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/z91fmra6ni1yq0dk5v109m06lw0yxf87-nagios-4.4.0/bin/trends.cgi had a zero exit code or showed the expected version
- 2 of 21 passed binary check by having a zero exit code.
- 0 of 21 passed binary check by having the new version present in output.
- found 4.4.0 with grep in /nix/store/z91fmra6ni1yq0dk5v109m06lw0yxf87-nagios-4.4.0
- directory tree listing: https://gist.github.com/8dd6e454a51a3faf0756a68239207b0c
- du listing: https://gist.github.com/3a2aa37f2b390790b9578447b099cc88
toPath has confusing semantics and is never necessary; it can always
either just be omitted or replaced by pre-concatenating `/.`. It has
been marked as "!!! obsolete?" for more than 10 years in a C++
comment, hopefully removing it will let us properly deprecate and,
eventually, remove it.
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/munin/versions.
These checks were done:
- built on NixOS
- ran ‘/nix/store/af5ja0gxnyhdhg8qgfnfbvxdf7zl110c-munin-2.0.37/bin/.munin-check-wrapped -h’ got 0 exit code
- ran ‘/nix/store/af5ja0gxnyhdhg8qgfnfbvxdf7zl110c-munin-2.0.37/bin/.munin-check-wrapped --help’ got 0 exit code
- ran ‘/nix/store/af5ja0gxnyhdhg8qgfnfbvxdf7zl110c-munin-2.0.37/bin/.munin-check-wrapped help’ got 0 exit code
- ran ‘/nix/store/af5ja0gxnyhdhg8qgfnfbvxdf7zl110c-munin-2.0.37/bin/munin-check -h’ got 0 exit code
- ran ‘/nix/store/af5ja0gxnyhdhg8qgfnfbvxdf7zl110c-munin-2.0.37/bin/munin-check --help’ got 0 exit code
- ran ‘/nix/store/af5ja0gxnyhdhg8qgfnfbvxdf7zl110c-munin-2.0.37/bin/munin-check help’ got 0 exit code
- ran ‘/nix/store/af5ja0gxnyhdhg8qgfnfbvxdf7zl110c-munin-2.0.37/bin/.munin-cron-wrapped --help’ got 0 exit code
- ran ‘/nix/store/af5ja0gxnyhdhg8qgfnfbvxdf7zl110c-munin-2.0.37/bin/munin-cron --help’ got 0 exit code
- ran ‘/nix/store/af5ja0gxnyhdhg8qgfnfbvxdf7zl110c-munin-2.0.37/bin/munin-node-configure help’ got 0 exit code
- found 2.0.37 with grep in /nix/store/af5ja0gxnyhdhg8qgfnfbvxdf7zl110c-munin-2.0.37
- directory tree listing: https://gist.github.com/44aa9c5969938bba7e7a4e9710568ae9
Semi-automatic update. These checks were done:
- built on NixOS
- Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
- found 0.29.1 with grep in /nix/store/8zpvaz7imhsknld6d0qyykqw9b718lxi-cadvisor-0.29.1
- found 0.29.1 in filename of file in /nix/store/8zpvaz7imhsknld6d0qyykqw9b718lxi-cadvisor-0.29.1
Semi-automatic update. These checks were performed:
- built on NixOS
- ran `/nix/store/5pk3bc05rja1qsq11zlp7x4pz8j2wcin-riemann-0.3.0/bin/.riemann-wrapped -h` got 0 exit code
- ran `/nix/store/5pk3bc05rja1qsq11zlp7x4pz8j2wcin-riemann-0.3.0/bin/.riemann-wrapped -h` and found version 0.3.0
- ran `/nix/store/5pk3bc05rja1qsq11zlp7x4pz8j2wcin-riemann-0.3.0/bin/riemann -h` got 0 exit code
- ran `/nix/store/5pk3bc05rja1qsq11zlp7x4pz8j2wcin-riemann-0.3.0/bin/riemann -v` and found version 0.3.0
- ran `/nix/store/5pk3bc05rja1qsq11zlp7x4pz8j2wcin-riemann-0.3.0/bin/riemann -h` and found version 0.3.0
- found 0.3.0 with grep in /nix/store/5pk3bc05rja1qsq11zlp7x4pz8j2wcin-riemann-0.3.0
- found 0.3.0 in filename of file in /nix/store/5pk3bc05rja1qsq11zlp7x4pz8j2wcin-riemann-0.3.0
cc "@rickynils"
Semi-automatic update. These checks were performed:
- built on NixOS
- ran `/nix/store/h6fdhwd698dwp4v91x1hqsjymrhr230b-nagios-4.3.4/bin/nagios -V` and found version 4.3.4
- ran `/nix/store/h6fdhwd698dwp4v91x1hqsjymrhr230b-nagios-4.3.4/bin/nagios --version` and found version 4.3.4
- ran `/nix/store/h6fdhwd698dwp4v91x1hqsjymrhr230b-nagios-4.3.4/bin/nagiostats -V` and found version 4.3.4
- ran `/nix/store/h6fdhwd698dwp4v91x1hqsjymrhr230b-nagios-4.3.4/bin/nagiostats --version` and found version 4.3.4
- found 4.3.4 with grep in /nix/store/h6fdhwd698dwp4v91x1hqsjymrhr230b-nagios-4.3.4
- found 4.3.4 in filename of file in /nix/store/h6fdhwd698dwp4v91x1hqsjymrhr230b-nagios-4.3.4
cc "@thoughtpolice @relrod"
Semi-automatic update. These checks were performed:
- built on NixOS
- ran `/nix/store/zc5x872jh6g02y47rfa2giw7wjypnq12-kapacitor-1.4.0-bin/bin/kapacitord -h` got 0 exit code
- ran `/nix/store/zc5x872jh6g02y47rfa2giw7wjypnq12-kapacitor-1.4.0-bin/bin/kapacitord help` got 0 exit code
- ran `/nix/store/zc5x872jh6g02y47rfa2giw7wjypnq12-kapacitor-1.4.0-bin/bin/tickfmt help` got 0 exit code
- found 1.4.0 with grep in /nix/store/zc5x872jh6g02y47rfa2giw7wjypnq12-kapacitor-1.4.0-bin
- found 1.4.0 in filename of file in /nix/store/zc5x872jh6g02y47rfa2giw7wjypnq12-kapacitor-1.4.0-bin
cc "@offline @ehmry @lethalman"