Is it possible for an event handler to update the status information for a service that executed the event handler?
For example, I would like the status information reflect the status of the event handler. Like event handler started and whether or not it succeeded.
NagiosXI Event Handler Update Status Information
-
dslaughter
- Posts: 140
- Joined: Wed Feb 20, 2019 3:46 pm
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: NagiosXI Event Handler Update Status Information
You could use something like the external command in the example shown here
https://assets.nagios.com/downloads/nag ... and_id=114
https://assets.nagios.com/downloads/nag ... and_id=114
-
dslaughter
- Posts: 140
- Joined: Wed Feb 20, 2019 3:46 pm
Re: NagiosXI Event Handler Update Status Information
I think that will work. I'll start testing. Go ahead and lock this thread. I'll start a new one if necessary.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: NagiosXI Event Handler Update Status Information
Sounds good.dslaughter wrote:I think that will work. I'll start testing. Go ahead and lock this thread. I'll start a new one if necessary.
Locking thread