Is there anyway to pull a result from a check into an event handler.
For instance, I currently have an app pool monitor that if an app pool was down, would give me the result which would be app pool name.
If I was able to pull the result of the app pool monitor and pass that onto the event handler, then it would be possible to have the event handler start up the app pool specified in the result if it ever went down.
What version of Nagios XI are you using? - 5.4.5
Linux Distribution and version? - CENTOS
32 or 64bit? - 64BIT
VMware Image or Manual Install of XI? - Manual install
Pulling check result into an event handler?
-
FrontlineIT
- Posts: 94
- Joined: Tue Jul 26, 2016 8:46 am
Re: Pulling check result into an event handler?
Yes, there is a way to pass the status output from a check in to an event handler, the following link is an introduction to event handlers and the Advanced Features section, talks about how to pass the macros to the handler.
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Take a look at it and let us know if you have any questions.
This link is the list of macros that Nagios uses and which commands they are available to be used.
https://assets.nagios.com/downloads/nag ... olist.html
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Take a look at it and let us know if you have any questions.
This link is the list of macros that Nagios uses and which commands they are available to be used.
https://assets.nagios.com/downloads/nag ... olist.html
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
FrontlineIT
- Posts: 94
- Joined: Tue Jul 26, 2016 8:46 am
Re: Pulling check result into an event handler?
Thank you so much!
Re: Pulling check result into an event handler?
Your welcome. If you have any questions, let us know.
Be sure to check out our Knowledgebase for helpful articles and solutions!