Commit graph

176 commits

Author SHA1 Message Date
Victor LABORIE 6f5e13f8b8 Add evolix prefix to include_role 2019-11-29 14:00:25 +01: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
Ludovic Poujol 8413fa137c nagios-nrpe: Replace the dummy packages nagios-plugins-* with monitoring-plugins-* 2019-06-17 10:25:46 +02:00
Victor LABORIE e2ae37fa3d nagios-nrpe: check_load is now based on ansible_processor_vcpus 2019-06-05 11:09:52 +02:00
Victor LABORIE 360150d57b nagios-nrpe: fix redis_instances check when Redis port equal 0 2019-05-20 14:28:52 +02:00
Victor LABORIE 6c1991196a nagios-nrpe: change required status code for http and https check 2019-05-14 14:29:50 +02:00
Jérémy Lecour aa28e9c1b8 change repositories URL 2019-03-21 15:31:58 +01: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
Daniel Jakots e817dffc0f Ignore /sys/kernel/debug/tracing in check_disk1 2018-08-01 11:08:11 +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
Victor LABORIE 6d9fbe8689 nagios-nrpe: add check_postgrey 2018-06-14 13:50:06 +02:00
Victor LABORIE 17c8093711 nagios-nrpe: use bkctld check subcommand for NRPE check 2018-05-30 17:13:39 +02:00
Jérémy Lecour 61c268b395 nagios-nrpe: add check_minifirewall by default 2018-04-06 09:52: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
Victor LABORIE 4fd4e0d96d ldap|nagios-nrpe: use external file for NRPE credentials 2018-01-24 16:49:07 +01:00
Jérémy Lecour 3bbc1be977 nagios-nrpe: document new variable 2018-01-23 18:34:04 +01:00
Jérémy Lecour 6ed1f04c85 nagios-nrpe: allowed_hosts can be updated 2018-01-23 17:41:58 +01:00
Benoît S. 3ef353761f nagios-nrpe: Add --sni to check_https
Why? Because we want to use the right server name when checking.
And if you have a strict-sni enabled server you will have an error.
 CRITICAL - Cannot
