Configure check_dhcpd

This commit is contained in:
Jérémy Dubois 2019-04-19 15:21:08 +02:00
parent abbb5b24f7
commit 0f1b209370
2 changed files with 2 additions and 1 deletions

View file

@ -21,6 +21,7 @@
_nrpe ALL=(root) NOPASSWD: /usr/local/libexec/nagios/plugins/check_ipsecctl.sh
_nrpe ALL=(root) NOPASSWD: /usr/local/libexec/nagios/check_mailq
_nrpe ALL=(root) NOPASSWD: /usr/local/libexec/nagios/plugins/check_ospfd_simple
_nrpe ALL=(root) NOPASSWD: /usr/local/libexec/nagios/check_dhcp
validate: 'visudo -cf %s'
backup: no
tags:

View file

@ -30,7 +30,7 @@ command[check_openvpn]=/usr/local/libexec/nagios/plugins/check_openvpn
command[check_pf_states]=doas /usr/local/libexec/nagios/plugins/check_pf_states
command[check_carp1]=/usr/local/libexec/nagios/plugins/check_carp_if carp0 master
command[check_mem]=/usr/local/libexec/nagios/plugins/check_free_mem.sh -w 20 -c 10
command[check_dhcpclient]=/usr/local/libexec/nagios/check_dhcp -i INTERFACE
command[check_dhcpd]=sudo /usr/local/libexec/nagios/check_dhcp -i INTERFACE -s IP -u
command[check_smb]=/usr/local/libexec/nagios/check_tcp -H IPLOCALE -p 445
#command[check_ospfd]=doas /usr/local/libexec/nagios/plugins/check_ospfd
#command[check_ospf6d]=doas /usr/local/libexec/nagios/plugins/check_ospf6d