Xymon Mailing List Archive search

bbegn --docurl and Legend Question

5 messages in this thread

list Wiskbroom · Thu, 12 Nov 2009 12:13:38 -0500 ·
Hello All;

I am running xymon 4.2.2 and I am curious about the following:

1.  I would like to hyperlink all of my hosts, perhaps with a few excludes, to something using the following?

~/server/bin/bbgen --docurl=http://systeminfo/ServersForm.aspx?name=%s

The problem is that my pages get totally messed up (broken gifs), then a few seconds later recover.  I know that I must be using bbgen improperly, so I am hoping for a few pointers in the right direction so that my entries for my hosts are shown with hyperlinks to additional info as shown when the link is visited. Is their an entry that I must make in a file under etc?  I've looked and am unable to find any.

2.  My prior version of BB BTF has a legend at the bottom, is their any way to show the legend at the bottom of xymon?  A few of my users are asking for this as they are clueless to what the icons all mean.

Thank you!

.vp
list Alan Sparks · Thu, 12 Nov 2009 12:20:21 -0700 ·
quoted from Wiskbroom
user-ddebaeecde97@xymon.invalid wrote:
1.  I would like to hyperlink all of my hosts, perhaps with a few
excludes, to something using the following?

~/server/bin/bbgen --docurl=http://systeminfo/ServersForm.aspx?name=%s
I'm not sure why you didn't add the --docurl option to the BBGENOPTS=
configuration in etc/hobbitserver.cfg.  Maybe that might help...
quoted from Wiskbroom
2.  My prior version of BB BTF has a legend at the bottom, is their
any way to show the legend at the bottom of xymon?  A few of my users
are asking for this as they are clueless to what the icons all mean.
Xymon doesn't do that by default, but with a minor hack to the
web/bb_footer file, you can emulate it.  I have something like the
following, that replaces the big <TABLE> chunk in bb_footer:

<TABLE SUMMARY="Bottomline" WIDTH="100%">
<TR>
  <TD COLSPAN="7"> <HR WIDTH="100%"> </TD>
</TR>
<TR>
<TD ALIGN="center" WIDTH="13%">
        <FONT FACE="Arial, Helvetica" COLOR="silver">
        <A HREF="&BBHELPSKIN/bb-help.html#green">
        <IMG SRC="&BBSKIN/green.gif" WIDTH="16" HEIGHT="16" BORDER="0"
        ALIGN="middle" ALT="green"></A>ok</FONT></TD>
<TD ALIGN="center" WIDTH="13%">
        <FONT FACE="Arial, Helvetica" COLOR="silver">
        <A HREF="&BBHELPSKIN/bb-help.html#yellow">
        <IMG SRC="&BBSKIN/yellow.gif" WIDTH="16" HEIGHT="16" BORDER="0"
        ALIGN="middle" ALT="yellow"></A>attention</FONT></TD>
<TD ALIGN="center" WIDTH="13%">
        <FONT FACE="Arial, Helvetica" COLOR="silver">
        <A HREF="&BBHELPSKIN/bb-help.html#red">
        <IMG SRC="&BBSKIN/red.gif" WIDTH="16" HEIGHT="16" BORDER="0"
        ALIGN="middle" ALT="red"></A>trouble</FONT></TD>
<TD ALIGN="center" WIDTH="13%">
        <FONT FACE="Arial, Helvetica" COLOR="silver">
        <A HREF="&BBHELPSKIN/bb-help.html#purple" >
        <IMG SRC="&BBSKIN/purple.gif" WIDTH="16" HEIGHT="16" BORDER="0"
        ALIGN="middle" ALT="purple"></A>no report</FONT></TD>
<TD ALIGN="center" WIDTH="13%">
        <FONT FACE="Arial, Helvetica" COLOR="silver">
        <A HREF="&BBHELPSKIN/bb-help.html#clear">
        <IMG SRC="&BBSKIN/clear.gif" WIDTH="16" HEIGHT="16" BORDER="0"
        ALIGN="middle" ALT="clear"></A>unavailable</FONT></TD>
<TD ALIGN="center" WIDTH="13%">
        <FONT FACE="Arial, Helvetica" COLOR="silver">
        <A HREF="&BBHELPSKIN/bb-help.html#blue">
        <IMG SRC="&BBSKIN/blue.gif" WIDTH="16" HEIGHT="16" BORDER="0"
        ALIGN="middle" ALT="blue"></A>offline</FONT></TD>
</TR>
<TR>
  <TD COLSPAN="7"> <HR WIDTH="100%"> </TD>
</TR>
<TR>
  <TD COLSPAN="7" ALIGN=RIGHT><FONT FACE="Arial, Helvetica" SIZE="-2"
COLOR="silver"><B><A HREF="http://hobbitmon.sourceforge.net/";
style="text-decoration: none">Xymon &HOBBITDREL</A></B></FONT></TD>
</TR>
</TABLE>
list Wiskbroom · Thu, 12 Nov 2009 15:33:43 -0500 ·
quoted from Alan Sparks
user-ddebaeecde97@xymon.invalid wrote:
1.  I would like to hyperlink all of my hosts, perhaps with a few
excludes, to something using the following?

