Commit Graph

60 Commits

Author SHA1 Message Date
Symphorien Gibol
8aab788d4a check_systemd: 2.2.1 -> 2.3.1 2021-04-24 11:30:02 +02:00
Ben Siraphob
127733211e
treewide: unzip buildInputs to nativeBuildInputs (#112302) 2021-02-20 16:01:53 -05:00
Ben Siraphob
872973d7d1 pkgs/servers: stdenv.lib -> lib 2021-01-15 14:24:03 +07:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Symphorien Gibol
590aa37109 check_systemd: init at 2.2.1
and remove pynagsystemd, which it replaces.
2020-11-25 22:48:39 +01:00
Ismaël Bouya
213623e291
nagios: fix build
The compiler complains about dl* function missing, this commit adds the
necessary flag to pass to gcc to make it build correctly
2020-09-10 15:37:13 +02:00
R. RyanTM
111553b01e nagios: 4.4.5 -> 4.4.6 2020-05-06 11:17:59 -07:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Symphorien Gibol
b40fc3a56b pynagsystemd: init at 1.2.0
Co-Authored-By: Jon <jonringer@users.noreply.github.com>
2020-01-03 15:48:42 -08:00
Jonathan Ringer
d72c4791bc Merge remote-tracking branch 'origin' into staging-next 2019-12-30 14:36:16 -08:00
Symphorien Gibol
cb38bf33e7 nagios: add nixos test 2019-12-30 16:41:18 +01:00
symphorien+git@xlumurb.eu
be25e45fc8 nagios: various improvements
* 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>
2019-12-30 16:40:52 +01:00
Merijn Broeren
133103d709
treewide: replace make/build/configure/patchFlags with nix lists 2019-12-30 12:58:11 +01:00
R. RyanTM
b93dd3d2c5 nagios: 4.4.4 -> 4.4.5
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
2019-09-27 14:32:40 -07:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
R. RyanTM
40934322f8 nagios: 4.4.3 -> 4.4.4
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
2019-08-04 18:05:41 -07:00
R. RyanTM
6802d1e3a5 nagios: 4.4.2 -> 4.4.3
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
2019-02-03 08:54:29 +00:00
Jörg Thalheim
532c8f954c
check_ssl_cert: update non-determinism patch 2019-01-13 06:12:50 +00:00
Franz Pletz
6ac4267ef3
checkSSLCert: 1.79.0 -> 1.80.0, fix build (date impurity) 2019-01-11 04:00:58 +01:00
R. RyanTM
964342e231 checkSSLCert: 1.78.0 -> 1.79.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/check_ssl_cert/versions
2018-12-26 11:22:36 +01:00
R. RyanTM
97c1e3069b checkSSLCert: 1.76.0 -> 1.78.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/check_ssl_cert/versions
2018-11-19 17:52:18 -08:00
R. RyanTM
e9081d9329 checkSSLCert: 1.73.0 -> 1.76.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/check_ssl_cert/versions
2018-11-09 23:59:12 -08:00
R. RyanTM
af910b2ffa checkSSLCert: 1.72.0 -> 1.73.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/check_ssl_cert/versions
2018-10-03 21:30:58 -07:00
R. RyanTM
6557bcde9f checkSSLCert: 1.64.0 -> 1.72.0 (#46290)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/check_ssl_cert/versions
2018-09-18 18:05:19 +02:00
R. RyanTM
96ae011720 nagios: 4.4.1 -> 4.4.2 (#45558)
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.
2018-08-28 13:53:51 +02:00
R. RyanTM
1d5d31a927 nagios: 4.4.0 -> 4.4.1
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
2018-07-03 21:34:47 -07:00
R. RyanTM
66ae89bf95 nagios: 4.3.4 -> 4.4.0
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
2018-06-23 19:58:16 -07:00
Ryan Mulligan
0a931ed0c4 checkSSLCert: 1.51.0 -> 1.64.0
Semi-automatic update generated by https://github.com/ryantm/nix-update tools.

This update was made based on information from https://repology.org/metapackage/check_ssl_cert/versions.

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 1.64.0 with grep in /nix/store/yiphzx29lcf6zx02g4bh1p80pappzw6f-check_ssl_cert-1.64.0
- directory tree listing: https://gist.github.com/37591ae2c040336904beb8059082afdc
2018-03-30 10:18:53 +01:00
Ryan Mulligan
429e8c3835 nagios: 4.2.4 -> 4.3.4
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"
2018-02-27 07:55:58 -08:00
Samuel Dionne-Riel
7b97c8c0c8 treewide: homepage+src updates (found by repology, #33263) 2018-01-05 20:42:46 +01:00
Peter Hoeg
bd7bf67927 Merge pull request #28025 from peterhoeg/p/checks
Shared monitoring plugins
2017-08-17 19:56:56 +08:00
Peter Hoeg
f49aa90297 monitoring-plugins: rename from nagiosPluginsOfficial
The upstream project has renamed itself.

We now stick this into a folder where we can keep other shared monitoring plugins.
2017-08-17 15:02:41 +08:00
Marius Metzger
fd6e51d550
check_ssl_cert: init at 1.51.0 (#28069) 2017-08-09 13:17:42 +02:00
Robin Gloster
cbca75b8c9 Revert "check_ssl_cert: init at 1.51.0 (#28069)"
This reverts commit 1db52734ad.
2017-08-09 12:51:25 +02:00
Marius Metzger
1db52734ad check_ssl_cert: init at 1.51.0 (#28069) 2017-08-09 12:41:15 +02:00
Jörg Thalheim
fd78ff23f7
replace ping6 with ping
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.
2017-02-17 16:04:49 +01:00
Parnell Springmeyer
4aa0923009
Getting rid of the var indirection and using a bin path instead 2017-01-29 04:11:01 -06:00
Parnell Springmeyer
e92b8402b0
Addressing PR feedback 2017-01-28 20:48:03 -08:00
Parnell Springmeyer
a26a796d5c
Merging against master - updating smokingpig, rebase was going to be messy 2017-01-26 02:00:04 -08:00
Parnell Springmeyer
bae00e8aa8
setcap-wrapper: Merging with upstream master and resolving conflicts 2017-01-25 11:08:05 -08:00
Tim Digel
016bec0e5e nagiosPluginsOfficial: 2.1.4 -> 2.2.0 2017-01-23 08:56:30 +01:00
Tim Digel
cfe4196696 nagiosPluginsOfficial: configure with ssl 2017-01-23 08:56:30 +01:00
Graham Christensen
2f17c3628e
nagios: 4.2.3 -> 4.2.4 for CVE-2016-9566 2016-12-21 14:37:46 -05:00
Lancelot SIX
c77011c6de
nagiosPluginsOfficial: 2.0.3 -> 2.1.4
See https://github.com/nagios-plugins/nagios-plugins/blob/master/NEWS
for release history
2016-11-28 09:58:29 +01:00
Lancelot SIX
5b6d52b4fb
nagios: 4.0.8 -> 4.2.3
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.
2016-11-28 09:55:17 +01:00
Parnell Springmeyer
98c058a1ee Adapting everything for the merged permissions wrappers work. 2016-09-01 19:21:06 -05:00
Austin Seipp
a8b59789d0 nagios-plugins: 2.0 -> 2.0.3
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2014-08-20 01:59:02 -05:00
Austin Seipp
53adb67395 nagios: 4.0.7 -> 4.0.8
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2014-08-20 01:58:50 -05:00
Austin Seipp
6cfa38ce7d nagios: significant upgrades
- Upgrade Nagios Core to 4.x
 - Expose mainConfigFile and cgiConfigFile in module for finer
   configuration control.
 - Upgrade Plugins to 2.x
 - Remove default objectDefs, which users probably want to customize.
 - Systemd-ify Nagios module and simplify directory structure
 - Upgrade Nagios package with more modern patch, and ensure the
   statedir is set to /var/lib/nagios

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2014-06-22 00:22:10 -05:00
Evgeny Egorochkin
9b538a96f1 nagios-plugins: change source location and homepage since the original site has been hijacked. https://bugzilla.redhat.com/show_bug.cgi?id=1054340 2014-01-22 08:42:35 +02:00