* structured config for main config file allows to launch nagios in
debug mode without having to write the whole config file by hand
* build time syntax check
* all options have types, one more example
* I find it misleading that the main nagios config file is linked in
/etc but that if you change the link in /etc/ and restart nagios, it
has no effect. Have nagios use /etc/nagios.cfg
* fix paths in example nagios config files, which allows to reuse it:
services.nagios.objectDefs =
(map (x: "${pkgs.nagios}/etc/objects/${x}.cfg")
[ "templates" "timeperiods" "commands" ]) ++ [ ./main.cfg ]
* for the above reason, add mailutils to default plugins
Co-Authored-By: Aaron Andersen <aaron@fosslib.net>
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
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
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"