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?
Event Handler Issues
Re: Event Handler Issues
Evanios support is provided by Evanios, not Nagios. You might want to ask them.
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
Re: Event Handler Issues
Eric is correct, we're unfamiliar with this setup.
Former Nagios Employee.
me.
me.
-
mdusanapudi
- Posts: 35
- Joined: Tue Mar 15, 2016 1:31 pm
Re: Event Handler Issues
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
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!