Acknowledge alerts through API

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
HooverM
Posts: 3
Joined: Thu Jun 25, 2020 1:11 pm

Acknowledge alerts through API

Post by HooverM »

I was looking through documentation and other sources and found a discussion of this about 3 years ago that locked and did not really have a solution...( https://support.nagios.com/forum/viewtopic.php?t=44824 ) but I was wondering if there was any updates on this or if there is now a way to do this. So for example we can setup an email with a click back link or even a site with a button for 'Acknowledge All alerts for this host' or something of that nature.

Any help would be appreciated.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Acknowledge alerts through API

Post by benjaminsmith »

Hi,
So for example we can setup an email with a click back link or even a site with a button for 'Acknowledge All alerts for this host' or something of that nature.
Looking this over, I have a few options for you. You can click on the Rapid Response URL in the notification to send an acknowledgment.

And while there's not a direct API command for acknowledgments, you can send Core Commands via the Rest API and then use the external command reference in that thread. Got to Help > API Docs > System Reference > Core Command for documentation and example command.

See: https://assets.nagios.com/downloads/nag ... mand_id=39

Let me know if you have more questions.

Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked