On Wednesday 04 December 2002 14:27, Frank A Ekern wrote:
> Is there a way to get an alert script to be called each time a check has
> been performed, regardless of the whether the check failed or succeeded?
>
> I could probably achieve this by having the monitor script always return
> non-zero, and then defining my own exit status to decide whether the
> check was OK or not, and then use something like:
> alert exit=1 file.alert
> alert exit=2 file.alert

maybe you can run the alert as a monitor...

monitor some.monitor
monitor /path/to/alert/dir/some.alert

Piero
_______________________________________________
mon mailing list
[EMAIL PROTECTED]
http://linux.kernel.org/mailman/listinfo/mon

Reply via email to