Disabling Nagios in the event of network card failure.

Kristan Webb Kristan.Webb at bbc.co.uk
Thu Oct 14 12:06:33 CEST 2010


> -----Original Message-----
> From: Giles Coochey [mailto:giles at coochey.net] 
> Sent: 12 October 2010 16:00
> To: Nagios Users List
> Subject: Re: [Nagios-users] Disabling Nagios in the event of 
> network card failure.
> 
> On Tue, October 12, 2010 16:38, Max Hetrick wrote:
> > On 10/12/2010 07:56 AM, Kristan Webb wrote:
> >> Hi All,
> >>
> >> Hopefully an easy query.
> >>
> >> We run Nagios 3 on an Ubuntu box and I'm looking for a way to stop 
> >> Nagios falsely reporting services/hosts as down/unknown if, for 
> >> example, the network cable was pulled out of the server / the card 
> >> failed. This has happened recently for over an hour and now all 
> >> hosts/services have a false hours downtime.
> >>
> >> I'm not too bothered, but I like to try and keep things as neat as 
> >> possible.
> >>
> >> Does anyone know of a way of preventing this? All I can 
> think is some 
> >> way of detecting when the server has lost network and then 
> >> automatically quitting / disabling Nagios?
> >
> > This is pretty much the entire point of Nagios, that is to 
> report when 
> > something has failed.
> >
> > If you're intentionally taking down the network on the host, then I 
> > would suggest scheduling downtime for that host if you or 
> others know 
> > you're going to take it down for a period of time, 
> otherwise, Nagios 
> > is doing it's job.
> >
> 
> I thought you could do some generic test to check the network 
> connectivity (ping default gateway, for instance) and make 
> that test the parent or grand^x-father of all other tests.
> That way if you lose connectivity, that test will fail, 
> others will become unknown.
> 
> 

This makes sense. I guess what I was asking is for Nagios not to even
return unknown, but on reflection this is silly.
I'll experiment with dependencies and at least that way hosts should end
up being unknown rather than critical.
Thanks for your help all.




> 
> --------------------------------------------------------------
> ----------------
> Beautiful is writing same markup. Internet Explorer 9 
> supports standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, 
> and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time 
> creating great experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
> _______________________________________________
> 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
> 

http://www.bbc.co.uk/
This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately.
Please note that the BBC monitors e-mails sent or received.
Further communication will signify your consent to this.
					

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
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