Commit graph

43 commits

Author SHA1 Message Date
Jérémy Lecour 0fce412cf5 add WIP warning to check_async 2022-01-25 14:56:39 +01:00
Ludovic Poujol c8a862c5e7 nagios-nrpe: Amélioration du check phpfpm_status et phpfpm_multi
Some checks reported errors
continuous-integration/drone/push Build was killed
Pour phpfpm_status > Ajout de la possibilité d'avoir un seuil de max procs actifs
Pour phpfpm_multi > Utilisation des seuils max (calculé sur le pm.max_children) + timeout
2022-01-14 17:06:48 +01:00
Mathieu Trossevin d3eef71127
nagios-nrpe: Fix check_nfsserver for buster and bullseye
Some checks failed
continuous-integration/drone/pr Build is failing
From buster onward the nfs server doesn't run NFSv4 over UDP (it is out
of spec, see RFC 7530). As such the check broke as it attempt to check
the availability of NFSv4 over UDP.

Right now the check doesn't check for NFSv2 over UDP as it would need to
check if it exist first, as on bullseye it isn't supported by default
anymore.
2021-11-24 11:11:39 +01:00
Jérémy Lecour 1706361e8d evocheck: upstream release 21.10.2 2021-10-22 13:43:43 +02:00
Ludovic Poujol ddd3e1aa06 nagios-nrpe: new script check_phpfpm_multi
All checks were successful
continuous-integration/drone/push Build is passing
2021-02-17 17:23:11 +01:00
Ludovic Poujol b0cb14eb5b * nagios-nrpe: update check_phpfpm_status.pl & install perl dependencies
All checks were successful
continuous-integration/drone/push Build is passing
2021-02-12 15:22:57 +01:00
Jérémy Lecour d457b25c4b Merge remote-tracking branch 'origin/nagios-nrpe-amavis-update' into unstable 2020-08-19 14:52:04 +02:00
Benoît S. de908ae5bd nagios-nrpe: check_amavis: Update regex
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
I just installed a Debian Stretch with a pack mail and the check_amavis
was not checking the right regex.

