hosts showing up as down even though they are not being monitored

Martin Melin martinm at op5.org
Thu Jan 28 09:03:00 CET 2010


On Thu, Jan 28, 2010 at 1:58 AM, Kaplan, Andrew H. <AHKAPLAN at partners.org>wrote:

>  Hi there --
>
> I went through the steps you mentioned in your e-mail, and the problem
> continues to persist.
>
> The preflight check did mention the clients in question did not have any
> services associated
> with them. Aside from those warnings, the Nagios application did not have
> any complaints or
> problems starting up.
>

You've commented out your service definitions for these hosts, but still
have host definitions left in. These hosts are being checked with a
check_command (most probably check-host-alive in a default Nagios), and
since the machines are offline, they show up in Nagios as down.

Go to your $NAGIOSHOME/etc directory and do a "grep -R machinename *" where
machinename is the host you want to remove. It'll show you all the places
where you mention that host, which will let you know which file you still
need to edit. Then do the verify+reload dance again :-)


>
>
>
>  ------------------------------
> *From:* Gary Every [mailto:gevery at gmail.com]
> *Sent:* Wednesday, January 27, 2010 6:52 PM
> *To:* Kaplan, Andrew H.
> *Subject:* Re: [Nagios-users] hosts showing up as down even though they
> are not being monitored
>
> You still need to restart nagios.
> I'm assuming you're running it on *nix of some kind. These are linux
> commands below:
>
> Check your config first tho via:
> /path/to/nagios/bindir/nagios -v /path/to/nagios.cfg
>
> If that checks out without errors, then restart nagios
>
> /path/to/nagios/[STARTUPSCRIPT|nagios] restart
>
>
>
> On Wed, Jan 27, 2010 at 4:13 PM, Kaplan, Andrew H. <AHKAPLAN at partners.org>wrote:
>
>>  Hi there --
>>
>> We are running Nagios 3.1.2 on one of our servers, and the following
>> anomaly is occurring:
>>
>> Several of our clients have been taken offline, during which time they
>> were detected as being down.
>> I have gone through the motions of commenting out references to them in
>> the services file located in
>> the /usr/local/nagios/etc/objects directory. Even though the clients are
>> no longer being monitored,
>> they are still showing up as being down.
>>
>> What other steps do I need to take in order to correct this problem?
>> Thanks.
>>
>> The information in this e-mail is intended only for the person to whom it is
>> addressed. If you believe this e-mail was sent to you in error and the e-mail
>> contains patient information, please contact the Partners Compliance HelpLine athttp://www.partners.org/complianceline . If the e-mail was sent to you in error
>> but does not contain patient information, please contact the sender and properly
>> dispose of the e-mail.
>>
>>
>>
>> ------------------------------------------------------------------------------
>>
>> The Planet: dedicated and managed hosting, cloud storage, colocation
>> Stay online with enterprise data centers and the best network in the
>> business
>> Choose flexible plans and management services without long-term contracts
>> Personal 24x7 support from experience hosting pros just a phone call away.
>> http://p.sf.net/sfu/theplanet-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
>>
>
>
>
> --
> Gary Every
> "Pay it Forward!"
>
>
>
> ------------------------------------------------------------------------------
> The Planet: dedicated and managed hosting, cloud storage, colocation
> Stay online with enterprise data centers and the best network in the
> business
> Choose flexible plans and management services without long-term contracts
> Personal 24x7 support from experience hosting pros just a phone call away.
> http://p.sf.net/sfu/theplanet-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
>



-- 
Martin Melin
____________________________
op5 AB
http://www.op5.com

http://www.op5.org/
http://www.op5.com/op5/products/network-monitor/nagios/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20100128/e6d6e4fa/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
-------------- next part --------------
_______________________________________________
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