[hobbit] FILE help?
Rich Smrcina
rsmrcina at wi.rr.com
Wed May 24 17:04:50 CEST 2006
It shows mtime<0. Oops... I guess I assumed this was a client patch and only
applied it to the client. I'll put it on the server.
Also, I'm prefectly OK with the possiblity that this is a documentation issue.
If the functionality doesn't match the documentation, it's always easier to
change the doc. :)
On Wednesday 24 May 2006 9:50 am, David Gore wrote:
> 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
>
>
>
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
--
Rich Smrcina
VM Assist, Inc.
Main: (262)392-2026
Cell: (414)491-6001
Ans Service: (360)715-2467
rich.smrcina at vmassist.com
Catch the WAVV! http://www.wavv.org
WAVV 2007 - Green Bay, WI - May 18-22, 2007
More information about the Xymon
mailing list