[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bb query "host.status" not working
- To: hobbit (at) hswn.dk
- Subject: bb query "host.status" not working
- From: Omar Hermannsson <omar (at) basis.is>
- Date: Thu, 10 Jul 2008 12:13:50 +0000
- User-agent: Thunderbird 2.0.0.14 (X11/20080505)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi. It's possible I've stumbled uppon a bug. I'm using a snapshot version, two or three days old. Upgraded from 4.2.0.
My problem is that I get no response from running 'bb 127.0.0.1 "query host.conn"'. This was working before and is working on other older instances
I'm running elsewhere.
Following is what I've done to debug so far, do you have any suggestions? Maybe I'm doing something wrong here?
This is the version I'm currently using:
pmonitor02 bin # ./bb --help
Hobbit version 4.3.0-0.20080403
This is what I get from the command with debuging:
pmonitor02 ~ # bb 127.0.0.1 --debug "query huginn.conn"
2008-07-10 11:48:50 Transport setup is:
2008-07-10 11:48:50 bbdportnumber = 1984
2008-07-10 11:48:50 bbdispproxyhost = NONE
2008-07-10 11:48:50 bbdispproxyport = 0
2008-07-10 11:48:50 Recipient listed as '127.0.0.1'
2008-07-10 11:48:50 Hobbit protocol on port 1984
2008-07-10 11:48:50 Will connect to address 127.0.0.1 port 1984
2008-07-10 11:48:50 Connect status is 0
2008-07-10 11:48:50 Closing connection
Here is the log for hobbitd running in debug mode at the same time. Notice the "query hug" line:
2008-07-10 11:48:50 -> do_message/1 (169 bytes): status+6 sapp04,skyrr,median,local.id green fim júl 10 11:48:50 GMT 2008 idd test
2008-07-10 11:48:50 -> update_statistics
2008-07-10 11:48:50 <- update_statistics
2008-07-10 11:48:50 -> get_hts
2008-07-10 11:48:50 <- get_hts
2008-07-10 11:48:50 ->handle_status
2008-07-10 11:48:50 posting to stachg channel: host=sapp04.skyrr.median.local, test=id
2008-07-10 11:48:50 -> posttochannel
2008-07-10 11:48:50 Posting message 5 to 1 readers
2008-07-10 11:48:50 <- posttochannel
2008-07-10 11:48:50 posting to status channel
2008-07-10 11:48:50 -> posttochannel
2008-07-10 11:48:50 Posting message 5 to 1 readers
2008-07-10 11:48:50 <- posttochannel
2008-07-10 11:48:50 <-handle_status
2008-07-10 11:48:50 <- do_message/1
2008-07-10 11:48:50 -> do_message/1 (9 bytes): query hug
2008-07-10 11:48:50 -> update_statistics
2008-07-10 11:48:50 <- update_statistics
2008-07-10 11:48:50 -> get_hts
2008-07-10 11:48:50 -> log_ghost
2008-07-10 11:48:50 <- log_ghost
2008-07-10 11:48:50 <- get_hts
2008-07-10 11:48:50 -> oksender
2008-07-10 11:48:50 <- oksender(1-a)
2008-07-10 11:48:50 <- do_message/1
Hobbitdboard successfully returns info for the host:
pmonitor02 ~ # bb 127.0.0.1 "hobbitdboard" | grep huginn.conn
huginn|conn|green|OrdAstLe|1213505936|1215688713|1215690513|0|0|10.26.2.16|-1|green <!-- [flags:OrdAstLe] --> Thu Jul 10 11:18:08 2008 conn ok
Cheers,
Omar
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFIdfz9O5lNk+Yy9cgRAtgSAJ9a17KnGiQuIY4ExUUvYYZtptw7jACfZoP9
9DoLP7dBpJzDNmeDjg5aNBs=
=asXk
-----END PGP SIGNATURE-----