add check_needrestart
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/check_postfix_mailqueue -w {{ nrpe_mailq_warning }} -c {{ nrpe_mailq_critical }}
|
||||
nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/check_exim_mailqueue -w {{ nrpe_mailq_warning }} -c {{ nrpe_mailq_critical }}
|
||||
nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/check_raid
|
||||
nagios ALL=(ALL) NOPASSWD: /usr/sbin/needrestart -b -l
|
||||
|
||||
Reference in New Issue
Block a user