Hi guys,
I've been trying to find info on this, but to no avail.
Can Hobbit send messages to a BBPAGE host? I have an existing BB setup, and would like to retain the paging host if possible.
I've been looking at bbproxy, but this seems to run instead of hobbitd to simply relay messages ??
Am I missing something here?? Any suggestions, or kicks in the right direction would be greatly appreciated.
Doug
This email has been scanned by the Scotland Online Email Security System.
Powered by MessageLabs For more information please visit http://www.messagelabs.com/email
On Tue, Oct 24, 2006 at 10:53:22AM +0100, Doug Anderson wrote:
Can Hobbit send messages to a BBPAGE host? I have an existing BB setup, and would like to retain the paging host if possible.
Sorry, not possible. BB only triggers alerts via the bb "page" protocol, and Hobbit never generates these messages.
I've been looking at bbproxy, but this seems to run instead of hobbitd to simply relay messages ??
Correct. The "bbproxy" name (instead of "hobbitproxy" is for historical reasons - it was originally implemented for BB).
Regards, Henrik
How do I debug this error message in bb-display.log ? Lost track of the changes that may cause this issue.
T.J. Yang
Try Search Survival Kits: Fix up your home and better handle your cash with Live Search! http://imagine-windowslive.com/search/kits/default.aspx?kit=improve&locale=e...
On Tue, Oct 24, 2006 at 08:11:10AM -0500, T.J. Yang wrote:
How do I debug this error message in bb-display.log ? Lost track of the changes that may cause this issue.
Most likely, you modified one of the web templates. Look for "&SERVICE" in the ~hobbit/server/web/ directory files.
You should probably use the "&BBSVC" token instead.
Regards, Henrik
I excluded lofs and objfs in DF output.
bash-3.00# diff hobbitclient-sunos.sh.orig hobbitclient-sunos.sh.solaris10
25c25
< FSTYPES=/bin/df -n -l|awk '{print $3}'|egrep -v "^proc|^fd|^mntfs|^ctfs|^devfs|^objfs|^nfs"|sort|uniq
FSTYPES=
/bin/df -n -l|awk '{print $3}'|egrep -v "^objfs|^lofs|^proc|^fd|^mntfs|^ctfs|^devfs|^objfs|^nfs"|sort|uniqbash-3.00#
T.J. Yang
Find a local pizza place, music store, museum and more�then map the best route! http://local.live.com?FORM=MGA001
This was what happened,
bash-3.00$ grep SERVICE * bulletin_header: { text: "bbtest", url: "/hobbit-cgi/bb-hostsvc.sh?HOST=hobbit.test.com&SERVICE=bbtest" },
bash-3.00$
I think I got "&SERVICE" from copy the link directly from Hobbit Server page.
Henrik, thanks again for your pointer.
T.J. Yang
From: henrik at hswn.dk (Henrik Stoerner) Reply-To: hobbit at hswn.dk To: hobbit at hswn.dk Subject: Re: [hobbit] xgetenv: Cannot find value for variable SERVICE Date: Tue, 24 Oct 2006 15:53:21 +0200
On Tue, Oct 24, 2006 at 08:11:10AM -0500, T.J. Yang wrote:
How do I debug this error message in bb-display.log ? Lost track of the changes that may cause this issue.
Most likely, you modified one of the web templates. Look for "&SERVICE" in the ~hobbit/server/web/ directory files.
You should probably use the "&BBSVC" token instead.
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Get today's hot entertainment gossip
http://movies.msn.com/movies/hotgossip?icid=T002MSN03A07001
&SERVICE problem is now fixed, and it bring me back to the reality that I havn't resolve "hobbitd status-board not available" issue.
Any pointer where I should looks from ?
bash-3.00$ tail bb-display.log 2006-10-24 10:19:28 xgetenv: Cannot find value for variable SERVICE 2006-10-24 10:19:28 xgetenv: Cannot find value for variable SERVICE 2006-10-24 10:19:28 xgetenv: Cannot find value for variable SERVICE 2006-10-24 10:19:28 xgetenv: Cannot find value for variable SERVICE 2006-10-24 10:19:28 xgetenv: Cannot find value for variable SERVICE 2006-10-24 10:19:28 xgetenv: Cannot find value for variable SERVICE 2006-10-24 10:19:28 xgetenv: Cannot find value for variable SERVICE 2006-10-24 10:19:28 xgetenv: Cannot find value for variable SERVICE 2006-10-24 10:19:28 xgetenv: Cannot find value for variable SERVICE 2006-10-24 10:22:29 hobbitd status-board not available bash-3.00$
tj
Try Search Survival Kits: Fix up your home and better handle your cash with Live Search! http://imagine-windowslive.com/search/kits/default.aspx?kit=improve&locale=e...
On Tue, Oct 24, 2006 at 10:30:20AM -0500, T.J. Yang wrote:
&SERVICE problem is now fixed, and it bring me back to the reality that I havn't resolve "hobbitd status-board not available" issue.
2006-10-24 10:22:29 hobbitd status-board not available
This message is from bbgen, which generates the static Hobbit overview pages. It connects to the hobbit daemon to retrieve the current status of all tests; this message means that it could not connect to the server.
What are your BBDISP and BBDISPLAYS settings in hobbitserver.cfg ? What do you have in the [bbdisplay] task in hobbitserver.cfg ?
Are the Hobbit webpages being updated ? Check the timestamp in the upper right hand corner of the webpage.
What happens if you run these commands.
$ bbcmd $ $BB $BBDISP "hobbitdboard" $ exit
Henrik
From: henrik at hswn.dk (Henrik Stoerner) Reply-To: hobbit at hswn.dk To: hobbit at hswn.dk Subject: Re: [hobbit] "hobbitd status-board not available" on Sparc Solaris 10 Date: Tue, 24 Oct 2006 17:51:13 +0200
On Tue, Oct 24, 2006 at 10:30:20AM -0500, T.J. Yang wrote:
&SERVICE problem is now fixed, and it bring me back to the reality that I havn't resolve "hobbitd status-board not available" issue.
2006-10-24 10:22:29 hobbitd status-board not available
Sorry to include this longer output, I like to provide the timestamp and frequence .
bash-3.00$ grep status /var/opt/hobbit/log/hobbit/bb-display.log 2006-10-23 14:52:18 hobbitd status-board not available 2006-10-23 15:04:36 hobbitd status-board not available 2006-10-23 17:19:15 hobbitd status-board not available 2006-10-23 17:45:00 hobbitd status-board not available 2006-10-23 18:43:30 hobbitd status-board not available 2006-10-23 19:00:59 hobbitd status-board not available 2006-10-23 19:11:13 hobbitd status-board not available 2006-10-23 19:27:44 hobbitd status-board not available 2006-10-23 19:42:10 hobbitd status-board not available 2006-10-23 20:17:09 hobbitd status-board not available 2006-10-23 20:27:27 hobbitd status-board not available 2006-10-23 21:07:37 hobbitd status-board not available 2006-10-23 21:37:25 hobbitd status-board not available 2006-10-23 22:03:06 hobbitd status-board not available 2006-10-23 22:10:20 hobbitd status-board not available 2006-10-23 23:28:29 hobbitd status-board not available 2006-10-23 23:51:10 hobbitd status-board not available 2006-10-24 00:01:27 hobbitd status-board not available 2006-10-24 00:25:05 hobbitd status-board not available 2006-10-24 00:45:36 hobbitd status-board not available 2006-10-24 00:56:55 hobbitd status-board not available 2006-10-24 01:55:32 hobbitd status-board not available 2006-10-24 02:15:59 hobbitd status-board not available 2006-10-24 02:33:32 hobbitd status-board not available 2006-10-24 02:39:42 hobbitd status-board not available 2006-10-24 03:35:09 hobbitd status-board not available 2006-10-24 03:36:10 hobbitd status-board not available 2006-10-24 03:40:17 hobbitd status-board not available 2006-10-24 03:50:35 hobbitd status-board not available 2006-10-24 04:06:59 hobbitd status-board not available 2006-10-24 04:29:32 hobbitd status-board not available 2006-10-24 04:53:11 hobbitd status-board not available 2006-10-24 04:58:20 hobbitd status-board not available 2006-10-24 05:05:29 hobbitd status-board not available 2006-10-24 05:08:33 hobbitd status-board not available 2006-10-24 05:15:43 hobbitd status-board not available 2006-10-24 05:19:51 hobbitd status-board not available 2006-10-24 05:25:58 hobbitd status-board not available 2006-10-24 06:29:41 hobbitd status-board not available 2006-10-24 06:51:19 hobbitd status-board not available 2006-10-24 06:58:30 hobbitd status-board not available 2006-10-24 07:22:59 hobbitd status-board not available 2006-10-24 07:55:46 hobbitd status-board not available 2006-10-24 08:00:53 hobbitd status-board not available 2006-10-24 08:23:32 hobbitd status-board not available 2006-10-24 08:37:48 hobbitd status-board not available 2006-10-24 08:42:58 hobbitd status-board not available 2006-10-24 09:04:49 hobbitd status-board not available 2006-10-24 09:22:20 hobbitd status-board not available 2006-10-24 09:39:44 hobbitd status-board not available 2006-10-24 10:22:29 hobbitd status-board not available bash-3.00$ grep status /var/opt/hobbit/log/hobbit/bb-display.log |wc 51 306 2805 bash-3.00$
This message is from bbgen, which generates the static Hobbit overview pages. It connects to the hobbit daemon to retrieve the current status of all tests; this message means that it could not connect to the server.
What are your BBDISP and BBDISPLAYS settings in hobbitserver.cfg ? What do you have in the [bbdisplay] task in hobbitserver.cfg ?
Are the Hobbit webpages being updated ? Check the timestamp in the upper right hand corner of the webpage.
What happens if you run these commands.
$ bbcmd
This is really cool command, bbcmd. now I know who to inherit BB variable for debugging purpose.
$ $BB $BBDISP "hobbitdboard"
most of the time this command runs ok with text output like following <snip> zippy1|info|green||0|0|0|0|0||0| zippy1|conn|green|OrdAstLe|1156952148|1161707454|1161709254|0|0|173.61.2.141|-1|green <!-- [flags:OrdAstLe] --> Tue Oct 24 11:30:05 2006 conn ok zippy3|trends|green||0|0|0|0|0||0| zippy3|info|green||0|0|0|0|0||0| zippy3|conn|green|OrdAstLe|1161328583|1161707454|1161709254|0|0|173.61.2.141|-1|green <!-- [flags:OrdAstLe] --> Tue Oct 24 11:30:05 2006 conn ok zither|trends|green||0|0|0|0|0||0| zither|info|green||0|0|0|0|0||0| zither|conn|green|OrdAstLe|1161328583|1161707454|1161709254|0|0|173.61.2.141|-1|green <!-- [flags:OrdAstLe] --> Tue Oct 24 11:30:05 2006 conn ok bash-3.00$
$ exit
Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Stay in touch with old friends and meet new ones with Windows Live Spaces http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://spa...
Hi Henrik-
We're having the same sporadic status-board not available messages on sparc Solaris 10 as T.J. Thought you might want to compare output from two completely separate installations having this problem...thanks!
BBDISP and BBDISPLAYS settings in hobbitserver.cfg: BBDISP="$BBSERVERIP" BBDISPLAYS=""
Further up in the config file we have BBSERVERIP set to: BBSERVERIP="10.16.124.244"
Hobbit webpages are being updated. Clicking on refresh immediately clears status not available errors and brings up an up to date status page.
Here is a short snipped from the bbcmd output you asked for:
$ bbcmd $ $BB $BBDISP "hobbitdboard" 2006-10-24 11:32:29 Using default environment file /usr/local/hobbit/server/etc/ hobbitserver.cfg $ $BB $BBDISP "hobbitdboard" cx2681-spa|trends|green||0|0|0|0|0||0| cx2681-spa|info|green||0|0|0|0|0||0| cx2681-spa|conn|green|OrdAstLe|1160433168|1161714616|1161716416|0|0|10.1 6.124.24 4|-1|green <!-- [flags:OrdAstLe] --> Tue Oct 24 11:30:02 2006 conn ok cx2681-spb|trends|green||0|0|0|0|0||0| cx2681-spb|info|green||0|0|0|0|0||0| cx2681-spb|conn|green|OrdAstLe|1160433168|1161714616|1161716416|0|0|10.1 6.124.24 4|-1|green <!-- [flags:OrdAstLe] --> Tue Oct 24 11:30:02 2006 conn ok farley|trends|green||0|0|0|0|0||0| farley|info|green||0|0|0|0|0||0| farley|conn|green|OrdAstLe|1160433469|1161714616|1161716416|0|0|10.16.12 4.244|-1 |green <!-- [flags:OrdAstLe] --> Tue Oct 24 11:30:02 2006 conn ok L0319p02|trends|green||0|0|0|0|0||0| l0319p02|info|green||0|0|0|0|0||0| l0319p02|conn|green|OrdAstLe|1160436178|1161714616|1161716416|0|0| 10.16.124.244|-1|green <!-- [flags:OrdAstLe] --> Tue Oct 24 11:30:02 2006 conn o k l0319p02|memory|green||1160436170|1161714637|1161716437|0|0|10.17. 4.24|-1|green Tue Oct 24 11:32:50 PDT 2006 - Memory OK l0319p02|files|clear||1160436170|1161714637|1161716437|0|0|10.17.4 .24|-1|clear Files status at Tue Oct 24 11:32:50 PDT 2006 l0319p02|msgs|green||1160436470|1161714637|1161716437|0|0|10.17.4. 24|-1|green System logs at Tue Oct 24 11:32:50 PDT 2006 l0319p02|ports|clear||1160436170|1161714637|1161716437|0|0|10.17.4 .24|-1|clear Tue Oct 24 11:32:50 PDT 2006 - Ports NOT ok l0319p02|procs|clear||1160436170|1161714637|1161716437|0|0|10.17.4 .24|-1|clear Tue Oct 24 11:32:50 PDT 2006 - Processes NOT ok l0319p02|disk|green||1160436170|1161714637|1161716437|0|0|10.17.4. 24|-1|green Tue Oct 24 11:32:50 PDT 2006 - Filesystems OK l0319p02|cpu|green||1160436170|1161714637|1161716437|0|0|10.17.4.2 4|-1|green Tue Oct 24 11:32:50 PDT 2006 up: 21 days, 0 users, 97 procs, load=0.0 8
-----Original Message----- From: Henrik Stoerner [mailto:henrik at hswn.dk] Sent: Tuesday, October 24, 2006 8:51 AM To: hobbit at hswn.dk Subject: Re: [hobbit] "hobbitd status-board not available" on Sparc Solaris 10
On Tue, Oct 24, 2006 at 10:30:20AM -0500, T.J. Yang wrote:
&SERVICE problem is now fixed, and it bring me back to the reality that I havn't resolve "hobbitd status-board not available" issue.
2006-10-24 10:22:29 hobbitd status-board not available
This message is from bbgen, which generates the static Hobbit overview pages. It connects to the hobbit daemon to retrieve the current status of all tests; this message means that it could not connect to the server.
What are your BBDISP and BBDISPLAYS settings in hobbitserver.cfg ? What do you have in the [bbdisplay] task in hobbitserver.cfg ?
Are the Hobbit webpages being updated ? Check the timestamp in the upper
right hand corner of the webpage.
What happens if you run these commands.
$ bbcmd $ $BB $BBDISP "hobbitdboard" $ exit
Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
T.J. Yang
From: henrik at hswn.dk (Henrik Stoerner) Reply-To: hobbit at hswn.dk To: hobbit at hswn.dk Subject: Re: [hobbit] "hobbitd status-board not available" on Sparc Solaris 10 Date: Tue, 24 Oct 2006 17:51:13 +0200
On Tue, Oct 24, 2006 at 10:30:20AM -0500, T.J. Yang wrote:
&SERVICE problem is now fixed, and it bring me back to the reality that I havn't resolve "hobbitd status-board not available" issue.
2006-10-24 10:22:29 hobbitd status-board not available
This message is from bbgen, which generates the static Hobbit overview pages. It connects to the hobbit daemon to retrieve the current status of all tests; this message means that it could not connect to the server.
What are your BBDISP and BBDISPLAYS settings in hobbitserver.cfg ? What do you have in the [bbdisplay] task in hobbitserver.cfg ?
Are the Hobbit webpages being updated ? Check the timestamp in the upper right hand corner of the webpage.
What happens if you run these commands.
$ bbcmd $ $BB $BBDISP "hobbitdboard"
<snip> zippy3|info|green||0|0|0|0|0||0| zippy3|conn|green|OrdAstLe|1161328583|1162037588|1162039388|0|0|173.61.2.141|-1|green <!-- [flags:OrdAstLe] --> Sat Oct 28 07:11:45 2006 conn ok zither|trends|green||0|0|0|0|0||0| zither|info|green||0|0|0|0|0||0| zither|conn|green|OrdAstLe|1161906159|1162037588|1162039388|0|0|173.61.2.141|-1|green <!-- [flags:OrdAstLe] --> Sat Oct 28 07:11:45 2006 conn ok bash-3.00$ $BB $BBDISP "hobbitdboard" bash-3.00$ echo $? 0 bash-3.00$
I ran "$BB $BBDISP "hobbitdboard" command manually, most of the time it return something. But sometimes it return nothing. the exit status of the command is 0, same as successful one.
What is next step to debug this issue ? Too bad, I am still new to dtrace on Solaris 10 to debug this problem.
$ exit
Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Try Search Survival Kits: Fix up your home and better handle your cash with Live Search! http://imagine-windowslive.com/search/kits/default.aspx?kit=improve&locale=e...
From: "T.J. Yang" <tj_yang at hotmail.com> Reply-To: hobbit at hswn.dk To: hobbit at hswn.dk Subject: Re: [hobbit] xgetenv: Cannot find value for variable SERVICE Date: Tue, 24 Oct 2006 10:24:55 -0500
This was what happened,
bash-3.00$ grep SERVICE * bulletin_header: { text: "bbtest", url: "/hobbit-cgi/bb-hostsvc.sh?HOST=hobbit.test.com&SERVICE=bbtest" },
actually change from double quote to single quote fix the problem. above line is from YUI syntax. double qoute somehow will enalbe the attemp to translate the "&SERVICE" variable.
tj
bash-3.00$
I think I got "&SERVICE" from copy the link directly from Hobbit Server page.
Henrik, thanks again for your pointer.
T.J. Yang
From: henrik at hswn.dk (Henrik Stoerner) Reply-To: hobbit at hswn.dk To: hobbit at hswn.dk Subject: Re: [hobbit] xgetenv: Cannot find value for variable SERVICE Date: Tue, 24 Oct 2006 15:53:21 +0200
On Tue, Oct 24, 2006 at 08:11:10AM -0500, T.J. Yang wrote:
How do I debug this error message in bb-display.log ? Lost track of the changes that may cause this issue.
Most likely, you modified one of the web templates. Look for "&SERVICE" in the ~hobbit/server/web/ directory files.
You should probably use the "&BBSVC" token instead.
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Get today's hot entertainment gossip
http://movies.msn.com/movies/hotgossip?icid=T002MSN03A07001To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Stay in touch with old friends and meet new ones with Windows Live Spaces http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://spa...
participants (4)
-
danderson@scotlandonline.co.uk
-
henrik@hswn.dk
-
Robert.Cummings@nordstrom.com
-
tj_yang@hotmail.com