* 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"
reason: after the upgrade of iputils from 20151218 to 20161105
functionality of ping6 and tracepath6 was merged into ping and tracepath.
Ping is now mostly a drop-in replacment for ping6, except that selecting a
specific interface is done by encoding it into the address (ex.: fe80::1%eth0)
rather then specifing it with the `-I` flag.
This update includes many security related fixes.
Version 4.2.0 fixes:
- CVE-2008-4796
- CVE-2013-4214
Version 4.2.2 fixes:
- CVE-2016-9565
Version 4.2.3 fixes:
- CVE-2016-8641
See https://www.nagios.org/projects/nagios-core/history/4x/ for full
detail changes.