how to capture "status change" events

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
QAP
Posts: 3
Joined: Tue Aug 20, 2013 3:21 am

how to capture "status change" events

Post by QAP »

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.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: how to capture "status change" events

Post by abrist »

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.
QAP
Posts: 3
Joined: Tue Aug 20, 2013 3:21 am

Re: how to capture "status change" events

Post by QAP »

Thank you, abrist. That's probably workable.

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

Post by scottwilkerson »

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...
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
QAP
Posts: 3
Joined: Tue Aug 20, 2013 3:21 am

Re: how to capture "status change" events

Post by QAP »

Thanks.
Sam
Locked