Xymon Mailing List Archive search

&green status tags

5 messages in this thread

list Stefan Loos · Mon, 02 May 2005 13:43:22 +0000 ·
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 · Mon, 2 May 2005 16:17:45 +0200 ·
quoted from Stefan Loos
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 · Tue, 03 May 2005 05:15:29 +0000 ·
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 · Thu, 5 May 2005 22:47:56 +0200 ·
Hi Stefan,
quoted from Henrik Størner

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 · Tue, 10 May 2005 05:18:59 +0000 ·
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>&gt;From: Henrik Stoerner &lt;user-ce4a2c883f75@xymon.invalid&gt;<br>&gt;Reply-To: user-ae9b8668bcde@xymon.invalid<br>&gt;To: user-ae9b8668bcde@xymon.invalid<br>&gt;Subject: Re: [hobbit] &amp;green status tags<br>&gt;Date: Thu, 5 May 2005 22:47:56 +0200<br>&gt;<br>&gt;Hi Stefan,<br>&gt;<br>&gt;On Mon, May 02, 2005 at 04:17:45PM +0200, Henrik Stoerner wrote:<br>&gt; &gt; On Mon, May 02, 2005 at 01:43:22PM +0000, Stefan Loos wrote:<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; with bb you could send some tags like &amp;green &amp;red to the bb-server and<br>&gt; &gt; &gt; where replaced by the corresponding image source tag. with hobbit I only<br>&gt; &gt; &gt; get the text &quot;&amp;green&quot; instead of the green icon displayed. Is there a way<br>&gt; &gt; &gt; to configure this with hobbit? most of our customized scripts uses this<br>&gt; &gt; &gt; tags.....<br>&gt; &gt;<br>&gt; &gt; Hobbit does convert any &quot;&amp;COLOR&quot; into the corresponding icon when<br>&gt; &gt; showing the detailed status log; this is done by the hobbitsvc.cgi<br>&gt; &gt; too. At least - it does so for me, and I cannot see why that shouldn't<br>&gt; &gt; be the case for all status logs.<br>&gt; &gt;<br>&gt; &gt; Could you send me the output from<br>&gt; &gt;<br>&gt; &gt;    ~hobbit/server/bin/bb 127.0.0.1 &quot;hobbitdlog HOSTNAME.TEST&quot;<br>&gt; &gt;<br>&gt; &gt; for one of your host.test status logs that have this problem ?<br>&gt;<br>&gt;The log you sent me - if I sent that in a status to Hobbit locally, I<br>&gt;get the green/red/yellow/clear images displayed very nicely here.<br>&gt;<br>&gt;So something else must be wrong. If you view the status in your browser,<br>&gt;<br>&gt;1) what's the URL you request ?<br>&gt;2) if you do a &quot;view source&quot; on the web page, does it contain any<br>&gt;    &quot;img src=...&quot; tags ?<br>&gt;<br>&gt;Regards,<br>&gt;Henrik<br>&gt;<br>&gt;<br>&gt;To unsubscribe from the hobbit list, send an e-mail to<br>&gt;user-095ef1c764a2@xymon.invalid<br>&gt;<br>&gt;<br>
Attachments (1)