Event Handler question

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Event Handler question

Post by BanditBBS »

So I just wrote a nice complex script to run as event handler. However, it needs specific data depending on the service that is in a bad state.

It needs $HOSTNAME$, $SERVICEDESC$, $HOSTADDRESS$, $ARG8$

I am able to pass $ARG8$ to event handler, right?
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Event Handler question

Post by BanditBBS »

2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Event Handler question

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!
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: Event Handler question

Post by bwallace »

Haven't heard back from you Bandit but assuming it's OK to lock this thread now so I'll go ahead and do just that. The doc you found is what most of us would have suggested anyway.
Be sure to check out the Knowledgebase for helpful articles and solutions!
Locked