Xymon Mailing List Archive search

FILE, file, hobbit-clients.cfg, client-local.cfg?

list David Gore
Fri, 12 May 2006 18:22:34 +0000
Message-Id: <user-5f23236ece92@xymon.invalid>

Henrik,

I think this is what you told me to try to get what I want, basically tell the client what command to run to return one or more file names?  My 'ls' should return exactly one filename.  Is there a way to debug this to see where it is breaking?

Server config:

hobbit-clients.cfg:        FILE "%mci-.*SNMP_COMMUNITY.VOIP_DEVICES.nxg17:VOIP_SNMP.*" yellow mtime>300
client-local.cfg:            file:`ls -rt /export/home/netx/Archive/nxg17/nxg17:VOIP_SNMP|tail -1`

Perhaps I cannot use pipes in my command and need something simpler?

-- 
David Gore