dependencies checks

Josef Bergmann joe at bec.at
Wed Mar 24 02:47:52 EST 2004


Am Mittwoch, 24. März 2004 00:23 schrieb Jeremy Kister:
> On Tue Mar 23 08:05:09 EST 2004, Josef Bergmann wrote:
> > >   Group "switch2" {
> > >     hostname: 192.168.1.2
> > >     Service Ping
> > >     depends: Top:switch1:Ping
> > >   }
> > Sorry but that did not work.
>
> Hrm.. perhaps we're suffering from an i-suck error.  instead, try:
>   Group "switch2" {
>     hostname: 192.168.1.2
>     Service Ping {
>       depends: Top:switch1:Ping
>     }
>    }

Doesn't work either ...
WARNING: in file '/var/argus/config' on line ... - Cannot resolve dependency: 
Top:switch1:Ping

But that gave me a few ideas and i tried 
Group "switch2" {
	depends: Top:switch1
	hostname: 192.168.1.2
	Service Ping
}

Bingo!

I found depends should stay bevor any services-definitions and it could not 
depend on services (with V 3.2.1).

bye Josef
-- 
BERGMANN engineering & consulting  http://bec.at


More information about the Arguslist mailing list