Re: Nagios XI Event Handlers skipping few events
Posted: Thu Apr 09, 2020 8:01 am
We haven't seen any entry for missing alerts at *send-alert-request.log* file.
The Issue exists for both State & Notification and is happening every day (but the missing alert count is less). Due to this, Our Dashboards are showing 100% accurate information.
Command Output is
The Issue exists for both State & Notification and is happening every day (but the missing alert count is less). Due to this, Our Dashboards are showing 100% accurate information.
Command Output is
Code: Select all
[opc@(Nagios-PROD) ~]$ echo 'select * from xi_options;' | mysql -u root -pnagiosxi nagiosxi |grep globaleventhandler_component_options
36 globaleventhandler_component_options a:4:{s:27:"host_event_handler_commands";a:3:{i:0;a:1:{s:7:"command";s:203:"/tmp/host_change_handler.sh "%host%" %hoststate% %hoststateid% %lasthoststate% %lasthoststateid% %hoststatetype% %currentattempt% %maxattempts% %hosteventid% %hostproblemid% "%hostoutput%" %hostdowntime%";}i:1;a:2:{s:7:"enabled";s:2:"on";s:7:"command";s:214:"/usr/local/nagios/libexec/nagiosalerts/newServiceAlertEmail.sh "%hostgroupname%" "%hostalias%" "%host%" "%hostoutput%" "%hoststateid%" "%hoststatetype%" "Host_Status" "%manatip%" "%clnatip%" "%hostaddress%" "host"";}i:2;a:1:{s:7:"command";s:0:"";}}s:30:"service_event_handler_commands";a:3:{i:0;a:1:{s:7:"command";s:258:"/tmp/service_change_handler.sh "%host%" "%service%" %hoststate% %servicestate% %servicestateid% %lastservicestate% %lastservicestateid% %servicestatetype% %currentattempt% %maxattempts% %serviceeventid% %serviceproblemid% "%serviceoutput%" %servicedowntime%";}i:1;a:2:{s:7:"enabled";s:2:"on";s:7:"command";s:247:"/usr/local/nagios/libexec/nagiosalerts/newServiceAlertEmail.sh "%hostgroupname%" "%hostalias%" "%host%" "%serviceoutput%" "%servicestateid%" "%servicestatetype%" "%service%" "%manatip%" "%clnatip%" "%hostaddress%" "service" "%lastservicestateid%"";}i:2;a:1:{s:7:"command";s:0:"";}}s:34:"host_notification_handler_commands";a:3:{i:0;a:1:{s:7:"command";s:255:"/tmp/host_notification_handler.sh "%contact%" "%type%" "%author%" "%comments%" "%host%" "%hostaddress%" %hoststate% %hoststateid% %lasthoststate% %lasthoststateid% %hoststatetype% %currentattempt% %maxattempts% %hosteventid% %hostproblemid% "%hostoutput%"";}i:1;a:2:{s:7:"enabled";s:2:"on";s:7:"command";s:227:"/usr/local/nagios/libexec/nagiosalerts/newServiceAlertEmail.sh "%hostgroupname%" "%hostalias%" "%host%" "%hostoutput%" "%hoststateid%" "%hoststatetype%" "Host_Status" "%manatip%" "%clnatip%" "%hostaddress%" "host-notification"";}i:2;a:1:{s:7:"command";s:0:"";}}s:37:"service_notification_handler_commands";a:3:{i:0;a:1:{s:7:"command";s:308:"/tmp/service_notification_handler.sh "%contact%" "%type%" "%author%" "%comments%" "%host%" "%hostaddress%" %hoststate% %hoststateid% %servicestate% %servicestateid% %lastservicestate% %lastservicestateid% %servicestatetype% %currentattempt% %maxattempts% %serviceeventid% %serviceproblemid% "%serviceoutput%"";}i:1;a:2:{s:7:"enabled";s:2:"on";s:7:"command";s:260:"/usr/local/nagios/libexec/nagiosalerts/newServiceAlertEmail.sh "%hostgroupname%" "%hostalias%" "%host%" "%serviceoutput%" "%servicestateid%" "%servicestatetype%" "%service%" "%manatip%" "%clnatip%" "%hostaddress%" "service-notification" "%lastservicestateid%"";}i:2;a:1:{s:7:"command";s:0:"";}}}