I'm probably repeating egalstad but here are some tips I've found when troubleshooting notifications.
One thing I found is all the little help ? [question marks] are poplulated however some of them are missing vital information to help you understand some concepts.
1) First things first do the test email, make sure you are actually receiving the emails in your mailbox.
Click the Admin link at the top
click Manage Email Settings
Click the
Send A Test Email link
Click the Send Test Email button
If you receive this then we know emails are getting to your mailbox.
2) Now send a test from a host
Goto the Host Status Detail page for the host you are monitoring
Click the Advanced tab
Under the Commands window click Send custom notification link
Tick the box Forced
Type a comment
Click Commit
If you receive this notficiation then ALL the requirements are met for notifications to work.
3) If you did not receive that notification then it most likely comes down to all the settings in the host (or service) itself.
These settings *should* be all that is required to make notifications work
Goto Core Configuration Manager
Goto Hosts
Click the modify icon for the host
Click the
Check Settings tab
- Retry interval = 1 (this is 1 minute)
check interval = 1 (this is 1 minute, when testing, set the check interval to a low number)
Max. check attempts = 3
Alert checks enabled = on
Click the
Alert Settings tab
- Contacts = Click the Modify group icon
A window will appear
Select your name in the left and pane and click the arrow button pointing to the right
Click the Save button
Now your name should appear selected in this list.
Under this list select the radio button Standard
Notification options = tick them all ? will explain what they all are but just select them all now for testing purposes
Notification interval = 20 (this is 20 minutes)
Notification enabled = on
Click the Save button
Answer Yes to the warning
Click Apply Configuration
Once this is successful then go and follow the steps in Point 2 to send a test notification. You should receive this notification. You can also test by disconnecting the network cable to this host.
Note: When editing a host or service have a look at the
Additional templates section on the Common Settings tab.
Under here is a list of templates that are currently being applied. These templates may or may not contain check and alert settings. If there is more than 1 template in the list, it will read the bottom one first, then the next one and apply any settings defined in the second template (which may overwrite some of the settings from the first template) and so on.
The key to using templates is the function skip or null. I've found myself that using skip seems to always work for the items I am not interested in applying in this template. This way, as each template is processed and evaluated the settings will combine to provide the functionality you need.
For example I have 3 template types I commonly use, a)Check template b)Alert template c)Service/Host Templates. This way I can have multiple alert and check templates that apply to different levels of monitoring. Being able to apply templates in this way makes monitoring very flexible in nagios. Service templates are great for defining checks with all the variables applied. Using templates means if you need to make a change you only need to do it in one place and it applies to everything using that template.
Go and have a look at how some of the wizards apply templates to your hosts and services and follow the trail back to the begining and you can see how they make it work.
If you are still not receiving a notification for a host down event then it may not be turned on on your user account.
Click the Configure tab
Click the
Change Your Account Settings link
On the left hand side Click Notification Preferences
Under notfication types make sure they are all selected
Make sure your notification times are 00:00 to 24:00
I hope this helps you get your notifications working, it took me a little while to work it out.