I'm trying to monitor a Bind service and i'm using the script check_bind9.pl
https://raw.githubusercontent.com/thorf ... k_bind9.pl
The script works fine by running it directly from the remote server and giving me the below output:
Code: Select all
BIND9 OK ; PID 2726 ; Running: 0/1900/2000 UDP, 0/100 TCP, 0 xfers; 0 deferred xfers; 94 zones ; | success=11516c referral=0c nxrrset=642c nxdomain=10207c recursion=0c failure=1c duplicate=0c dropped=0c cpus=2 workers=2 zones=94 debug=0;1 xfers_running=0 xfers_deferred=0 soa_running=0 udp_running=0;1900;2000 udp_soft_limit=1900 udp_hard_limit=2000 tcp_running=0;;100 tcp_hard_limit=100
example :
./check_nrpe -H my_bind_server_ip -c check_bind
Code: Select all
BIND9 Failed to find status data in: 'rndc status'. ; PID 2726 ; Running: 0/0/0 UDP, 0/0 TCP, 0 xfers; 0 deferred xfers; 0 zones ; | success=7807c referral=0c nxrrset=398c nxdomain=7133c recursion=0c failure=1c duplicate=0c dropped=0c cpus=0 workers=0 zones=0 debug=0;1 xfers_running=0 xfers_deferred=0 soa_running=0 udp_running=0 udp_soft_limit=0 udp_hard_limit=0 tcp_running=0 tcp_hard_limit=0
what could be the problem ?