Page 1 of 1

Acknowledge alerts through API

Posted: Wed Oct 14, 2020 12:25 pm
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.

Re: Acknowledge alerts through API

Posted: Thu Oct 15, 2020 10:53 am
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