I have a service where the notifications is being sent out successfully but the history does not show anything.
Only difference compared to rest is the flapping check is disabled.
In the Nagios XI GUI, can you go to the Admin > Performance Settings menu, click on the Databases tab and verify that the Max Notification Age is set to how you want?
By default, it should be set to 90 days.
Can you open the Event Log from the Home screen and do you see the Host or Service Notification entry there?
Be sure to check out our Knowledgebase for helpful articles and solutions!
tgriep wrote:In the Nagios XI GUI, can you go to the Admin > Performance Settings menu, click on the Databases tab and verify that the Max Notification Age is set to how you want?
By default, it should be set to 90 days.
Can you open the Event Log from the Home screen and do you see the Host or Service Notification entry there?
Everything is fine except for this service. There is no notification history even though notifications is working fine.
The rest of the services is ok.
So this one service has no information in the Notifications report and no information in the Event Log?
Can you post the configuration file for that service so we can view it?
Also login as root to the XI server, run the following command and post the output.
tgriep wrote:So this one service has no information in the Notifications report and no information in the Event Log?
Can you post the configuration file for that service so we can view it?
Also login as root to the XI server, run the following command and post the output.
Lots of line in the output starting from 07-24-2-16
grep NET_INTERNET_BNG_EBB2 /usr/local/nagios/var/archives/*
.... snipped
/usr/local/nagios/var/archives/nagios-07-27-2016-00.log:[1469462740] SERVICE ALERT: NET_INTERNET_BNG_EBB2;BWC - Incoming Min Check;CRITICAL;HARD;5;CRITICAL - NET_INTERNET_BNG_EBB2 incoming BW is 10Mbps, outgoing is 1Mbps (20/20)
/usr/local/nagios/var/archives/nagios-07-27-2016-00.log:[1469487960] SERVICE ALERT: NET_INTERNET_BNG_EBB2;BWC - Incoming Min Check;OK;HARD;5;OK - NET_INTERNET_BNG_EBB2 incoming BW is 20Mbps, outgoing is 5Mbps (20/20)
/usr/local/nagios/var/archives/nagios-07-27-2016-00.log:[1469488190] SERVICE ALERT: NET_INTERNET_BNG_EBB2;BWC - Incoming Min Check;CRITICAL;SOFT;1;CRITICAL - NET_INTERNET_BNG_EBB2 incoming BW is 18Mbps, outgoing is 4Mbps (20/20)
/usr/local/nagios/var/archives/nagios-07-27-2016-00.log:[1469488250] SERVICE ALERT: NET_INTERNET_BNG_EBB2;BWC - Incoming Min Check;CRITICAL;SOFT;2;CRITICAL - NET_INTERNET_BNG_EBB2 incoming BW is 18Mbps, outgoing is 4Mbps (20/20)
/usr/local/nagios/var/archives/nagios-07-27-2016-00.log:[1469488310] SERVICE ALERT: NET_INTERNET_BNG_EBB2;BWC - Incoming Min Check;CRITICAL;SOFT;3;CRITICAL - NET_INTERNET_BNG_EBB2 incoming BW is 18Mbps, outgoing is 4Mbps (20/20)
/usr/local/nagios/var/archives/nagios-07-27-2016-00.log:[1469488370] SERVICE ALERT: NET_INTERNET_BNG_EBB2;BWC - Incoming Min Check;OK;SOFT;4;OK - NET_INTERNET_BNG_EBB2 incoming BW is 22Mbps, outgoing is 5Mbps (20/20)
Sorry about that, I meant posting the service template.
The service config you have posted, doesn't show that the notifications are enabled so we need to verify that the template has it enabled.
From the output of the grep, I don't see the notification message so it may need to be enabled.
Be sure to check out our Knowledgebase for helpful articles and solutions!
tgriep wrote:Sorry about that, I meant posting the service template.
The service config you have posted, doesn't show that the notifications are enabled so we need to verify that the template has it enabled.
From the output of the grep, I don't see the notification message so it may need to be enabled.
Notifications are being sent out, only missing in notification history.
Maybe it is a corrupt MYSQL entry causing it.
Do you see any errors in the /var/log/mysqld.log file?
Can you create a new copy of that check and see if that works for you?
Also, run the following as root on the server and post the output here.