make SSL connection.  139749570156288:error:14094458:SSL
routines:ssl3_read_bytes:tlsv1 unrecognized
name:../ssl/record/rec_layer_s3.c:1399:SSL alert number 112
2018-01-22 12:14:27 +01:00
Jérémy Lecour aeba94bcba default/additional variables
List of hosts/ip are a combination of 2 lists allowing overrides
2017-12-20 18:04:54 +01:00
Benoît S. 9328618d6d Add check_mysql_slave for nagios nrpe default config 2017-12-13 14:53:21 +01:00
Victor LABORIE 23325df316 nagios-nrpe: add bkctld check in evolix.cfg 2017-12-04 11:08:41 +01:00
Victor LABORIE a1898f7705 Revert "nagios-nrpe: use check_procs for clamd check"
This reverts commit 6588ee937f.
2017-11-30 18:11:03 +01:00
Victor LABORIE 6588ee937f nagios-nrpe: use check_procs for clamd check 2017-11-30 16:02:41 +01:00
Jérémy Lecour 8ef9554746 Combine evolix and additional trusted IP addresses 2017-11-15 23:57:58 +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 1c48df025c Move /usr rw remount into remount-usr role 2017-11-07 13:34:05 +01:00
Eric Morino 37c1325c1a nagios-nrpe: add opendkim check 2017-11-07 11:15:31 +01: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
Victor LABORIE f1349816ce nagios-nrpe: add check for imapproxy 2017-10-25 11:55:35 +02:00
Ludovic Poujol 745c45f88d Fix remount_usr_rw/yml 2017-10-11 17:58:18 +02:00
Jérémy Lecour 3f350e7955 nagios: don't overwrite the config file 2017-10-04 17:19:49 +02:00
Gregory Colpart 4a81d12d03 Delete OpenBSD stuff (mv to another repo), ansible-roles is now Linux-specific (even Debian-specific) 2017-08-29 03:09:57 +02:00
Gregory Colpart f0ced31efa review default vars 2017-08-18 15:18:33 +02:00
Romain Dessort f75601a7ce Fix permission on nrpe.d/evolix.cfg 2017-08-04 18:19:35 -04:00
Victor LABORIE af1045d788 nagios-nrpe: add check_clamav_db to defaults check 2017-07-19 17:20:44 +02: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
Jérémy Lecour 82d3ee7355 Merge branch 'fix-check-proxy' into unstable 2017-07-06 17:13:49 +02:00
Jérémy Lecour 50a792d6ba Use the _cat api
The "_cat" API is better for non-human consumers
2017-07-05 11:41:02 +02:00
Jérémy Lecour d3795150a7 Let's use a variable, with a default value (non-internal) 2017-07-05 11:38:47 +02:00
Jérémy Lecour 58f458c90d Don't check debian.org for check_proxy
debian.org is not reliable enough, let's use an internal ipv4-only domain
2017-07-05 11:33:29 +02:00
Jérémy Lecour 65f91f09b0 Disable warnings for mount commands related to /usr read-only 2017-06-12 15:11:40 +02:00
Gabriel Periard-Tremblay 87ebadcadd Kitchen: Change base image to evolix/ansible 2017-06-02 08:38:08 -04:00
Victor LABORIE e784c5dcb4 nagios-nrpe: add unbound check 2017-06-01 14:11:16 +02:00
Victor LABORIE e0f3248bca nagios-nrpe: add check_phpfpm_status.pl 2017-05-30 11:33:37 +02:00
Jérémy Lecour 32e25e0e46 nagios-nrpe: remount /usr if needed 2017-05-23 15:11:33 +02:00
Jérémy Lecour 033ebaa593 Add tests for many roles 2017-05-18 15:44:21 +02:00
Victor LABORIE 72fcd6ec45 nagios-nrpe: add check_haproxy command 2017-05-17 10:39:17 +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
Victor LABORIE 886c59adac nagios-nrpe: add memcached tcp check 2017-05-15 15:57:19 +02:00
Jérémy Lecour dcce22247a Add a Nagios plugin for FTP_LOGIN 2017-05-12 09:54:13 +02:00
Daniel Jakots 3462def934 fix path 2017-04-18 15:25:41 -04:00
Jérémy Lecour 6827be7f60 Nagios check_mysql : nagios home is more concrete 2017-04-06 09:30:56 +02:00
Jérémy Lecour 6bdbceba7b nagios:jinja variables must be quoted 2017-04-05 17:50:19 +02:00
Jérémy Lecour 80feac95f7 NRPE: change default plugins directory back to /usr/local/lib/nagiosplugins 2017-04-05 12:11:46 +02:00
Jérémy Lecour 7f4e90e494 NRPE: mysql credentials loaded from file 2017-04-05 12:10:56 +02:00
Jérémy Lecour 095477d8f4 nagios-nrpe: quote octal permisisons 2017-04-05 10:35:55 +02:00
Jérémy Lecour 5b2ab0d8d3 Ansible >= 2.2 supported 2017-03-24 14:15:09 +01: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 61f5219f48 Improve documentation
Each role has a README and a meta/main.yml file
2017-01-05 18:22:06 +01:00
Jérémy Lecour 5a4f838375 Unix mode MUST be a quoted string when using octal notation 2017-01-05 12:03:54 +01:00
Jérémy Lecour 66f5ae27c9 Store Nagios custom plugins in /etc by default 2016-12-23 20:05:56 +01:00
Jérémy Lecour 0cfcd31946 nagios-nrpe: TODO deal with read-only /usr 2016-12-23 16:24:56 +01:00
Jérémy Lecour c0ab8f99ce Squash: conventions, evolinux, etc-git… 2016-12-21 16:12:30 +01:00