Event Handler for every event?

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
digant
Posts: 3
Joined: Fri Feb 24, 2017 2:16 pm

Event Handler for every event?

Post by digant »

I'm curious if it is possible to have the event handler fire for every check, even if it isn't a state transition? I want to send events after every single check, even if the result of the check is OK and has been OK the previous time as well.
Last edited by dwhitfield on Mon Feb 27, 2017 12:08 pm, edited 1 time in total.
Reason: marking with green check mark
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Event Handler for every event?

Post by tmcdonald »

You'll want to look into Obsessing: https://assets.nagios.com/downloads/nag ... hp_command
Former Nagios employee
digant
Posts: 3
Joined: Fri Feb 24, 2017 2:16 pm

Re: Event Handler for every event?

Post by digant »

That looks like it might work. Thanks!
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Event Handler for every event?

Post by dwhitfield »

It sounds like this issue has been resolved. Is it okay if we lock this thread? Thanks for choosing the Nagios forums!
digant
Posts: 3
Joined: Fri Feb 24, 2017 2:16 pm

Re: Event Handler for every event?

Post by digant »

dwhitfield wrote:It sounds like this issue has been resolved. Is it okay if we lock this thread? Thanks for choosing the Nagios forums!
Lock it up!
Locked