[hobbit] FILE help?

David Gore David.Gore at verizonbusiness.com
Wed May 24 16:50:47 CEST 2006



Rich Smrcina wrote:
> OK, I have the patch applied, and I'm trying to get a handle on the semantics 
> of the descriptions for mtime.
>
> I have the following in hobbit-clients.cfg:
>
> HOST=conn2
>         FILE    /vsamredir/VSAMRedirectorServer.properties mtime<600 red
>
> According to the data returned to the Hobbit server, here are the file 
> properties:
>
> type:100000 (file)
> mode:755 (-rwxr-xr-x)
> linkcount:1
> owner:500 (rks0)
> group:100 (users)
> size:0
> clock:1148474042 (2006/05/24-07:34:02)
> atime:1148470137 (2006/05/24-06:28:57)
> ctime:1093026283 (2004/08/20-13:24:43)
> mtime:1093026283 (2004/08/20-13:24:43)
>
> The description of mtime is as follows:
>
> to check if a file was updated within the past 10 minutes (600 seconds): 
> mtime<600.
>
> The file was not updated within the past 10 minutes, so I would expect to see 
> green.  Here is the information from the page:
>
> red /vsamredir/VSAMRedirectorServer.properties
> File was modified 55447759 seconds ago - should be <0
>
>   
Assuming your host is called 'conn2' and you have this in client-local.cfg:

[conn2]
file:/vsamredir/VSAMRedirectorServer.properties

I would be guess, the patch did not take since your last line should read:

File was modified 55447759 seconds ago - should be <600
                                                                                     
^---------------------
Try this to see how your config parses (from ~/server):

# bin/bbcmd --env=etc/hobbitserver.cfg hobbitd_client --dump-config|grep 
conn2






More information about the Xymon mailing list