I've defined some passive checks to test my monitoring system and i use the default send_nrdp.php from the client side of nrdp.
The point is that when i submit a passive check result from the web interface, it works! but when i send the checks from the remote host using the following command doesn't work.
Code: Select all
./send_nrdp.php --url=http://myipaddress/nrdp --token=mycustomtoken --host=remote_host --service=PassiveCheck01 --status=0 --output="Everything works well"
Also, the
Code: Select all
/usr/local/nagios/var/spool/checkresults
Does anyone know why is this happening?
I'm thinking about trying another way to send the remote check result, but i still have to look for an alternative.
Thanks in advance.
rcuart.