Xymon Mailing List Archive search

Question about client-local.cfg

list Colin Coe
Tue, 11 Mar 2014 06:03:07 +0800
Message-Id: <user-75506f99b4e1@xymon.invalid>

Hi all

Thanks for the responses and tips but its all sorted now.

CC

On Mon, Mar 10, 2014 at 5:45 PM, Henrik Størner <user-ce4a2c883f75@xymon.invalid> wrote:
Den 2014-03-09 23:47, Colin Coe skrev:
On Mon, Mar 10, 2014 at 6:38 AM, Colin Coe <user-5b250cd7a540@xymon.invalid> wrote:
Hi all

Server info:
Host - RHEL6.5
Version - 4.3.17
Packaged by J Cleaver (Terabithia)

I'm having a problem with a definition in /etc/xymon/client-local.cfg.
---
[host=dmz_ap01]
file:`ls -ltr /home/enmac/customer-data/CUST9100REP*CSV | tail -n 1`
---
The problem is that Xymon reports bad (red) with the page showing
---
 -rw-r--r-- 1 username groupname14314345 Mar 10  2014
/home/username/customer-data/CUST9100REP20140310002349.CSV
File is missing
---
Now, the file is not missing, and Xymon is correctly showing its mode,
size, ownership details, etc.
Any ideas what I've done wrong here?
If the file data is present in the client data (check the "Client data" link
on any status page), then the problem is with your analysis.cfg rules.

Regards,
Henrik

-- 
RHCE#805007969328369