Event Handler Issues

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
mdusanapudi
Posts: 35
Joined: Tue Mar 15, 2016 1:31 pm

Event Handler Issues

Post by mdusanapudi »

Hello,
We have configured couple of event handlers configured using Global Event Handler wizard in nagios XI.We found that event handlerstops executing for no reason.Enabled debugging of evet handler and changed the global service event handler to the bellow value

# GLOBAL EVENT HANDLERS
#global_host_event_handler=xi_host_event_handler
global_service_event_handler=eops_handler_service

Now the log shows the following error

1458131231] GLOBAL SERVICE EVENT HANDLER: dallxsybbip10;NIX Memory Page in Rate;UNKNOWN;SOFT;4;eops_handler_service
[1458131231] wproc: GLOBAL SERVICE EVENTHANDLER job 41 from worker Core Worker 11140 is a non-check helper but exited with return code 13
[1458131231] wproc: early_timeout=0; exited_ok=1; wait_status=3328; error_code=0;
[1458131231] wproc: stderr line 01: execvp(/root/nagiosxi/evanios/eops_handler.pl, ...) failed. errno is 13: Permission denied
[1458131290] SERVICE ALERT: dallxsybbip10;NIX Memory Page in Rate;UNKNOWN;HARD;5;Paging IN UNKNOWN - 77.82 Average Total of KB paged in
[1458131290] SERVICE FLAPPING ALERT: dallxsybbip10;NIX Memory Page in Rate;STARTED; Service appears to have started flapping (60.0% change >= 20.0% threshold)
[1458131290] GLOBAL SERVICE EVENT HANDLER: dallxsybbip10;NIX Memory Page in Rate;UNKNOWN;HARD;5;eops_handler_service
[1458131290] wproc: GLOBAL SERVICE EVENTHANDLER job 151 from worker Core Worker 11139 is a non-check helper but exited with return code 13
[1458131290] wproc: early_timeout=0; exited_ok=1; wait_status=3328; error_code=0;
[1458131290] wproc: stderr line 01: execvp(/root/nagiosxi/evanios/eops_handler.pl, ...) failed. errno is 13: Permission denied


This event handler was running without any issues in this machine earlier and same is running fine in DEV environment as well.

Any ideas on the above error?
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Event Handler Issues

Post by eloyd »

Evanios support is provided by Evanios, not Nagios. You might want to ask them.
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Event Handler Issues

Post by hsmith »

Eric is correct, we're unfamiliar with this setup.
Former Nagios Employee.
me.
mdusanapudi
Posts: 35
Joined: Tue Mar 15, 2016 1:31 pm

Re: Event Handler Issues

Post by mdusanapudi »

Thnaks for the replies,I was able to fix the issue by changing the permissions of the folder where event handler is placed.
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: Event Handler Issues

Post by bwallace »

Glad to hear this is resolved. We'll lock this thread now and feel free to open another should you require assistance with anything else.
Be sure to check out the Knowledgebase for helpful articles and solutions!
Locked