Page 1 of 1

Event Handler Issues

Posted: Wed Mar 16, 2016 7:30 am
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?

Re: Event Handler Issues

Posted: Wed Mar 16, 2016 8:14 am
by eloyd
Evanios support is provided by Evanios, not Nagios. You might want to ask them.

Re: Event Handler Issues

Posted: Wed Mar 16, 2016 9:43 am
by hsmith
Eric is correct, we're unfamiliar with this setup.

Re: Event Handler Issues

Posted: Wed Mar 16, 2016 10:53 am
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.

Re: Event Handler Issues

Posted: Wed Mar 16, 2016 12:00 pm
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.