[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: detecting failed clients and perl.
From: |
Mark . Burgess |
Subject: |
Re: detecting failed clients and perl. |
Date: |
Mon, 9 Apr 2001 19:07:01 +0200 (MET DST) |
On 9 Apr, Mike Lang wrote:
> How would you notify yourself when a client doesn't run cfengine for a
> predefined
> period. I guess I want a email with a list of hosts that didn't run. If
> all things are well
> I would get not mail. If a host is messed up then I get an email, if power
> to a bld is down
> I still only get one email with a list of clients that didn't run.
>
> I could see a mail filter that would keep a list of clients and check them
> off as they run,
> or have cfengine touch a file on an nfs mount to show the last run. I'm
> suure someone has a
> better idea.
>
> Something completely different; cfwrap and cfmail use perl, do you keep a
> copy of perl local
> to each machine? If I keep perl on an nfs mount this could be a point of
> failure since the cron
> jobs would fail.
>
> Thanks for the input,
> --Mike
> ___________________________
> Michael Lang mlang@lanl.gov
> Los Alamos National Laboratory
> ph:505-665-5756, fax:665-5638
> MS B256, Los Alamos, NM 87545
>
try something like cfrun -- -p | grep -v cfrun
cheers
Mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272 Email: Mark.Burgess@iu.hio.no
Fax : +47 22453205 WWW : http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~