12 May
2006
12 May
'06
6:22 p.m.
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