Amavis is returning:
2.7.0 Ok, discarded, id=17556-09 - INFECTED: Eicar-Signature
So the regex should be:
-if ($result =~/2.7.0 Ok, discarded, id=[^,]+ - INFECTED: Eicar-Test-Signature/) {
+if ($result =~/2.7.0 Ok, discarded, id=\S+ - INFECTED: Eicar-Signature/) {
2020-06-17 12:20:33 +09:00
Benoît S. 241f50d27e nagios-nrpe: check_hpraid: Update known working RAID controllers 2020-06-16 12:34:48 +09:00
Benoît S. 09e17ffe6c nagios-nrpe: check_hpraid: Use printf for return lines
All checks were successful
continuous-integration/drone/push Build is passing
2020-06-16 11:16:44 +09:00
Benoît S. b47d2b872c nagios-nrpe: check_hpraid: Fixed wrong grep in EXCLUDE_BATTERY
All checks were successful
continuous-integration/drone/push Build is passing
2020-06-16 10:57:18 +09:00
Benoît S. d49da6954a nagios-nrpe: check_hpraid: Fix wrong command name in examples
All checks were successful
continuous-integration/drone/push Build is passing
2020-06-16 10:53:00 +09:00
Benoît S. 6126be95e3 nagios-nrpe: check_hpraid: Be sure that variables are bound
All checks were successful
continuous-integration/drone/push Build is passing
2020-06-16 10:36:24 +09:00
Benoît S. 314cd2c1de nagios-nrpe: Added hpsa support to check_hpraid
All checks were successful
continuous-integration/drone/push Build is passing
Also handle empty slots.
2020-05-29 09:43:15 +09:00
Benoît S. f35cbdbe30 nagios-nrpe: shellchecked check_hp
All checks were successful
continuous-integration/drone/push Build is passing
Also refactored the checking part and outputing.
2020-05-28 16:35:11 +09:00
Benoît S. 0307c0b066 nagios-nrpe: Adding licence GPLv2 to check_hpraid
Also describe what has been removed/changed from the original source.
2020-05-28 15:33:00 +09:00
Benoît S. 073f2b5b09 nqgios-nrpe: Add check_hpraid
All checks were successful
continuous-integration/drone/push Build is passing
2020-05-28 13:01:50 +09:00
Jérémy Lecour 26dd244ae0 nagios-nrpe: update check_redis_instances
All checks were successful
continuous-integration/drone/push Build is passing
2019-11-13 09:47:23 +01:00
Eric Morino dc162ec67f Add check_mysql_health
All checks were successful
continuous-integration/drone/push Build is passing
2019-11-08 13:47:34 +01:00
Jérémy Dubois 08a98e0bd5 Added a new nagios-nrpe plugin: check_vrrpd
All checks were successful
continuous-integration/drone/push Build is passing
2019-10-29 14:40:43 +01:00
Victor LABORIE 360150d57b nagios-nrpe: fix redis_instances check when Redis port equal 0 2019-05-20 14:28:52 +02:00
Ludovic Poujol f46f5ccbde nagios-nrpe: check_process now return the error code (making the check more usefull than /bin/true) 2018-12-12 14:58:12 +01:00
Victor LABORIE 357914b44e amavis: fix output result checking 2018-10-11 17:18:03 +02:00
Victor LABORIE 8cd689f9b4 haproxy: move check_haproxy_stats to nagios-nrpe role 2018-09-28 15:21:42 +02:00
Victor LABORIE 5f4601f611 nagios-nrpe: add check_redis_instances 2018-09-20 10:21:49 +02:00
Benoît S. 961d9da5e5 Backport fix from Daniel Jakots
Original commit:

The code was taken from check_http_many which apparently deals only with return
codes 0, 1 and 2. Here, we uses check_nrpe which iff it can't connect, it
returns 255
(40717e320c).

So I decided that if the return code is greater or equal to 2, then we consider
it's critical. I can't see any return code greater than 2 which may not be
critical.
2018-07-10 11:32:18 +02:00
Daniel Jakots 3d35f7f763 Remove unused files since 4a81d12 2018-03-28 09:52:38 -04:00
Daniel Jakots 44de2b84ec Add script to exclude a time slot from monitoring 2018-03-28 09:50:41 -04:00
Benoît S. 9bf70a57f4 Set +x on theses executables plugins 2018-02-19 14:18:58 +01:00
Benoît S. 90a517af2d Added a new nagios-nrpe plugin: check_open_files 2018-02-19 14:17:53 +01:00
Daniel Jakots 019ce03e3a Fix for OpenBSD 6.2
758d4ba9a7 (diff-d3ca8881345ccaf84b784637f5244eac)
changes the way vmstat prints free memory
2017-11-08 11:45:00 -05:00
Victor LABORIE 42c4a20b1f nagios-nrpe: fix expected return message of test mail 2017-11-06 18:42:05 +01:00
Victor LABORIE 33f85b565c nagios-nrpe: add date to check_amavis test mail 2017-11-06 18:32:56 +01:00
Jérémy Lecour 2aff6b94c6 Merge branch 'check_http_many-fix-custom-values' into unstable 2017-07-18 12:03:49 +02:00
Benoît S. d2f0996445 Remove custom values.
Someone has copied this script from a production server with custom values.
2017-07-18 10:45:07 +02:00
Benoît S. 7d87a53a2f Fix #1836. We add -e 200 to nagios's check_http. 2017-07-18 10:42:26 +02:00
Victor LABORIE e0f3248bca nagios-nrpe: add check_phpfpm_status.pl 2017-05-30 11:33:37 +02:00
Victor LABORIE 01bb987fb3 nagios-nrpe: add varnish check and tags 2017-05-17 10:32:48 +02:00
Jérémy Lecour 8c9beefd18 check_ftp_login.pl needs libmonitoring-plugin-perl 2017-05-16 09:49:37 +02:00
Jérémy Lecour dcce22247a Add a Nagios plugin for FTP_LOGIN 2017-05-12 09:54:13 +02:00
Tristan PILAT b4d80d7f83 Make nrpe pfstates check consistent using pfctl 2017-03-13 17:03:14 +01:00
Tristan PILAT 6cb57f1f5a Make nrpe role suitable for OpenBSD 2017-02-27 14:05:32 +01:00
Jérémy Lecour c0ab8f99ce Squash: conventions, evolinux, etc-git… 2016-12-21 16:12:30 +01:00