NRDP Syntax Error when using check_ping
Posted: Thu Apr 28, 2016 2:51 pm
Hi there,
I can't put my finger on this one. Been using NRDP for remote clients for a while now and haven't had an issue...
Client is installed on the remote device. NRDS config as follows:
When I try to manually run the checks from the remote device:
However, I can run this just fine:
Latest Nagios XI 5.2.7, Centos6 fully updated.
I can't put my finger on this one. Been using NRDP for remote clients for a while now and haven't had an issue...
Client is installed on the remote device. NRDS config as follows:
Code: Select all
command[__HOST__]=/usr/local/nagios/libexec/check_ping -H localhost -w 200.0,40% -c 400.0,80% -p 1
command[HP PROCURVE 2510G-48 1]=/usr/lib/nagios/plugins/check_ping -H 10.0.10.42 -w 200.0,40% -c 400.0,80% -p 5
command[HP PROCURVE 2510G-48 2]=/usr/lib/nagios/plugins/check_ping -H 10.0.10.43 -w 200.0,40% -c 400.0,80% -p 5
command[HP PROCURVE 2510G-48 3]=/usr/lib/nagios/plugins/check_ping -H 10.0.10.51 -w 200.0,40% -c 400.0,80% -p 5
command[HP PROCURVE 2510G-48 4]=/usr/lib/nagios/plugins/check_ping -H 10.0.10.52 -w 200.0,40% -c 400.0,80% -p 5
command[HP PROCURVE 2510G-48 5]=/usr/lib/nagios/plugins/check_ping -H 10.0.10.53 -w 200.0,40% -c 400.0,80% -p 5
command[HP PROCURVE 2510G-48 6]=/usr/lib/nagios/plugins/check_ping -H 10.0.10.54 -w 200.0,40% -c 400.0,80% -p 5
command[HP PROCURVE 2510G-48 7]=/usr/lib/nagios/plugins/check_ping -H 10.0.10.55 -w 200.0,40% -c 400.0,80% -p 5
command[HP PROCURVE 2510G-48 8]=/usr/lib/nagios/plugins/check_ping -H 10.0.10.56 -w 200.0,40% -c 400.0,80% -p 5
command[HP PROCURVE 2510G-48 9]=/usr/lib/nagios/plugins/check_ping -H 10.0.10.57 -w 200.0,40% -c 400.0,80% -p 5
command[HP PROCURVE 2510G-48 10]=/usr/lib/nagios/plugins/check_ping -H 10.0.10.59 -w 200.0,40% -c 400.0,80% -p 5
command[HP PROCURVE E3800-48G 11]=/usr/lib/nagios/plugins/check_ping -H 10.0.10.61 -w 200.0,40% -c 400.0,80% -p 5
command[HP PROCURVE E3800-48G 12]=/usr/lib/nagios/plugins/check_ping -H 10.0.10.61 -w 200.0,40% -c 400.0,80% -p 5
command[WATCHGUARD FIREBOX M200 ]=/usr/lib/nagios/plugins/check_ping -H 10.0.10.1 -w 200.0,40% -c 400.0,80% -p 5
command[BARRACUDA WEB FILTER 410 ]=/usr/lib/nagios/plugins/check_ping -H 10.0.10.39 -w 200.0,40% -c 400.0,80% -p 5
Code: Select all
root@raspberrypi:/home/pi# /usr/local/nrdp/clients/nrds/nrds.pl -H 'CK Childrens Services Pi' 2>&1
/usr/local/nagios/libexec/check_ping: 1: /usr/local/nagios/libexec/check_ping: Syntax error: word unexpected (expecting ")")
ERROR: STDIN must be either 3 or 4 fields long, I found 2
Sent 14 checks to http://nagios.mydomain.com/nrdp/
Code: Select all
root@raspberrypi:/home/pi# /usr/lib/nagios/plugins/check_ping -H 10.0.10.42 -w 200.0,40% -c 400.0,80% -p 5
PING OK - Packet loss = 0%, RTA = 1.63 ms|rta=1.629000ms;200.000000;400.000000;0.000000 pl=0%;40;80;0