LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 07-20-2011, 04:50 AM   #1
Babs
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, 07:36 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,361
Blog Entries: 55

Rep: Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547
Best way to start, if you haven't done so already, is reading http://nagios.sourceforge.net/docs/3...fications.html 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, 11:52 AM   #3
Babs
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, 03:51 PM   #4
five5
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.
 
  


Reply


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 05:23 AM
Nagios email not working teppel Linux - Newbie 1 11-02-2010 01:08 PM
How to test a Nagios email punt Linux - Server 10 09-26-2010 04:28 PM
Nagios Email notifications jackie001 Linux - Newbie 3 11-14-2008 11:58 AM
No email alert from Nagios packets Linux - Software 0 10-18-2005 12:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:39 PM.

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