[hobbit] files test fails to work
Henrik Stoerner
henrik at hswn.dk
Sat May 20 23:15:57 CEST 2006
On Thu, May 18, 2006 at 01:47:29PM +0000, David Gore wrote:
> client-local.cfg:
>
> file:/export/home/nmsbb/client/tmp/TEST
>
> hobbit-clients.cfg:
>
> FILE %.*SNMP_COMMUNITY.public.nxg21:TEST.* yellow mtime>100
I fail to see how these two can match. The regex pattern
".*SNMP_COMMUNITY.public.nxg21:TEST.*" does not match the filename
"/export/home/nmsbb/client/tmp/TEST"
Filenames are matched with the names you provide, not some (random)
filename at the end of a symlink chain.
> client-local.cfg:
>
> file:/home/nmsmgr/GNUstep/.GNUstepDefaults
>
> hobbit-clients.cfg:
>
> FILE /home/nmsmgr/GNUstep/.GNUstepDefaults yellow size<1
>
> type:100000 (file)
> mode:600 (-rw-------)
> linkcount:1
> owner:3200 (nmsmgr)
> group:1026 (nmsadmin)
> size:0
> clock:1147958071 (2006/05/18-13:14:31)
> atime:1147958065 (2006/05/18-13:14:25)
> ctime:1147958065 (2006/05/18-13:14:25)
> mtime:1146073519 (2006/04/26-17:45:19)
>
>
> nmsbb at pdcalm105:/home/nmsbb> ls -al /home/nmsmgr/GNUstep/.GNUstepDefaults
> -rw------- 1 nmsmgr nmsadmin 125 Apr 26 17:45
> /home/nmsmgr/GNUstep/.GNUstepDefaults
>
> 'size' is not 0 as reported but 125 bytes, if it was 0 then it should
> fire an alarm, which it doesn't:
Could you send me (directly) a copy of the relevant portion of your
client's ~client/tmp/msg*.txt file, and your entire hobbit-clients.cfg
file?
Regards,
Henrik
More information about the Xymon
mailing list