Hi Team,
Please let me nkow the feasibility to display the event handler output to the service front end display so that user can view the action of the event handler completd or now .
Display the event handler output to nagios display
Re: Display the event handler output to nagios display
There's nothing on the front-end of Nagios Core for tracking the "progress" of event handlers, but you could set up a dummy passive check then update it's status in various stages of your event handler using the external commands file. Specifically, commands like PROCESS_HOST_CHECK_RESULT and PROCESS_SERVICE_CHECK_RESULT could be used to update this "dummy" checks status at various stages of your event handler's execution. Say your event handler has 4 stages:
A full list of all available external commands:
https://old.nagios.org/developerinfo/ex ... ndlist.php
- Starting event handler
- Restarting service
- Checking service status
- Finished at 09/11/2017
A full list of all available external commands:
https://old.nagios.org/developerinfo/ex ... ndlist.php
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
-
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Display the event handler output to nagios display
Thanks for the assist @mcapra!