Configuring Custom Global Event Handler in Nagios
Posted: Fri Apr 01, 2016 10:20 am
Hello there,
I am having installed the Nagios version (5.2.3) installed in our project development environment.
For our business related requirement we need to achieve following;
a) I need to have our own Global Event Handlers configured for integration with 3rd Party Application.
Nagios.cfg file (/usr/local/nagios/etc/nagios.cfg)
Existing :
# GLOBAL EVENT HANDLERS - existing
global_host_event_handler=xi_host_event_handler
global_service_event_handler=xi_service_event_handler
To Be changed to :
# GLOBAL EVENT HANDLERS - existing
global_host_event_handler=custom_host_event_handler
global_service_event_handler=custom_service_event_handler
I need to understand if we can add our own custom handler as Global Event Handler;
Question : does this will have any impact on current implementation of “xi_host_event_handler” and “xi_service_event_handler” respectivey.
OR How can we keep both i.e. “xi_host_event_handler” and “custom_host_event_handler” event handler as Global Event Handlers.
Please suggest if there is any configuration for the same.
Any quick response on this will be highly appreciated as it's impacting the project activities badly.
Many Thanks,
Vaibhav Dhopte
Mod Note: I have moved your post from the Nagios Ideas section to the Nagios XI section.
I am having installed the Nagios version (5.2.3) installed in our project development environment.
For our business related requirement we need to achieve following;
a) I need to have our own Global Event Handlers configured for integration with 3rd Party Application.
Nagios.cfg file (/usr/local/nagios/etc/nagios.cfg)
Existing :
# GLOBAL EVENT HANDLERS - existing
global_host_event_handler=xi_host_event_handler
global_service_event_handler=xi_service_event_handler
To Be changed to :
# GLOBAL EVENT HANDLERS - existing
global_host_event_handler=custom_host_event_handler
global_service_event_handler=custom_service_event_handler
I need to understand if we can add our own custom handler as Global Event Handler;
Question : does this will have any impact on current implementation of “xi_host_event_handler” and “xi_service_event_handler” respectivey.
OR How can we keep both i.e. “xi_host_event_handler” and “custom_host_event_handler” event handler as Global Event Handlers.
Please suggest if there is any configuration for the same.
Any quick response on this will be highly appreciated as it's impacting the project activities badly.
Many Thanks,
Vaibhav Dhopte
Mod Note: I have moved your post from the Nagios Ideas section to the Nagios XI section.