[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bootstrapping
From: |
Nate Campi |
Subject: |
Re: Bootstrapping |
Date: |
Thu, 19 Feb 2004 09:27:02 -0800 |
User-agent: |
Mutt/1.3.28i |
On Thu, Feb 19, 2004 at 11:05:19AM -0600, Luke A. Kanies wrote:
>
> How do I know if all of my machines are updating themselves? How do I
> know if all of my machines have successfully copied all of their files,
> started all of their processes, made all of their changes? There are many
> potential problems (issues with the cfengine keys, configurations for the
> processes, nonexistent files) and although it's straightforward to have
> cfengine email me, it's less straightforward to turn those emails into
> meaningful information.
A couple thoughts:
Extending cfexecd would go partway towards meeting your goals, and
nicely compartmentalize the changes into an existing wrapper program. It
could be taught to send output in other ways besides SMTP, to filter the
output, and even send alerts via other methods if certain strings are
seen.
Another thought, which seems right in-line with how cfagent does things:
have definable classes when errors are seen, let cfagent deal with it's
own problems via a new "errordefine" feature:
copy:
$(master_etc)/motd
dest=/etc/motd
type=checksum
server=$(fileserver)
define=newmotd
errordefine=brokenmotd
backup=false
shellcommands:
brokenmotd::
"/some/command/to/send/alert"
--
Nate
If Bill Gates had a dime for every time a Windows box crashed...
...Oh, wait a minute, he already does.
- Re: Bootstrapping, (continued)
- Re: Bootstrapping, Luke A. Kanies, 2004/02/18
- Re: Bootstrapping, John Sechrest, 2004/02/18
- Re: Bootstrapping, Chip Seraphine, 2004/02/19
- Re: Bootstrapping, Luke A. Kanies, 2004/02/19
- Re: Bootstrapping, John Sechrest, 2004/02/19
- Re: Bootstrapping, Luke A. Kanies, 2004/02/19
- Re: Bootstrapping, John Sechrest, 2004/02/19
- Re: Bootstrapping <= LDAP and authority, Chip Seraphine, 2004/02/19
- Re: Bootstrapping, Mark . Burgess, 2004/02/19
- Re: Bootstrapping, Luke A. Kanies, 2004/02/19
- Re: Bootstrapping,
Nate Campi <=
- Re: Bootstrapping, John Sechrest, 2004/02/19
- Re: Bootstrapping, Nate Campi, 2004/02/19
- Re: Bootstrapping, Russell Adams, 2004/02/19
- Re: Bootstrapping, Jamie Wilkinson, 2004/02/19
- Re: Bootstrapping, Chip Seraphine, 2004/02/20
Re: Bootstrapping, Jamie Wilkinson, 2004/02/19
Re: Bootstrapping, Luke A. Kanies, 2004/02/16