Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-20-2011, 03:50 AM   #1
LQ Newbie
Registered: Jul 2011
Posts: 4

Rep: Reputation: Disabled
Nagios Email Issue

I have got a nagios server running on my network, The configuration seems to be okay but each time there is a service alert notification, and an e-mail is sent to the contact group, Nagios continuously sends e-mail over and over again. Do anyone know of a way to set Nagios directives to only send one e-mail per alert without it flooding mail boxes.
Old 07-20-2011, 06:36 PM   #2
Registered: May 2001
Posts: 29,383
Blog Entries: 55

Rep: Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558Reputation: 3558
Best way to start, if you haven't done so already, is reading as it explains not only notifications and escalations but also which configuration items to check. This because saying "The configuration seems to be okay" does not help those (who know what to look for in configuration files and Nagios log files) help you, if you dig what I'm hinting at.
Old 07-21-2011, 10:52 AM   #3
LQ Newbie
Registered: Jul 2011
Posts: 4

Original Poster
Rep: Reputation: Disabled
Nagios Email Issue

Thanks I need to know the flag that control How many times an email should be sent. I have got a hunch that is something to do with the notification_interval but how do you set this to set e-mail only once.
Old 07-25-2011, 02:51 PM   #4
LQ Newbie
Registered: Jul 2011
Location: Silicon Prairie
Distribution: Ubuntu
Posts: 1

Rep: Reputation: Disabled
You're spot on Babs. notification_interval is the correct directive to control this. It is the "number of "time units" to wait before re-notifying a contact" that a host or service is down. The default is 60 meaning you will get re-notified every hour. To accomplish what you want, simply set it to 0 which means only one problem notification will be sent out.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Nagios Email Notification zoomzatag Linux - Newbie 4 07-20-2011 04:23 AM
Nagios email not working teppel Linux - Newbie 1 11-02-2010 12:08 PM
How to test a Nagios email punt Linux - Server 10 09-26-2010 03:28 PM
Nagios Email notifications jackie001 Linux - Newbie 3 11-14-2008 10:58 AM
No email alert from Nagios packets Linux - Software 0 10-18-2005 11:56 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:46 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration