On Fri, 26 Sep 2003, Sandeep Singh Kohli wrote: > hi, > First of all i wud like to congratulate the developers of Mon..its a > great system > I want to know whether we can parametrize options in mon.cf > for example > [EMAIL PROTECTED] > interval1=12 m > > > watch yo > servie yo1 > alert exit=1-2 mail1 > alertafter interval1
mon supports pre-processing the config file with m4 just for this purpose. for example, name your config "mon.m4" and make it look like this: define(mail1,[EMAIL PROTECTED])dnl define(interval1,12 m)dnl watch yo servie yo1 alert exit=1-2 mail1 alertafter interval1 it's that simple. > also i have made a really cool interface for mon.cgi...i want to share > it..can u tell me where to send it ?? first off, post it to the mailing list. _______________________________________________ mon mailing list [EMAIL PROTECTED] http://linux.kernel.org/mailman/listinfo/mon