Re: [Nagios-users] Notifications during network outage

2009-09-28 Thread Martin Melin
Sure it is. The official documentation has a great section on this, which
ends with:

By default, Nagios will notify contacts about both DOWN and UNREACHABLE
host states. As an admin/tech, you might not want to get notifications about
hosts that are UNREACHABLE. You know your network structure, and if Nagios
notifies you that your router/firewall is down, you know that everything
behind it is unreachable.

If you want to spare yourself from a flood of UNREACHABLE notifications
during network outages, you can exclude the unreachable (u) option from the
*notification_options* directive in your
hosthttp://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#hostdefinitions
and/or the
*host_notification_options* directive in your
contacthttp://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#contactdefinitions.

http://nagios.sourceforge.net/docs/3_0/networkreachability.html

On Mon, Sep 28, 2009 at 7:00 PM, John Andrunas j...@andrunas.net wrote:

 I have a couple of remote sites, and when the link between the main
 site and remote site goes down a LOT of notifications are generated
 for hosts in the remote site.  I have all the parents set correctly
 and it is easy to decipher what is going on when you look at the
 overview, but the mass of email generated is not useful.  What config
 change should I make?  It doesn't seem like removing the notification
 option for unreachable is the correct answer but I can't think of what
 other things would possibly fix email spam if you will.

 --
 John


 --
 Come build with us! The BlackBerryreg; Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay
 ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
 http://p.sf.net/sfu/devconf
 ___
 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

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf___
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 during network outage

2009-09-28 Thread Menard, Chris
Can you create a check on the 'link between the main site and remote site' and 
use that as a parent for all of the remote hosts?

-Original Message-
From: John Andrunas [mailto:j...@andrunas.net] 
Sent: Monday, September 28, 2009 1:00 PM
To: Nagios Users Mail-list
Subject: [Nagios-users] Notifications during network outage

I have a couple of remote sites, and when the link between the main
site and remote site goes down a LOT of notifications are generated
for hosts in the remote site.  I have all the parents set correctly
and it is easy to decipher what is going on when you look at the
overview, but the mass of email generated is not useful.  What config
change should I make?  It doesn't seem like removing the notification
option for unreachable is the correct answer but I can't think of what
other things would possibly fix email spam if you will.

-- 
John

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
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

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
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 during network outage

2009-09-28 Thread Mathieu Gagné
On 9/28/09 1:00 PM, John Andrunas wrote:
 I have a couple of remote sites, and when the link between the main
 site and remote site goes down a LOT of notifications are generated
 for hosts in the remote site.  I have all the parents set correctly
 and it is easy to decipher what is going on when you look at the
 overview, but the mass of email generated is not useful.  What config
 change should I make?  It doesn't seem like removing the notification
 option for unreachable is the correct answer but I can't think of what
 other things would possibly fix email spam if you will.


Try removing 'u' from 'host_notification_options' in your contact 
definition:
http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#contact

--
Mathieu

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
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 during network outage

2009-09-28 Thread John Andrunas
After reading that, I realize that I had misinterpeted the u flag,
thanks I suspect that will help.

2009/9/28 Mathieu Gagné mga...@iweb.com:
 On 9/28/09 1:00 PM, John Andrunas wrote:
 I have a couple of remote sites, and when the link between the main
 site and remote site goes down a LOT of notifications are generated
 for hosts in the remote site.  I have all the parents set correctly
 and it is easy to decipher what is going on when you look at the
 overview, but the mass of email generated is not useful.  What config
 change should I make?  It doesn't seem like removing the notification
 option for unreachable is the correct answer but I can't think of what
 other things would possibly fix email spam if you will.


 Try removing 'u' from 'host_notification_options' in your contact
 definition:
 http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#contact

 --
 Mathieu

 --
 Come build with us! The BlackBerryreg; Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay
 ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
 http://p.sf.net/sfu/devconf
 ___
 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




-- 
John

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
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