On Wed, 13 Jul 2005, Gerardo Arceri wrote:

Hi, I use m4 and mon -M option to make it process the config files with said m4, i use it to separate the diferent parts of the monitoring into diferent files and using include() to join them into the main config. I usually sent alerts to 4 or 5 guys and i need to repeat the alert and upalert statements for each one on each monitored service, I'd like to use m4 to put the alert configuration on a single file and include() it into each watch, problem is: does mon process with m4 just the main config file for macro expansion or it will also process the include()d file?

mon has no "include". the include is part of m4's processing, so it should
perform macro expansion on all the files that you've included.

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

Reply via email to