On Mon, Feb 25, 2008 at 06:20:58PM -0500, Michael Alan Dorman wrote:
>On Mon, 25 Feb 2008 15:20:01 -0500
>George Georgalis <[EMAIL PROTECTED]> wrote:
>
>> I'd like to use mon to manage configuration files, such
>> as .procmailrc, so that the file is result of regex A
>> for some periods of the day and regex B at other times.
>> 
>> Is anyone using mon for this or similar task? how?
>
>mon is for monitoring, not managing.  You can certainly make it do what
>you want, but it will be like driving a nail with a screwdriver---the
>wrong tool for the job rarely produces a pretty result.

I understand. cron is pretty much what I need, with
a little atomic design in scripts, that has worked
fine. I was just wondering if anyone had made config
modifying scripts as a mon test and used the time module
/ scheduler to invoke. Or some other means with mon.

>Consider looking at alternative tools like cfengine or puppet, which
>are both designed for this very use.

dono about puppet, but what I recall about cfengine,
that is overkill for my procmailrc/muttrc files. Will
take another look at them -- indeed both too big a hammer.

I was just wondering if someone identified the best way
to use mon to run scheduled "tasks" vs tests, though I
think the best way is just as I noted above, run my
scripts as tests, and even warn on failure!

// George


-- 
George Georgalis, information system scientist <IXOYE><

_______________________________________________
mon mailing list
mon@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/mon

Reply via email to