[Nagios-users] Notifications configuration problem

2011-06-02 Thread Michael Vaknine
Hi,

 

I hope I am on the right place and if not please accept my apologies and
simply ignore.

 

I am usuing Nagios Core version 3.2.3 with check_mk v1.1.9i7

 

I am monitoring some servers on a different site and usuing ADSL line for
this.

I have problems with the ADSL Each time I get a notification that a server
is down and then after 5seconds I get a notification that the server is up
again.

Is there a way to configure a notification that Nagios will think that it
has a problem only if it is persistent more than 5 minutes or so?

 

Thanks

Michael

--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] Notifications configuration problem

2011-06-02 Thread Matthew Pounsett

On 2011-06-02, at 01:44, Michael Vaknine wrote:

 I am monitoring some servers on a different site and usuing ADSL line for 
 this.
 I have problems with the ADSL Each time I get a notification that a server is 
 down and then after 5seconds I get a notification that the server is up again.
 Is there a way to configure a notification that Nagios will think that it has 
 a problem only if it is persistent more than 5 minutes or so?

For this you use max_check_attempts.   This tells nagios how many times in a 
row the check must be in a non-OK state before it sends an alert.  Combining 
max_check_attempts with the two interval settings (check_interval, 
retry_interval) determines how much time passes while those checks are being 
done.

http://nagios.sourceforge.net/docs/nagioscore/3/en/objectdefinitions.html#service



--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
Nagios-users mailing list
Nagios-users@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


[Nagios-users] Notifications configuration

2009-03-03 Thread Burton Simonds
I am setting up my first nagios instance, and I am trying to figure
out how to set up the notifications.   I would like to have any
service that is a warning send an email, while any service that is
critical send a page.  I can not find in the configurations where I
can set that threshold.

Can someone please point me in the right direction?

Thanks,
B

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] Notifications configuration

2009-03-03 Thread Marc Powell

On Mar 3, 2009, at 10:45 AM, Burton Simonds wrote:

 I am setting up my first nagios instance, and I am trying to figure
 out how to set up the notifications.   I would like to have any
 service that is a warning send an email, while any service that is
 critical send a page.  I can not find in the configurations where I
 can set that threshold.

 Can someone please point me in the right direction?

Nagios doesn't implement that type of logic. Some options that come to  
mind --

1) Create a contact per status. contact1 that sends e-mails only does  
so for critical services; contact2 that sends pages only does so for  
warning services.
2) Have one contact but multiple notification commands  
(service_notification_commands service-notify-by-email,service-notify- 
by-pager). -by-email and -by-pager contain simple logic to only work  
for critical or warning respectively.
3) Create one contact with one notification command. That notification  
command contains the simple logic to send an e-mail or send a page  
depending on the notification type.
4) ...
5) Profit!

This kind of configuration is discussed somewhat frequently on the  
list. The archives might provide more information.

--
Marc


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Nagios-users mailing list
Nagios-users@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