[Xymon] FILES in analysis.cfg

Mike Burger mburger at bubbanfriends.org
Tue Feb 18 16:43:13 CET 2014


> On Mon, Feb 17, 2014, at 15:48, Roland Soderstrom wrote:
>>
>> client-local.cfg:
>> [sunos]
>> file:`ls -1 /var/tmp/sys-heartbeat-*`
>>
>
> I'm pretty sure you can't do that. You need to list every file
> individually.

If the user really wants to be able to use a wildcard, another option
might be something like:

file:`find /var/tmp -type f -name sys-heartbeat-* | sort -r`

-- 
Mike Burger
http://www.bubbanfriends.org

"It's always suicide-mission this, save-the-planet that. No one ever just
stops by to say 'hi' anymore." --Colonel Jack O'Neill, SG1



More information about the Xymon mailing list