Xymon Mailing List Archive search

client-local.cfg? feature request?

list David Gore
Fri, 12 May 2006 02:21:27 +0000
Message-Id: <user-9ac06d232e46@xymon.invalid>

Are there plans to support regular expressions in the client-local.cfg for hostname, log, file, ignore, and trigger?  It is not clear what support there is for regular expressions, perhaps it is already there for ignore, and trigger, but not log, file or the hostname?

 From the documentation:

The *file:FILENAME* line defines the filename of the file to monitor. As with the "log:" entries, a filename enclosed in backticks means a command which will generate the filenames dynamically.

I am not sure I can do this:

file:"mci-nornxdb0[1-6].SNMP_COMMUNITY.public.nxg21:SIG_SNMP.`date +%Y%b%d`"

But let's assume I can or even that the whole file name has to be a command in back ticks.  Do you then put the exact same back ticked string in hobbit-clients.cfg?

FILE "mci-nornxdb0[1-6].SNMP_COMMUNITY.public.nxg21:SIG_SNMP.`date +%Y%b%d`" mtime>900 yellow


-- 
David