[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: copy action trigger another action
From: |
Nate Campi |
Subject: |
Re: copy action trigger another action |
Date: |
Thu, 9 Jan 2003 11:22:02 -0800 |
User-agent: |
Mutt/1.3.28i |
This sounds like exactly what I'm looking for. Thanks Alan.
On Thu, Jan 09, 2003 at 12:13:14PM -0700, Alan Sparks wrote:
> If I read you right, that's what I do as standard practice. I use a
> define= on the copy action of a config file (ntp.conf, syslog.conf,
> whatever) that trips a shellcommand for that class to do whatever is
> necessary.
>
> Works fine.
> -Alan
>
> On Thu, 2003-01-09 at 09:41, Nate Campi wrote:
> > I'm interested in people's thoughts on whether it would be useful to
> > have successful copies trigger an action. I'm thinking along the lines
> > of sending a HUP to a daemon when it's config file is updated.
> >
> > With most daemons it is fine to simply HUP every time cfagent runs, but
> > with syslog-over-tcp my connections drop and have to restablish every
> > time the syslog daemon is HUP'd. During the period that the connection
> > is waiting to re-establish (one minute) the buffering logs might
> > overflow and start getting dropped before being sent on to the loghost
> > when the connection is re-established.
> >
> > I'd imagine I could write a cfengine module to do this, but I'm not much
> > of a programmer and would rather it was implemented in the core and done
> > Right(tm).
> >
> > Thoughts?
> > --
> > Nate Campi http://www.campin.net
> >
> > "A round man cannot be expected to fit in a square hole right away. He
> > must have time to modify his shape." - Samuel Clemens
> >
> >
> >
> > _______________________________________________
> > Help-cfengine mailing list
> > Help-cfengine@gnu.org
> > http://mail.gnu.org/mailman/listinfo/help-cfengine
> --
> Alan Sparks, Sr. UNIX Administrator asparks@quris.com
> Quris, Inc. (720) 836-2058
>
--
Nate Campi http://www.campin.net
"Smith & Wesson - the original point and click interface."
- Re: copy action trigger another action, Thomas Glanzmann, 2003/01/09
- RE: copy action trigger another action, Wheeler, John, 2003/01/09
- RE: copy action trigger another action, Zhang, Anchi, 2003/01/09
- Re: copy action trigger another action, Thomas Glanzmann, 2003/01/09