Nagios XI Event Handlers skipping few events

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
rgangavarapu
Posts: 9
Joined: Wed Apr 25, 2018 8:06 pm

Re: Nagios XI Event Handlers skipping few events

Post by rgangavarapu »

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

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:"";}}}
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Nagios XI Event Handlers skipping few events

Post by tgriep »

The commands all look good.

If it happens again. Run a state history report for the object and enable it to show all status and both hard and soft state and save it as a csv.
Get the eventman.log file and get them to us so we can check them.

Post the time stamp when the issue happened.

Thanks
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked