Send Alarm to NagiosXI using send_nrp
Posted: Wed Feb 03, 2021 9:45 am
Hello
We are sending alarms to Nagios using send_nrp command like this inside a script, to integrate an alredy existing monitoring script with nagios:
/usr/local/nrdp/clients/send_nrdp.sh -u "http://xxx/nrdp/" -t "xxxx" -H "xxx" -s "service test" -S 0/1/2/3 -o "Message/Alarm text"
The service is passive.
I see that when sending in sequence, more than one message with state 0 (OK) , these kind of messages are not all reported in service history, instead for state level 1,2,3, service history report all the messages sent from send_nrp.
Is it possible to configure nagios service, to have also for State OK messages all the occurence sent from send_nrp?
Thanks and Regards
Antonello
We are sending alarms to Nagios using send_nrp command like this inside a script, to integrate an alredy existing monitoring script with nagios:
/usr/local/nrdp/clients/send_nrdp.sh -u "http://xxx/nrdp/" -t "xxxx" -H "xxx" -s "service test" -S 0/1/2/3 -o "Message/Alarm text"
The service is passive.
I see that when sending in sequence, more than one message with state 0 (OK) , these kind of messages are not all reported in service history, instead for state level 1,2,3, service history report all the messages sent from send_nrp.
Is it possible to configure nagios service, to have also for State OK messages all the occurence sent from send_nrp?
Thanks and Regards
Antonello