Clear ACK on state information change or performance data
Posted: Wed Sep 19, 2012 4:23 pm
We have several custom nagios checks which return users in the error state but they all get lumped into one check. (yeah I know we could have multiple, but you must trust me this is not feasible at the moment with current setup). The users are reported either in the status information field or in the performance data field. I would like to have a way (possibly a script that I am going to write in Python or Perl) to clear the ACK if this changes (i.e. another user is found to be logged off).
Does anyone know of any thing like this already? Is there a command line tool I can query nagios with to pipe into a script I can create? Willing to open source it if it works out well enough. Also, FYI, I am using groundwork community edition nagios.
Does anyone know of any thing like this already? Is there a command line tool I can query nagios with to pipe into a script I can create? Willing to open source it if it works out well enough. Also, FYI, I am using groundwork community edition nagios.