~/server/bin/bbgen --docurl=http://systeminfo/ServersForm.aspx?name=%s
I'm not sure why you didn't add the --docurl option to the BBGENOPTS=
configuration in etc/hobbitserver.cfg.  Maybe that might help...
Thank you Alan, the entry, which I overlooked, works like a charm.  How
can I make that popup another window as opposed to a total redirection?
quoted from Alan Sparks
2.  My prior version of BB BTF has a legend at the bottom, is their
any way to show the legend at the bottom of xymon?  A few of my users
are asking for this as they are clueless to what the icons all mean.
Xymon doesn't do that by default, but with a minor hack to the
web/bb_footer file, you can emulate it.  I have something like the
following, that replaces the big <TABLE> chunk in bb_footer:
This makes sense, I will give a shot.

Thanks again,

.vp
quoted from Alan Sparks

<TABLE SUMMARY="Bottomline" WIDTH="100%">
<TR>
  <TD COLSPAN="7"> <HR WIDTH="100%"> </TD>
</TR>
<TR>
<TD ALIGN="center" WIDTH="13%">
        <FONT FACE="Arial, Helvetica" COLOR="silver">
        <A HREF="&BBHELPSKIN/bb-help.html#green">
        <IMG SRC="&BBSKIN/green.gif" WIDTH="16" HEIGHT="16" BORDER="0"
        ALIGN="middle" ALT="green"></A>ok</FONT></TD>
<TD ALIGN="center" WIDTH="13%">
        <FONT FACE="Arial, Helvetica" COLOR="silver">
        <A HREF="&BBHELPSKIN/bb-help.html#yellow">
        <IMG SRC="&BBSKIN/yellow.gif" WIDTH="16" HEIGHT="16" BORDER="0"
        ALIGN="middle" ALT="yellow"></A>attention</FONT></TD>
<TD ALIGN="center" WIDTH="13%">
        <FONT FACE="Arial, Helvetica" COLOR="silver">
        <A HREF="&BBHELPSKIN/bb-help.html#red">
        <IMG SRC="&BBSKIN/red.gif" WIDTH="16" HEIGHT="16" BORDER="0"
        ALIGN="middle" ALT="red"></A>trouble</FONT></TD>
<TD ALIGN="center" WIDTH="13%">
        <FONT FACE="Arial, Helvetica" COLOR="silver">
        <A HREF="&BBHELPSKIN/bb-help.html#purple" >
        <IMG SRC="&BBSKIN/purple.gif" WIDTH="16" HEIGHT="16" BORDER="0"
        ALIGN="middle" ALT="purple"></A>no report</FONT></TD>
<TD ALIGN="center" WIDTH="13%">
        <FONT FACE="Arial, Helvetica" COLOR="silver">
        <A HREF="&BBHELPSKIN/bb-help.html#clear">
        <IMG SRC="&BBSKIN/clear.gif" WIDTH="16" HEIGHT="16" BORDER="0"
        ALIGN="middle" ALT="clear"></A>unavailable</FONT></TD>
<TD ALIGN="center" WIDTH="13%">
        <FONT FACE="Arial, Helvetica" COLOR="silver">
        <A HREF="&BBHELPSKIN/bb-help.html#blue">
        <IMG SRC="&BBSKIN/blue.gif" WIDTH="16" HEIGHT="16" BORDER="0"
        ALIGN="middle" ALT="blue"></A>offline</FONT></TD>
</TR>
<TR>
  <TD COLSPAN="7"> <HR WIDTH="100%"> </TD>
</TR>
<TR>
  <TD COLSPAN="7" ALIGN=RIGHT><FONT FACE="Arial, Helvetica" SIZE="-2"
COLOR="silver"><B><A HREF="http://hobbitmon.sourceforge.net/";
style="text-decoration: none">Xymon &HOBBITDREL</A></B></FONT></TD>
</TR>
</TABLE>
list Malcolm Hunter · Thu, 12 Nov 2009 21:50:11 +0100 ·
quoted from Wiskbroom
2.  My prior version of BB BTF has a legend at the bottom, is their any
way to show the legend at the bottom of xymon?  A few of my users are asking
for this as they are clueless to what the icons all mean.
You could edit the footer pages in server/web/ and add a legend in yourself - just normal HTML. I've added a legend to the top of the page by editing the header files, but you could do the same for the footers. I did it that way because you can't always see the bottom of the page.

Regards,

Malcolm


-- 
Technical copy-editor & proofreader

KDE Proofreading Team
KDE British English Translation Team

http://l10n.kde.org/team-infos.php?teamcode=en_GB

Facebook: http://www.facebook.com/FriendlyAtheist

GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
list Alan Sparks · Thu, 12 Nov 2009 13:52:12 -0700 ·
quoted from Wiskbroom
user-ddebaeecde97@xymon.invalid wrote:
I'm not sure why you didn't add the --docurl option to the BBGENOPTS=
configuration in etc/hobbitserver.cfg. Maybe that might help...
Thank you Alan, the entry, which I overlooked, works like a charm. 
How can I make that popup another window as opposed to a total
redirection?
Got me on that one, short of a code modification I know of no way to do
that.
-Alan