On Jun 2, 2009, at 6:14 PM, Patrick Morris wrote:
> On Mon, 01 Jun 2009, emma abi wrote:
>
>> --- On Thu, 5/28/09, emma abi <[email protected]> wrote:
>>> All my remote sites are connected to a Hub while they take
>>> Internet access from the head office that is remote. I am at
>>> the monitoring office which is different from both the head
>>> office and the remotes sites.
> As long as you have the parenting set up correctly, Nagios should do
> exactly what you want. With very little to go on, it sounds like
> you're
> set up like this:
>
> Nagios --- Head Office -- Remote Office
>
> Assuming everything has a parent on it, and the chain of parents leads
> directly back ifrom the Remote Office to the Nagios box, everything
> should
> just work.
While it's not entirely clear, I think it's more complicated than
this. I interpret it as --
Internet
|
Head Office
|
Nagios ------ Remote Site
From his perspective, the remote site is still up no matter the
status of the head office, even though from a production standpoint
it's broken. Host dependencies and parenting won't work because the
status of the remote site is always OK. My only suggestion would be to
create a check that's run from Remote Site to the Internet that would
fail to know when it's broken. If the OP really needed to have the
status of all the services at that site show critical I think he'd
need to do something creative like disable active checks of those
services, and submit a passive CRITICAL result for them as part of an
event_handler. Do the opposite when the head office recovered... Icky
and my thinking may not be clear this morning...
--
Marc
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Nagios-users mailing list
[email protected]
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