options available to alert scripts?
I'm looking for a complete list of the options available to mon alert scripts. There are several listed in http://www.kernel.org/software/mon/man/mon.html, but how are these available to my perl scripts? Are options set using getopt? What are the variable names that I can use? Nate ___ mon mailing list mon@linux.kernel.org http://linux.kernel.org/mailman/listinfo/mon
MON_STATEDIR
Just wondering how this directory (/var/lib/mon) is supposed to be used? Is this used by mon or intended to be used by alerts/monitors to keep state data? This seems very useful to have. For example, I would like to keep a counter or the number of alarms within a configurable amount of time. Naturally, this would need to be kept in a file in a directory somewhere. Nate ___ mon mailing list mon@linux.kernel.org http://linux.kernel.org/mailman/listinfo/mon
Re: MON_STATEDIR
On Fri, 10 Feb 2006, Nate Reed wrote: Just wondering how this directory (/var/lib/mon) is supposed to be used? Is this used by mon or intended to be used by alerts/monitors to keep state data? Yes, both, and that's how it is intended to be used. This seems very useful to have. For example, I would like to keep a counter or the number of alarms within a configurable amount of time. Naturally, this would need to be kept in a file in a directory somewhere. Great idea! :) ___ mon mailing list mon@linux.kernel.org http://linux.kernel.org/mailman/listinfo/mon