&green status tags
list Stefan Loos
Hi, with bb you could send some tags like &green &red to the bb-server and where replaced by the corresponding image source tag. with hobbit I only get the text "&green" instead of the green icon displayed. Is there a way to configure this with hobbit? most of our customized scripts uses this tags..... Thanks
list Henrik Størner
▸
On Mon, May 02, 2005 at 01:43:22PM +0000, Stefan Loos wrote:
with bb you could send some tags like &green &red to the bb-server and where replaced by the corresponding image source tag. with hobbit I only get the text "&green" instead of the green icon displayed. Is there a way to configure this with hobbit? most of our customized scripts uses this tags.....
Hobbit does convert any "&COLOR" into the corresponding icon when showing the detailed status log; this is done by the hobbitsvc.cgi too. At least - it does so for me, and I cannot see why that shouldn't be the case for all status logs. Could you send me the output from ~hobbit/server/bin/bb 127.0.0.1 "hobbitdlog HOSTNAME.TEST" for one of your host.test status logs that have this problem ? Regards, Henrik
list Stefan Loos
yes - here it is..... >From: user-ce4a2c883f75@xymon.invalid (Henrik Stoerner) >Reply-To: user-ae9b8668bcde@xymon.invalid >To: user-ae9b8668bcde@xymon.invalid >Subject: Re: [hobbit] &green status tags >Date: Mon, 2 May 2005 16:17:45 +0200 > >On Mon, May 02, 2005 at 01:43:22PM +0000, Stefan Loos wrote: > > > > with bb you could send some tags like &green &red to the bb-server and > > where replaced by the corresponding image source tag. with hobbit I only > > get the text "&green" instead of the green icon displayed. Is there a way > > to configure this with hobbit? most of our customized scripts uses this > > tags..... > >Hobbit does convert any "&COLOR" into the corresponding icon when >showing the detailed status log; this is done by the hobbitsvc.cgi >too. At least - it does so for me, and I cannot see why that shouldn't >be the case for all status logs. > >Could you send me the output from > > ~hobbit/server/bin/bb 127.0.0.1 "hobbitdlog HOSTNAME.TEST" > >for one of your host.test status logs that have this problem ? > > >Regards, >Henrik > > > > >
Attachments (1)
list Henrik Størner
Hi Stefan,
▸
On Mon, May 02, 2005 at 04:17:45PM +0200, Henrik Stoerner wrote:On Mon, May 02, 2005 at 01:43:22PM +0000, Stefan Loos wrote:with bb you could send some tags like &green &red to the bb-server and > where replaced by the corresponding image source tag. with hobbit I only > get the text "&green" instead of the green icon displayed. Is there a way > to configure this with hobbit? most of our customized scripts uses this > tags.....Hobbit does convert any "&COLOR" into the corresponding icon when showing the detailed status log; this is done by the hobbitsvc.cgi too. At least - it does so for me, and I cannot see why that shouldn't be the case for all status logs. Could you send me the output from ~hobbit/server/bin/bb 127.0.0.1 "hobbitdlog HOSTNAME.TEST" for one of your host.test status logs that have this problem ?
The log you sent me - if I sent that in a status to Hobbit locally, I get the green/red/yellow/clear images displayed very nicely here. So something else must be wrong. If you view the status in your browser, 1) what's the URL you request ? 2) if you do a "view source" on the web page, does it contain any "img src=..." tags ? Regards, Henrik
list Stefan Loos
Hello Henrik, the url is: http://bbintegralx1/hobbit-cgi/bb-hostsvc.sh?HOSTSVC=i-epa01.hwmon&IP=10.204.211.51&DISPLAYNAME=i-epa01 in the source I only see some <td align=center>&green</td> (I attach the complete source to this mail) We see this behaviour wit bbgen too. With a normal bb server - we still have one in a seprerate development network - we see the green, red... bottoms. <br><br><br>>From: Henrik Stoerner <user-ce4a2c883f75@xymon.invalid><br>>Reply-To: user-ae9b8668bcde@xymon.invalid<br>>To: user-ae9b8668bcde@xymon.invalid<br>>Subject: Re: [hobbit] &green status tags<br>>Date: Thu, 5 May 2005 22:47:56 +0200<br>><br>>Hi Stefan,<br>><br>>On Mon, May 02, 2005 at 04:17:45PM +0200, Henrik Stoerner wrote:<br>> > On Mon, May 02, 2005 at 01:43:22PM +0000, Stefan Loos wrote:<br>> > ><br>> > > with bb you could send some tags like &green &red to the bb-server and<br>> > > where replaced by the corresponding image source tag. with hobbit I only<br>> > > get the text "&green" instead of the green icon displayed. Is there a way<br>> > > to configure this with hobbit? most of our customized scripts uses this<br>> > > tags.....<br>> ><br>> > Hobbit does convert any "&COLOR" into the corresponding icon when<br>> > showing the detailed status log; this is done by the hobbitsvc.cgi<br>> > too. At least - it does so for me, and I cannot see why that shouldn't<br>> > be the case for all status logs.<br>> ><br>> > Could you send me the output from<br>> ><br>> > ~hobbit/server/bin/bb 127.0.0.1 "hobbitdlog HOSTNAME.TEST"<br>> ><br>> > for one of your host.test status logs that have this problem ?<br>><br>>The log you sent me - if I sent that in a status to Hobbit locally, I<br>>get the green/red/yellow/clear images displayed very nicely here.<br>><br>>So something else must be wrong. If you view the status in your browser,<br>><br>>1) what's the URL you request ?<br>>2) if you do a "view source" on the web page, does it contain any<br>> "img src=..." tags ?<br>><br>>Regards,<br>>Henrik<br>><br>><br>>To unsubscribe from the hobbit list, send an e-mail to<br>>user-095ef1c764a2@xymon.invalid<br>><br>><br>
Attachments (1)