* 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. Now, I just need to built a web front end to manage the data file. > Would implementing such functionality in the mon server itself be more > efficient? > Yes it would be, don't look at me, I'm not doing it . :-)
signature.asc
Description: OpenPGP digital signature
_______________________________________________ mon mailing list mon@linux.kernel.org http://linux.kernel.org/mailman/listinfo/mon