* Nathan Gibbs wrote:
> * Nathan Gibbs wrote:
>> Has anyone considered adding a Scheduled downtime function to mon.
>>
>> Why?
>> Summary
>> Don't do what I could get the machines to do.
>>
>> Detail
>> Invariably, when doing planned maintenance, I forget to.
>> Log into mon and disable what I'm working on before the alerts start flying.
>> Log into mon and re-enable what I was working on, so the alerts will fly.
>>
>> I'm currently planning to implement this as a second process that
>> continuously reads a flat csv file containing what,when,how long\n.
>> Then issues the appropriate disable or enable commands to the mon server.
> 
> Ok, I have most of that concept coded up.
> Alas my perl-fu isn't sufficient to turn it into a daemon.
> Anyone interested in taking it from there.
> I'll mail you the code off list.
> 

OK, I rewrote it to function as a monitor, aka, get mon to do the daemon stuff
that I just don't know how to do.

WARNING Coding atrocities this way lie.
An initial alpha release is at
http://www.cmpublishers.com/oss/dts.monitorv1.tar.gz


-- 
Sincerely,

Nathan Gibbs

Systems Administrator
Christ Media
http://www.cmpublishers.com


Attachment: signature.asc
Description: OpenPGP digital signature

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

Reply via email to