Hi,
I have a Nagios xi CentoOS vm Appliance running 2012R1.6. I have configured with servers and services and hostgroups.
Notifications are enabled on all hosts and services for Critical and Recovery events.
The notifications are configured to be sent to nagiosadmin (who has email alerts configured). a test alert has been sucessfully sent to the user, so the email subsystem is working.
if i check the services and hosts via "see this host/service in nagios core" it tells me that notifications are enabled.
however...
if I stop one of the lesser important monitored services eg windowstime nagios correctly detects the service as being down, but it doesn't seem to send a notification. When i start the service, nagios shortly detects this, but likewise doesn't send a notification to say its recovered
Any ideas?
notifications not being sent from server
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: notifications not being sent from server
Are you leaving the service stopped until the service is in a HARD critical state?
Also, if you click on the nagiosadmin username (top right) and go to Notification Preferences, are all boxes selected? Under Notification Methods is at least one method selected?
Also, if you click on the nagiosadmin username (top right) and go to Notification Preferences, are all boxes selected? Under Notification Methods is at least one method selected?
Re: notifications not being sent from server
Hi,
I rechecked the notification setting for nagiosadmin and found that I had not checked "service critical". It is now ticked.
I also didn't realize that before Nagios sends an alert it waits until it has attempted 5 times to recheck the service before marking the state as hard (which makes sense to me now).
So, now that i have ticked all the correct boxes and tested and waited long enough for a service/host state to turn hard I do indeed get alerts. I also get an alert when the service/host has recovered, so all very good.
Thanks for your help. Every day I learn something new about Nagios?!
Cheers,
KB.
I rechecked the notification setting for nagiosadmin and found that I had not checked "service critical". It is now ticked.
I also didn't realize that before Nagios sends an alert it waits until it has attempted 5 times to recheck the service before marking the state as hard (which makes sense to me now).
So, now that i have ticked all the correct boxes and tested and waited long enough for a service/host state to turn hard I do indeed get alerts. I also get an alert when the service/host has recovered, so all very good.
Thanks for your help. Every day I learn something new about Nagios?!
Cheers,
KB.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: notifications not being sent from server
Excellent, by the way on this point:
You can modify this in the alert settings tab.I also didn't realize that before Nagios sends an alert it waits until it has attempted 5 times to recheck the service before marking the state as hard (which makes sense to me now).