too much notify

Alejandro Feijoo Fraga alfeijoo at cesga.es
Mon Dec 15 10:16:03 CET 2008


Hi.

I have al services similiar like this:

---
define service{
         use                             generic-service
         host_name                       cn003
         service_description             PING
         is_volatile                     0
         check_period                    24x7
         max_check_attempts              3
         normal_check_interval           5
         retry_check_interval            1
         contact_groups                  admins
         notification_interval           0
         notification_period             24x7
         notification_options            w,u,c,r
         check_command                   check-host-alive
}
---

But for example... when one node is down, i´m only need one mail 
alert... and nagios going to send too mucho notify.

for example... i have an mail alert

at 13:20pm
***** Nagios  *****

Notification Type: PROBLEM
Host: cn016
State: DOWN
Address: xx.xx.xx.xx
Info: $
PING CRITICAL - Packet loss = 100%

Date/Time: Thu Dec 11 13:20:32 CET 2008

And... the same alert at 13:55

***** Nagios  *****

Notification Type: PROBLEM
Host: cn016
State: DOWN
Address: 84.21.168.16
Info: $
PING CRITICAL - Packet loss = 100%

Date/Time: Thu Dec 11 13:55:51 CET 2008

How i can make to receive only one alert?


Thanks!

Kun Richárd escribió:
> Hi,
> 
>> -----Original Message-----
>> From: Alejandro Feijoo Fraga [mailto:alfeijoo at cesga.es]
>> Sent: Friday, December 12, 2008 3:25 PM
>> To: Kun Richárd
>> Cc: 'nagios-user Mailinglist'
>> Subject: Re: [Nagios-users] too much notify
>>
>> Hi.
>>
>> how do you? because i have the same problem, i have mails alert every
>> minutes and i have notification_interval=0....
>>
>> where is the problem?
> 
> Set the is_volatile to 0. 
> 
> The is_volatile with value 1 means that the service is "volatile", and the
> status falling back to "OK" after every notification.
> (See: http://nagios.sourceforge.net/docs/2_0/volatileservices.html)
> 
> 
> --
> Üdv,
>  Ricsi
>  kun.richard at kirzen.hu
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> 
> No virus found in this incoming message.
> Checked by AVG - http://www.avg.com 
> Version: 8.0.176 / Virus Database: 270.9.17/1844 - Release Date: 11/12/2008 20:58
> 

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list