[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: RE: [hobbit] hobbit, file and bbwin question



After thinking about this I also had the same problem where the
clientlocal.cfg had nothing in the file.

The problem was the order of the entries in the client-local.cfg file.

I had put my hostname specific entry after the OS [win32] entry and that did
not work. [win32] is blank and so the blank clientlocal.cfg file

mailrelay.math.purdue.edu is my Win host and so now I have

	[mailrelay.math.purdue.edu]
	file:c:\testbbwin

before

	[win32]


From the client-local.cfg on the server it say:

	# The client-local.cfg file contains configuration for
	# the Hobbit clients running on monitored systems. When
	# clients contact the Hobbit server, they get the section
	# from this file which matches their hostname or operating
	# system

The key word is "or" in the forth line "hostname or operating". I believe
what it matches first is what will get used and searching stops or at least
that is what I saw.

Hope this helps

Robert





> -----Original Message-----
> From: Aaron Zink [mailto:AaronZink (at) eharmony.com]
> Sent: Tuesday, June 10, 2008 3:05 PM
> To: hobbit (at) hswn.dk
> Subject: RE: RE: [hobbit] hobbit, file and bbwin question
> 
> 
> Thanks Galen, but I am also seeing the same result with BBWin 0.12.  The
> downloaded clientlocal.cfg is still 1 byte and files aren't being checked.
> 
> FYI, filesystem.dll is loaded.  BBWin.log with extended debugging looks
> normal:
> 
> 2008/06/10 12:03:03 [DEBUG]: [cpu]: initialization cpu agent started
> 2008/06/10 12:03:03 [DEBUG]: [cpu]: initialization cpu agent ended
> 2008/06/10 12:03:03 [DEBUG]: [disk]: init disk agent AgentDisk::Init
> 2008/06/10 12:03:03 [INFO]: [filesystem]: failed to save logfetch status
> C:\Program Files\BBWin\tmp\logfetch.status : The system cannot find the
> file specified.
> 2008/06/10 12:03:03 [DEBUG]: [msgs]: Begin Msgs Initialization
> AgentMsgs::Init
> 2008/06/10 12:03:03 [DEBUG]: [msgs]: Ending Msgs Initialization
> 2008/06/10 12:03:03 [DEBUG]: Starting hobbit client agent.
> 2008/06/10 12:03:03 [INFO]: bbwin is started.
> 2008/06/10 12:03:03 [DEBUG]: [cpu]: cpu review started
> 2008/06/10 12:03:04 [DEBUG]: [cpu]: cpu review ended
> 2008/06/10 12:03:04 [DEBUG]: [disk]: drive string C:\
> 2008/06/10 12:03:04 [DEBUG]: [disk]: drive string D:\
> 2008/06/10 12:03:04 [DEBUG]: [filesystem]: start
> AgentFileSystem::InitCentralMode
> 2008/06/10 12:03:04 [DEBUG]: [filesystem]: checking file C:\Program
> Files\BBWin\tmp\clientlocal.cfg
> 2008/06/10 12:03:04 [DEBUG]: [filesystem]: reading file C:\Program
> Files\BBWin\tmp\clientlocal.cfg
> 2008/06/10 12:03:04 [DEBUG]: [msgs]: start AgentMsgs::InitCentralMode
> 2008/06/10 12:03:04 [DEBUG]: [msgs]: checking file C:\Program
> Files\BBWin\tmp\clientlocal.cfg
> 2008/06/10 12:03:04 [DEBUG]: [msgs]: reading file C:\Program
> Files\BBWin\tmp\clientlocal.cfg
> 2008/06/10 12:03:06 [DEBUG]: [svcs]: start AgentSvcs::InitCentralMode
> 2008/06/10 12:03:06 [DEBUG]: [svcs]: checking file C:\Program
> Files\BBWin\tmp\clientlocal.cfg
> 2008/06/10 12:03:06 [DEBUG]: [svcs]: reading file C:\Program
> Files\BBWin\tmp\clientlocal.cfg
> 
> - Aaron Zink
> 
> 
> -----Original Message-----
> From: McGraw, Robert P [mailto:rmcgraw (at) purdue.edu]
> Sent: Tuesday, June 10, 2008 11:48
> To: hobbit (at) hswn.dk
> Subject: RE: [hobbit] hobbit, file and bbwin question
> 
> Thanks for the input
> 
> I have install Win V.12 and it acts the same way.
> 
> Thanks again.
> 
> Robert
> 
> 
> 
> 
> > -----Original Message-----
> > From: Galen Johnson [mailto:Galen.Johnson (at) sas.com]
> > Sent: Tuesday, June 10, 2008 2:08 PM
> > To: hobbit (at) hswn.dk
> > Subject: RE: [hobbit] hobbit, file and bbwin question
> >
> >
> > There were some issues with bbwin .11 in this respect.  BBWin .12 is
> > currently available and I believe there were some patches applied to
> make
> > this work...Etienne can speak to that better than I.
> >
> > =G=
> >
> > -----Original Message-----
> > From: Aaron Zink [mailto:AaronZink (at) eharmony.com]
> > Sent: Tuesday, June 10, 2008 1:45 PM
> > To: hobbit (at) hswn.dk
> > Subject: RE: [hobbit] hobbit, file and bbwin question
> >
> > Robert,
> >
> > I too have never been able to get this to work.  The BBWin 0.11 release
> > notes say it is supposed to, but I've had no luck.  My clientlocal.cfg
> and
> > hobbit-client.cfg look similar to yours.  I've tried slashes,
> > doublebackslashes, quotes, etc but it always shows up as "no files
> > monitored".
> >
> > It sounds like you are one step ahead of me since your clientlocal.cfg
> is
> > actually being downloaded.  Mine is 1 byte on the client.
> >
> > If anyone has this working, would you mind posting client-local.cfg and
> > hobbit-client.cfg snips?
> >
> > Aaron Zink
> > Corporate IT Manager
> > eHarmony.com
> > 626.795.4814
> >
> > -----Original Message-----
> > From: McGraw, Robert P [mailto:rmcgraw (at) purdue.edu]
> > Sent: Tuesday, June 10, 2008 09:55
> > To: hobbit (at) hswn.dk
> > Subject: [hobbit] hobbit, file and bbwin question
> >
> > Is anyone in the hobbit world using BBWin in central mode to monitor the
> > status of a file on the Window side and reporting back to a UNIX hobbit
> > server? If so I could really use your help.
> >
> > MYSETUP
> >
> > CLIENT
> > Hostname:       mailrelay.math.purdue.edu
> > OS:     Microsoft Windows Server 2003, Standard Edition Service Pack 2
> > (build 3790)
> > BBWin: BBWin V.12
> >
> > SERVER
> > Hostname:       zorn.math.purdue.edu
> > OS:     SunOS zorn.math.purdue.edu 5.10 Generic_120011-14 sun4u sparc
> > SUNW,Sun-Fire-280R
> >
> >
> >
> > On the server I have the following two files
> >
> > client-local.cfg
> >
> >         [mailrelay.math.purdue.edu]
> >         file:c:\testbbwin
> >
> >
> > hobbit-clients.cfg
> >
> >         HOST=mailrelay.math.purdue.edu
> >                 UP 30m
> >                 LOAD 40.0 70.0
> >                 DISK    * 90 95
> >                 FILE c:\testbbwin red MTIME<600
> >
> > On the BBwin client my clientlocal.cfg file has
> >
> >         file:c:\testbbwin
> >
> > file:c:\testbbwin does not seem to add any information in the
> > msg.mailrelay file.
> >
> >
> >
> > QUESTIONS:
> >
> > I do get any information in the msg.mailrelay file about the
> > file:c:\testbbwin. Is the code built in BBWin to capture the file:
> > information to add to the msg.mailrelay file or is this something that I
> > have to write?
> >
> > Can you provide your files so I can see an example.
> >
> > I really need to monitor a file on the Window side and this would be a
> > great
> > help.
> >
> > I also I am not a window type guy. We run as few window machines as
> > possible
> > and only where necessary.
> >
> >
> > Thanks
> >
> > Robert
> >
> >
> > --------------------------------------------------------------------
> > Robert P. McGraw, Jr.
> > Manager, Computer System                 EMAIL: rmcgraw (at) purdue.edu
> > Purdue University                         ROOM: MATH-807
> > Department of Mathematics                PHONE: (765) 494-6055
> > 150 N. University Street
> > West Lafayette, IN 47907-2067
> >
> >
> > To unsubscribe from the hobbit list, send an e-mail to
> > hobbit-unsubscribe (at) hswn.dk
> >
> >
> >
> >
> > To unsubscribe from the hobbit list, send an e-mail to
> > hobbit-unsubscribe (at) hswn.dk
> >
> >
> 
> 
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe (at) hswn.dk
> 
>