Hi,
I'am fairly new to mon but i'am currently facing the following problem
We want to monitor 2 interfaces with mon and when the 2 interfaces are
down mon should perform an action.
So I want a dependency from the first check on the second check.
But when reading the docs it seems that a second check/alert is only
performed when the first is ok. In our case it should still do the
second check (even if the first check reports that the interface is
down).
So is this possible?
<snip>
watch remotemachines
service ping
description ping servers on remote side
interval 1m
monitor fping.monitor
period wd {Mon-Sun}
// don't do anything
watch mrvmachines
service fibre
description monitor link state on mrv fibre devices
interval 1m
monitor fibre.monitor // own script which checks via snmp if interface
is up
depend remotemachines.ping
period wd {Mon-Sun}
// perform alert script that does certain things
// only if this check AND the first check report a failure
Kind regards,
--
------------------------------------------------------------------------
Leo Eraly Kangaroot Linux Solutions
System Adminstrator / Developer Grote Steenweg 91
[EMAIL PROTECTED] 2600 Berchem
Tel: +32 3 286 17 10 Belgium
Fax: +32 3 281 23 49
PGP/GnuPG key: 1024D/F05EED4E
Key available at wwwkeys.pgp.net
------------------------- http://www.kangaroot.net ---------------------
_______________________________________________
mon mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/mon