Passive checks NRDP

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
peter19x
Posts: 119
Joined: Tue Dec 08, 2015 10:16 am

Passive checks NRDP

Post by peter19x »

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
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Passive checks NRDP

Post by lmiltchev »

Your syntax is not correct. Try:

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"
Note: Remove "=" from "-S=2".
Be sure to check out our Knowledgebase for helpful articles and solutions!
peter19x
Posts: 119
Joined: Tue Dec 08, 2015 10:16 am

Re: Passive checks NRDP

Post by peter19x »

I used that yesterday for the state 0 did not work. this morning oddly it works :)

Thank you
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Passive checks NRDP

Post by rkennedy »

Are we good to mark this as resolved now?
Former Nagios Employee
peter19x
Posts: 119
Joined: Tue Dec 08, 2015 10:16 am

Re: Passive checks NRDP

Post by peter19x »

Hello,

Yes please. Thank you.

Best Regards,
Peter
ischwartz

Re: Passive checks NRDP

Post by ischwartz »

I will lock this topic now
Locked