[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [hobbit] Configuration question
- To: <hobbit (at) hswn.dk>
- Subject: RE: [hobbit] Configuration question
- From: "Daniel Elswit" <de21 (at) cornell.edu>
- Date: Thu, 10 Jul 2008 15:34:57 -0400
- Organization: Cornell University
- References: <008901c8e12f$6958d100$3c0a7300$ (at) edu> <001301c8e13e$bc0fc070$342f4150$ (at) edu> <961092e10807081414m3d4986d5y43c87a63314334a9 (at) mail.gmail.com> <001401c8e1bd$7d9ba500$78d2ef00$ (at) edu> <997a524e0807090910k3bb0aebcq340f1aa7023f1f98 (at) mail.gmail.com> <001201c8e292$ab1ff500$015fdf00$ (at) edu> <997a524e0807100755k14aca751lcdb7de9fdc9d08c9 (at) mail.gmail.com> <003101c8e2a1$da263c10$8e72b430$ (at) edu> <997a524e0807100848o2abd490l2b86113f162fa322 (at) mail.gmail.com> <004201c8e2b2$b2ba29a0$182e7ce0$ (at) edu> <997a524e0807101207n2775adbei4d6aa7850255c60a (at) mail.gmail.com>
- Thread-index: AcjiwKiVbnSsUXbtSAeIN4YPgCGVkgAAfrcg
Yes, I get a slew of this sort of thing:
2008-07-10 12:38:49 init_state(svr1,cit,cornell,edu.trends, 19, ...)
2008-07-10 12:38:49 find_or_create_column(trends)
2008-07-10 12:38:49 init_state: hostname=svr1.cit.cornell.edu,
testname=trends, color=0, acked=0, age=, oldage=1, propagate=1, alert=0
2008-07-10 12:38:49 init_state(svr1,cit,cornell,edu.info, 134769712, ...)
2008-07-10 12:38:49 find_or_create_column(info)
2008-07-10 12:38:49 init_state: hostname=svr1.cit.cornell.edu,
testname=info, color=0, acked=0, age=, oldage=1, propagate=1, alert=0
2008-07-10 12:38:49 init_state(svr1,cit,cornell,edu.ntp, 134769712, ...)
2008-07-10 12:38:49 find_or_create_column(ntp)
2008-07-10 12:38:49 init_state: hostname=svr1.cit.cornell.edu, testname=ntp,
color=5, acked=0, age=1d22h09m, oldage=1, propagate=1, alert=0
2008-07-10 12:38:49 init_state(svr1,cit,cornell,edu.dns, 134769712, ...)
2008-07-10 12:38:49 find_or_create_column(dns)
2008-07-10 12:38:49 init_state: hostname= svr1.cit.cornell.edu,
testname=dns, color=0, acked=0, age=1d22h09m, oldage=1, propagate=1, alert=0
2008-07-10 12:38:49 init_state(svr1,cit,cornell,edu.conn, 134769712, ...)
2008-07-10 12:38:49 find_or_create_column(conn)
2008-07-10 12:38:49 init_state: hostname= svr1.cit.cornell.edu,
testname=conn, color=1, acked=0, age=1d22h10m, oldage=1, propagate=1,
alert=0
2008-07-10 12:38:49 init_state(cals-seaintir.trends, 134769712, ...)
2008-07-10 12:38:49 find_or_create_column(trends)
If I run the command below I don't get anything, but if I add "-debug" I
get:
2008-07-10 15:32:17 Transport setup is:
2008-07-10 15:32:17 bbdportnumber = 1984
2008-07-10 15:32:17 bbdispproxyhost = NONE
2008-07-10 15:32:17 bbdispproxyport = 0
2008-07-10 15:32:17 Recipient listed as 'localhost'
2008-07-10 15:32:17 Standard BB protocol on port 1984
2008-07-10 15:32:17 Will connect to address localhost port 1984
2008-07-10 15:32:17 Connect status is 0
2008-07-10 15:32:17 Sent 125 bytes
2008-07-10 15:32:17 Closing connection
--Dan
From: Ralph Mitchell [mailto:ralphmitchell (at) gmail.com]
Sent: Thursday, July 10, 2008 3:08 PM
To: hobbit (at) hswn.dk
Subject: Re: [hobbit] Configuration question
Do you get anything after the "close connection"?? I get a bunch of
init_state(host,domain,com.test, -567484, ...)
find_or_create_column(test)
init_state: hostname=host.domain.com, testname=test, color=0......
one for each column for each host. What do yuo get from this command:
server/bin/bb localhost "hobbitdboard
fields=hostname,testname,color,flags,lastchange,logtime,validtime,acktime,di
sabletime,sender,cookie,line1,acklist"
That's all on one line. It's what bbgen does immediately after logging
"load_state()"
Ralph
On Thu, Jul 10, 2008 at 12:30 PM, Daniel Elswit <de21 (at) cornell.edu> wrote:
Ah. got it. I see this:
2008-07-10 12:38:49 load_bbhosts: -- got line '10.35.80.51
test.cals.cornell.edu # noping dns ntp'
2008-07-10 12:38:49 init_host(test.cals.cornell.edu)
2008-07-10 12:38:49 load_state()
2008-07-10 12:38:49 Transport setup is:
2008-07-10 12:38:49 bbdportnumber = 1984
2008-07-10 12:38:49 bbdispproxyhost = NONE
2008-07-10 12:38:49 bbdispproxyport = 0
2008-07-10 12:38:49 Recipient listed as '10.253.209.163'
2008-07-10 12:38:49 Standard BB protocol on port 1984
2008-07-10 12:38:49 Will connect to address 10.253.209.163 port 1984
2008-07-10 12:38:49 Connect status is 0
2008-07-10 12:38:49 Sent 126 bytes
2008-07-10 12:38:49 Read 3601 bytes
2008-07-10 12:38:49 Closing connection
--Dan
From: Ralph Mitchell [mailto:ralphmitchell (at) gmail.com]
Sent: Thursday, July 10, 2008 11:49 AM
To: hobbit (at) hswn.dk
Subject: Re: [hobbit] Configuration question
OK. What I did to get that log was: stop hobbit, change the bbdisplay entry
in server/etc/hobbitlaunch.cfg to read:
CMD bbgen $BBGENOPTS --report --debug
then I renamed the bb-display.log file and restarted hobbit. The log
fragment I posted came from the new bb-display.log during/after it read
through the bb-hosts file.
I guess you wouldn't need to stop/start Hobbit, as it's trying to launch
bbgen every minute...
Ralph
On Thu, Jul 10, 2008 at 10:30 AM, Daniel Elswit <de21 (at) cornell.edu> wrote:
My bb-display.log has not updated in 2 days (not since I had an initial
problem related to a missing library that was resolved.) I don't see any of
what you have below. The hobbitd.log says "Setup complete". Upon starting
of the service, hobbitlaunch.log says:
2008-07-10 11:20:46 hobbitlaunch starting
2008-07-10 11:20:46 Loading tasklist configuration from
/usr/bin/hobbit/server/etc/hobbitlaunch.cfg
2008-07-10 11:20:46 Loading hostnames
2008-07-10 11:20:46 Loading saved state
2008-07-10 11:20:46 Setting up network listener on 0.0.0.0:1984
2008-07-10 11:20:46 Setting up signal handlers
2008-07-10 11:20:46 Setting up hobbitd channels
2008-07-10 11:20:46 Setting up logfiles
2008-07-10 11:20:52 Task bbdisplay terminated by signal 6
2008-07-10 11:21:52 Task bbdisplay terminated by signal 6
2008-07-10 11:22:52 Task bbdisplay terminated by signal 6
The bbdisplay errors continue to occur every few minutes.
--Dan
From: Ralph Mitchell [mailto:ralphmitchell (at) gmail.com]
Sent: Thursday, July 10, 2008 10:55 AM
To: hobbit (at) hswn.dk
Subject: Re: [hobbit] Configuration question
On Thu, Jul 10, 2008 at 8:41 AM, Daniel Elswit <de21 (at) cornell.edu> wrote:
Strangely, bben -debug shows that it cooks right through the bb-hosts file
and then after the last line, aborts with no further information. bbgen
-version runs properly and shows the correct version. I'm beginning to
wonder if the bbgen file itself is corrupted.
This is what I get in my bb-display.log after a restart. The first two
lines below are the last two from bb-hosts - a blank comment line and an
include:
2008-07-10 09:37:51 load_bbhosts: -- got line '#'
2008-07-10 09:37:51 Opening file /home/hobbit/server/etc/ghosts.inc
2008-07-10 09:37:51 load_state()
2008-07-10 09:37:51 Transport setup is:
2008-07-10 09:37:51 bbdportnumber = 1984
2008-07-10 09:37:51 bbdispproxyhost = NONE
2008-07-10 09:37:51 bbdispproxyport = 0
2008-07-10 09:37:51 Recipient listed as '10.134.13.133'
2008-07-10 09:37:51 Standard BB protocol on port 1984
2008-07-10 09:37:51 Will connect to address 10.134.13.133 port 1984
Do you get the "load_state()" ??
Ralph Mitchell