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.
Automating some tasks
Re: Automating some tasks
XI currently doesn't have the ability to do this, I've created a feature request for you:
I'm not sure there is a quick and easy way to handle this with out doing a bit of development.
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 timeRe: Automating some tasks
What would you recommend? Is there a cgi script I could write that would handle this?ssax wrote:XI currently doesn't have the ability to do this, I've created a feature request for you:
I'm not sure there is a quick and easy way to handle this with out doing a bit of development.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
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: Automating some tasks
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.
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.