Page 1 of 1
Automating some tasks
Posted: Wed Apr 22, 2015 9:18 pm
by stecino
I wanted to be able to do these if possible:
Automatically remove acknowledgment of an alert after 2 hours.
Automatically unsilent alerts that have been silenced for 12 hours or more.
Re: Automating some tasks
Posted: Thu Apr 23, 2015 12:48 pm
by ssax
XI currently doesn't have the ability to do this, I've created a feature request for you:
Code: Select all
NEW TASK ID 5493 created - Nagios XI Feature Request: Add the options to unsilence and remove acknowledgements after a specified amount of time
I'm not sure there is a quick and easy way to handle this with out doing a bit of development.
Re: Automating some tasks
Posted: Tue May 05, 2015 3:31 pm
by stecino
ssax wrote:XI currently doesn't have the ability to do this, I've created a feature request for you:
Code: Select all
NEW TASK ID 5493 created - Nagios XI Feature Request: Add the options to unsilence and remove acknowledgements after a specified amount of time
I'm not sure there is a quick and easy way to handle this with out doing a bit of development.
What would you recommend? Is there a cgi script I could write that would handle this?
Re: Automating some tasks
Posted: Tue May 05, 2015 3:42 pm
by jdalrymple
You may be able to get creative without our help.
Submitting external commands is easy:
http://nagios.sourceforge.net/docs/nagi ... mands.html
Are you able to create a custom plugin that can read the existing nagios.log to search for ACKs and silence commands that you want to inactivate? The logic is fairly simple, it would just require a bit of log file parsing.