Hi,
Try : "depend ! remotemachines.ping" instead of : "depend
remotemachines.ping"
Philippe Ferreira.
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,
_______________________________________________
mon mailing list
mon@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/mon