monitoring unreachable hosts
David Rosenstrauch
darose at darose.net
Wed Jul 8 19:26:07 CEST 2009
Frost, Mark {PBG} wrote:
>
>> -----Original Message-----
>> From: David Rosenstrauch [mailto:darose at darose.net]
>> Sent: Wednesday, July 08, 2009 12:39 PM
>> To: nagios-users at lists.sourceforge.net
>> Subject: Re: [Nagios-users] monitoring unreachable hosts
>>
>> Frost, Mark {PBG} wrote:
>>> This topic of unreachable hosts that's come up recently has got me
>>> thinking about an issue we have. We have a few hosts that are behind
>>> proxies and as such are impossible to ping. They have a single
>> service
>>> which we can check through the proxy successfully.
>>>
>>> I'm a little stuck on what to do with the host checks.
>> Might a passive check be the solution here? I.e., instead of having
> the
>> nagios box do an active check and try to connect out to the external
>> hosts, perhaps there's a way to have the external host connect in to
> the
>> nagios box periodically and say "I'm still here".
>>
>> HTH,
>>
>> DR
>
> In my case, this is a host that we have no administrative access to.
> Imagine that you're monitoring yahoo.com :-)
>
> It just seems like while the host check is an integral part of the
> process (in terms of the way that Nagios looks at things), it's also
> completely pointless and actually gets in the way here.
>
> Mark
Hmmm ....
OK, well couldn't you just remove the check_command for those hosts?
From the "define host" docs:
"check_command: This directive is used to specify the short name of the
command that should be used to check if the host is up or down.
Typically, this command would try and ping the host to see if it is
"alive". ... If you leave this argument blank, the host will not be
actively checked. Thus, Nagios will likely always assume the host is up
(it may show up as being in a "PENDING" state in the web interface).
This is useful if you are monitoring printers or other devices that are
frequently turned off. ..."
DR
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
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