[hobbit] client-local.cfg? feature request?

David Gore David.Gore at verizonbusiness.com
Fri May 12 04:21:27 CEST 2006


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 





More information about the Xymon mailing list