Configure check_dhcpd
This commit is contained in:
parent
abbb5b24f7
commit
0f1b209370
|
@ -21,6 +21,7 @@
|
||||||
_nrpe ALL=(root) NOPASSWD: /usr/local/libexec/nagios/plugins/check_ipsecctl.sh
|
_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/check_mailq
|
||||||
_nrpe ALL=(root) NOPASSWD: /usr/local/libexec/nagios/plugins/check_ospfd_simple
|
_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'
|
validate: 'visudo -cf %s'
|
||||||
backup: no
|
backup: no
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -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_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_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_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_smb]=/usr/local/libexec/nagios/check_tcp -H IPLOCALE -p 445
|
||||||
#command[check_ospfd]=doas /usr/local/libexec/nagios/plugins/check_ospfd
|
#command[check_ospfd]=doas /usr/local/libexec/nagios/plugins/check_ospfd
|
||||||
#command[check_ospf6d]=doas /usr/local/libexec/nagios/plugins/check_ospf6d
|
#command[check_ospf6d]=doas /usr/local/libexec/nagios/plugins/check_ospf6d
|
||||||
|
|
Loading…
Reference in a new issue