Hello,
I am sending a passive check using the send_nrdp script, but when I enter a state different than 0 the status of the alarm on nagios does not change.
In this example below I changed the state from 0 to 2. (Note I have changed token and IP to difference ones for security reasons)
/home/nagiosscripts/send_nrdp.sh -u http://172.10.10.8/nrdp/ -t df264tyhjdI34 -H "SBC1" -s "Eth3" -S=2 -o "Ethernet 3 is Down"
and still the status of my alarm is "OK" Any idea why?
Thanks
Passive checks NRDP
Re: Passive checks NRDP
Your syntax is not correct. Try:
Note: Remove "=" from "-S=2".
Code: Select all
/home/nagiosscripts/send_nrdp.sh -u http://172.10.10.8/nrdp/ -t df264tyhjdI34 -H "SBC1" -s "Eth3" -S 2 -o "Ethernet 3 is Down"Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Passive checks NRDP
I used that yesterday for the state 0 did not work. this morning oddly it works
Thank you
Thank you
Re: Passive checks NRDP
Hello,
Yes please. Thank you.
Best Regards,
Peter
Yes please. Thank you.
Best Regards,
Peter