notifications not being sent from server

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
KiwiBloke
Posts: 81
Joined: Fri Apr 27, 2012 7:23 pm

notifications not being sent from server

Post by KiwiBloke »

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?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: notifications not being sent from server

Post by scottwilkerson »

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?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
KiwiBloke
Posts: 81
Joined: Fri Apr 27, 2012 7:23 pm

Re: notifications not being sent from server

Post by KiwiBloke »

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?! :roll:

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

Post by slansing »

Excellent, by the way on this point:
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).
You can modify this in the alert settings tab.
Locked