Fix check_dhcpd
/usr/local/libexec/nagios/check_dhcp does not work on server itself Using back /usr/local/libexec/nagios/check_procs -c1: -C dhcpd And removing doas configuration
This commit is contained in:
parent
82137026db
commit
1abf0f636c
2 changed files with 1 additions and 2 deletions
|
@ -6,7 +6,6 @@ permit nopass _collectd as root cmd /bin/cat
|
|||
permit nopass _collectd as root cmd /usr/sbin/bgpctl
|
||||
permit nopass _nrpe as root cmd /sbin/bioctl args sd2
|
||||
permit nopass _nrpe as root cmd /usr/local/libexec/nagios/check_mailq
|
||||
permit nopass _nrpe as root cmd /usr/local/libexec/nagios/check_dhcp
|
||||
permit nopass _nrpe as root cmd /usr/local/libexec/nagios/plugins/check_ipsecctl.sh
|
||||
permit nopass _nrpe as root cmd /usr/local/libexec/nagios/plugins/check_ospfd_simple
|
||||
permit nopass _nrpe as root cmd /usr/local/libexec/nagios/plugins/check_ospfd
|
||||
|
|
|
@ -32,7 +32,7 @@ command[check_unbound]=/usr/local/libexec/nagios/check_dig -l evolix.net -H loca
|
|||
#command[check_smb]=/usr/local/libexec/nagios/check_tcp -H IPLOCALE -p 445
|
||||
command[check_mysql]=/usr/local/libexec/nagios/check_mysql -H 127.0.0.1 -f /etc/nrpe.d/.my.cnf
|
||||
#command[check_vpn]=/usr/local/libexec/nagios/check_ping -H IPDISTANTE -p 1 -w 5000,100% -c 5000,100%
|
||||
#command[check_dhcpd]=doas /usr/local/libexec/nagios/check_dhcp -i INTERFACE -s IP -u
|
||||
command[check_dhcpd]=/usr/local/libexec/nagios/check_procs -c1: -C dhcpd
|
||||
|
||||
# Local checks (not packaged)
|
||||
#command[check_openvpn]=/usr/local/libexec/nagios/plugins/check_openvpn.pl -H 127.0.0.1 -p 1195 -P PASSWORD
|
||||
|
|
Loading…
Reference in a new issue