On Mon, 8 Apr 2002, SXren Neigaard wrote:

> I'm trying to shutdown heartbeat with mon when I unplug my network card, I'm 
> using the watch Roberto send me:
> 
> *********
> hostgroup ethCard SOM_IP_I_KNOW_IS_GOOD
> 
> watch ethCard
>     service ping
>         interval 1m
>         monitor fping.monitor
>         period
>             alert heartbeat.alert
> *********

from the man page:

       period [label:] periodspec
              A period groups one or more  alarms  and  variables
              which control how often an alert happens when there
              is a failure.  The period keyword  has  two  forms.
              The first takes an argument which is a period spec�
              ification from Patrick Ryan's Time::Period  Perl  5
              module.  Refer  to  "perldoc Time::Period" for more
              information.

in the above example you have no "periodspec". i'd suggest deciding
what you need an putting one there, or at least put "wd {Sun-Sat}".


Reply via email to