Search found 5 matches

by rthomas7
Tue Sep 22, 2020 6:34 am
Forum: Nagios XI
Topic: Unable to delete service using curl 'XDELTE' on Nagios XI 5.
Replies: 4
Views: 833

Re: Unable to delete service using curl 'XDELTE' on Nagios X

Thank you very much indeed!. That looks to have done the trick. So, if there is no character or word in the square brackets after "failed", does it mean there was/is no error? { "success": "Removed services from the system. Config applied, Nagios Core was restarted.", &...
by rthomas7
Tue Sep 22, 2020 6:30 am
Forum: Nagios XI
Topic: Unable to delete service using curl 'XDELTE' on Nagios XI 5.
Replies: 4
Views: 833

Re: Unable to delete service using curl 'XDELTE' on Nagios X

It's probably getting hung up because the service_description isn't URL encoded. Try this. curl -XDELETE "https://<Nagios XI Host Name>/nagiosxi/api/v1/config/service?apikey=tBNRmsqitghiurFNECXKOu7RjkI6AEOX7p8egoCQKvelfSoSLmCvAB&pretty=1&host_name=testapihost&service_description=Di...
by rthomas7
Fri Sep 18, 2020 9:44 am
Forum: Nagios XI
Topic: Unable to delete service using curl 'XDELTE' on Nagios XI 5.
Replies: 4
Views: 833

Unable to delete service using curl 'XDELTE' on Nagios XI 5.

This is the command I am trying to use curl -XDELETE "https://<Nagios XI Host Name>/nagiosxi/api/v1/config/service?apikey=tBNRmsqitghiurFNECXKOu7RjkI6AEOX7p8egoCQKvelfSoSLmCvAB&pretty=1&host_name=testapihost&service_description=Disk Usage on /usr/local&applyconfig=1" -k Her...
by rthomas7
Tue Nov 19, 2019 9:35 am
Forum: Nagios XI
Topic: How to notify "Unknown" service events info through E-mail?
Replies: 3
Views: 285

Re: How to notify "Unknown" service events info through E-ma

I am not sure if this helps, This is what I see on one of the Nagios servers. Am I looking at the correct file? # grep notification_options /home/svcanagios/NagiosXI/nagiosxi-55/subcomponents/nagioscore/mods/cfg/objects/templates.cfg service_notification_options w,u,c,r,f,s ; send notifications for ...
by rthomas7
Mon Nov 18, 2019 8:04 am
Forum: Nagios XI
Topic: How to notify "Unknown" service events info through E-mail?
Replies: 3
Views: 285

How to notify "Unknown" service events info through E-mail?

Does Nagios XI have the option of reporting NCPA agent communication failure? . In our environment one Linux server stopped responding however Nagios XI console had all its services marked as Uknkown and no alert was sent. I am trying to find out if notification can be configured to to send E-mails ...