From bec868009cbacf57209effe3cc389dde42b0b385 Mon Sep 17 00:00:00 2001 From: William Hirigoyen Date: Tue, 27 Feb 2024 10:33:49 +0100 Subject: [PATCH] nagios: add option --full to check pressure IO and mem to avoid flaps --- CHANGELOG.md | 1 + nagios-nrpe/templates/evolix.cfg.j2 | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b8c50622..ac25f844 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -79,6 +79,7 @@ The **patch** part changes is incremented if multiple releases happen the same m * nagios: add dockerd check in nrpe check template * nagios: cleaning nrpe check template * nagios: rename var `nagios_nrpe_process_processes` into `nagios_nrpe_processes` and check systemd-timesyncd instead of ntpd in Debian 12 +* nagios: add option --full to check pressure IO and mem to avoid flaps * proftpd: in SFTP vhost, enable SSH keys login, enable ed25549 host key for Debian >= 11 * redis: manage config template inside a block, to allow custom modifications outside * spamassassin: Use spamd starting with Bookworm diff --git a/nagios-nrpe/templates/evolix.cfg.j2 b/nagios-nrpe/templates/evolix.cfg.j2 index 1f39bcff..d725bb3b 100644 --- a/nagios-nrpe/templates/evolix.cfg.j2 +++ b/nagios-nrpe/templates/evolix.cfg.j2 @@ -91,8 +91,8 @@ command[check_php-fpm83]=sudo {{ nagios_plugins_directory }}/check_phpfpm_multi command[check_dhcp_pool]={{ nagios_plugins_directory }}/check_dhcp_pool command[check_ssl_local]={{ nagios_plugins_directory }}/check_ssl_local command[check_pressure_cpu]=/usr/lib/nagios/plugins/check_pressure --cpu -w 100000 -c 500000 -command[check_pressure_mem]=/usr/lib/nagios/plugins/check_pressure --mem -w 100000 -c 500000 -command[check_pressure_io]=/usr/lib/nagios/plugins/check_pressure --io -w 100000 -c 500000 +command[check_pressure_mem]=/usr/lib/nagios/plugins/check_pressure --mem --full -w 100000 -c 500000 +command[check_pressure_io]=/usr/lib/nagios/plugins/check_pressure --io --full -w 100000 -c 500000 # Check HTTP "many". Use this to check many websites (http, https, ports, sockets and SSL certificates). # Beware! All checks must not take more than 10s!