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.
Acknowledge alerts through API
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Acknowledge alerts through API
Hi,
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
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.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.
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!
Be sure to check out our Knowledgebase for helpful articles and solutions!