Disabling Nagios in the event of network card failure.

Allan Clark allanc at chickenandporn.com
Tue Oct 12 17:14:03 CEST 2010


On Tue, Oct 12, 2010 at 07:38, Max Hetrick <maxhetrick at verizon.net> 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.

Although I agree with Max, perhaps making all services dependent on a
check for the NIC working would convert that period during which the
NIC fails into different state.

Allan
-- 
allanc at chickenandporn.com  "金鱼" http://linkedin.com/in/goldfish

------------------------------------------------------------------------------
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