LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-17-2011, 08:19 AM   #1
deibertine
Member
 
Registered: Mar 2009
Posts: 222

Rep: Reputation: 30
Smile Nagios - Auto Acknowledging Alerts After many tries/sends notification


Is there a way to trigger Nagios to "Auto Acknowledge" any host alerts after x amount of times?

Sometimes system has been down in the mid of the night but no one really has responded to the notification which might mean bunch of emails flown through in each inbox within the department coming from these alerts.

Please kindly advise mates.

Cheers,
DB
 
Old 03-18-2011, 01:08 AM   #2
blueCow
Member
 
Registered: Feb 2004
Location: Florida
Distribution: FreeBSD, CentOS, Debian, Mint
Posts: 111

Rep: Reputation: 17
While I feel your pain, that's kinda the point of a monitoring system. It should keep contacting you until you have acknowledged it. As a "solution" I would:

1. Change your notification_period to workhours or your own window of time.
2. Change your notification_interval to something like 3-5 hours. This way, you only get a few notices that the system was down.

My Nagios system is essential to my work so I have it send me notifications every 15 minutes until I acknowledge to ensure I wake up if there is an emergency. I have never received a second one. If something is down and I didn't wake up, people start calling immediately.
 
1 members found this post helpful.
Old 03-18-2011, 12:14 PM   #3
deibertine
Member
 
Registered: Mar 2009
Posts: 222

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by blueCow View Post
While I feel your pain, that's kinda the point of a monitoring system. It should keep contacting you until you have acknowledged it. As a "solution" I would:

1. Change your notification_period to workhours or your own window of time.
2. Change your notification_interval to something like 3-5 hours. This way, you only get a few notices that the system was down.

My Nagios system is essential to my work so I have it send me notifications every 15 minutes until I acknowledge to ensure I wake up if there is an emergency. I have never received a second one. If something is down and I didn't wake up, people start calling immediately.
Thanks, notification_interval works for me!
 
Old 03-18-2011, 09:38 PM   #4
blueCow
Member
 
Registered: Feb 2004
Location: Florida
Distribution: FreeBSD, CentOS, Debian, Mint
Posts: 111

Rep: Reputation: 17
Glad I could help!
 
Old 11-14-2012, 07:24 AM   #5
Anvil
LQ Newbie
 
Registered: Jul 2003
Location: Wiltshire UK
Distribution: Fedora
Posts: 13

Rep: Reputation: 0
Is there a way to trigger Nagios to "Auto Acknowledge" specific host alerts as soon as they happen.

Quote:
Originally Posted by deibertine View Post
Is there a way to trigger Nagios to "Auto Acknowledge" any host alerts after x amount of times?

Sometimes system has been down in the mid of the night but no one really has responded to the notification which might mean bunch of emails flown through in each inbox within the department coming from these alerts.

Please kindly advise mates.

Cheers,
DB
Actually I would be very interested in an answer to the original question .. nearly.

Is there a way to trigger Nagios to "Auto Acknowledge" specific host alerts as soon as they happen.

The reason for this is that there is a population of hosts on our network that we don't care if they are up or down and don't want to receive any alerts for (alerts are already switched off) but that we would be very interested in being able to use the availability graphs to see when they were up and when they were down .. after the fact.

At present I have it set so that they don't trigger alert mails, but they do still show up as "Down" on the Nagios network graph and on Nagvis. I still have to go in and acknowledge them in order to calm the graph down a bit. If there was mechanism that would preserve the availability information, but would not show up as purely "Down" on the graphs, this would save me a bunch of messing about. "Down but Acknowledged" is ok, but if there is another state that would do the necessary then I am happy to use it.
 
  


Reply

Tags
acknowledge, alerts, email, nagios, notifications


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
[SOLVED] nagios alerts help mahmoud Linux - Software 8 01-07-2014 08:41 AM
Few questions about Nagios - reboot notification, value=x notification. marccmile Linux - Software 5 06-04-2009 06:44 PM
Nagios Server Alerts deibertine Linux - Newbie 2 04-03-2009 07:00 PM
SNMP monitor that sends alerts fancylad Linux - Server 2 05-12-2008 06:31 PM
how to make a C program send email notification/alerts? eigenyeugen Programming 1 01-04-2005 08:16 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration