Jim Trocki <[EMAIL PROTECTED]> wrote;
>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}".
Yes I discovered that, sorry about thet stupid error. But it does not fix my
problem, mon still does not shutdown heartbeat.
As describe before, i don't get any errors or anything, but it seems that
whenever I unplug my network cable, mon spawns 4 more mon/perl processes.
Could that mean anything?
Do you guys have any suggestions on how I debug this problem, so I can
pinpoynt my problem?
/S�ren
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.