Sean Stolon writes:
> 
> When using multiple depends on a single line in my mon.cf, mon seems to
> think they are not ok. [...] Am I missing some sort of syntactical error?

Yes.

> watch ....
>         service dns
>                 interval 60m
>                 monitor dns.monitor
>                 depend routers:ping switch:ping

See the mon manpage for the full details - depend uses  Perl
evaluation so it sounds like you want:

                  depend routers:ping && switch:ping

Reply via email to