Is it possible to capture events like "issue acknowledged" or "issue fixed" and let them trigger a custom action?
We would like to record the time taken until an issue is spotted, acknowledged and/or fixed. Our custom actions would send UDP messages to Graphite.
how to capture "status change" events
Re: how to capture "status change" events
In pure "vanilla" core, you would have to write a script to watch the nagios.log file for these events to take actions. This would most likely be a cron'ed. If you are using ndo, you could check the db instead.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: how to capture "status change" events
Thank you, abrist. That's probably workable.
What's the alternative here? One of the commercial Nagios distributions? What would those offer?
What's the alternative here? One of the commercial Nagios distributions? What would those offer?
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: how to capture "status change" events
The best pre-built solution I can come up with would be to bundle Nagios Incident Manager with Nagios XI.
Here's how it works.
When a problem occurs, Nagios XI opens an Incident in Nagios IM.
From within Nagios Incident Manager, there is full reporting on the Mean Time to Resolution, First Response, etc.
We do offer bundle pricing to make the packaging of these together a little more cost effective.
http://www.nagios.com/products/nagiosxi
http://www.nagios.com/products/nagiosincidentmanager
Both do come with a 60 day fully functional free trial...
Here's how it works.
When a problem occurs, Nagios XI opens an Incident in Nagios IM.
From within Nagios Incident Manager, there is full reporting on the Mean Time to Resolution, First Response, etc.
We do offer bundle pricing to make the packaging of these together a little more cost effective.
http://www.nagios.com/products/nagiosxi
http://www.nagios.com/products/nagiosincidentmanager
Both do come with a 60 day fully functional free trial...
Re: how to capture "status change" events
Thanks.
Sam
Sam