add check_needrestart

This commit is contained in:
Ludovic Cartier
2025-09-30 14:52:20 +02:00
parent 59aeb52914
commit 0fc907e562
3 changed files with 47 additions and 0 deletions

View File

@@ -16,6 +16,7 @@ command[check_eth]=/usr/lib/nagios/plugins/check_eth -i {{ ansible_default_ipv4.
command[check_proc_fail2ban]=/usr/lib/nagios/plugins/check_procs -a fail2ban -w 1: -c 1:
command[check_proc_age]=/usr/lib/nagios/plugins/check_proc_age -p <proc> -w 400 -c 600
command[check_systemd_failed]=/usr/lib/nagios/plugins/check_systemd_failed
command[check_needrestart]=/usr/lib/nagios/plugins/check_needrestart
# check_disk_usage
# -w <%>: Warning threshold for block usage.