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
Send Alarm to NagiosXI using send_nrp
Re: Send Alarm to NagiosXI using send_nrp
Edit /usr/local/nagios/etc/nagios.cfg and change this line:
to:
and restart the nagios service:
That should do it. Let us know your results.
Code: Select all
log_passive_checks=0Code: Select all
log_passive_checks=1Code: Select all
systemctl restart nagiosAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Send Alarm to NagiosXI using send_nrp
Hi
Thanks for suggestion.
ASAP I will try this setting and let you know.
My other question is whether exist a configuration like this but at a service level (not global).
Thank you.
Antonello
Thanks for suggestion.
ASAP I will try this setting and let you know.
My other question is whether exist a configuration like this but at a service level (not global).
Thank you.
Antonello
Re: Send Alarm to NagiosXI using send_nrp
No, this is only a global option.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.