Xymon Mailing List Archive search

nstab.html

2 messages in this thread

list Torsten Richter · Thu, 24 Aug 2006 09:23:51 +0200 ·
Hi Henrik,

I was just playing around with the sidebar and ran into a problem.
The source code of the nstab.html created by Hobbit 4.2 is this:

---------------------<SNIP>---------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
  <HEAD>
    <TITLE>Hobbit Alerts</TITLE>
    <META NAME="Generator" CONTENT="bbgen - generator for Hobbit">
    <META HTTP-EQUIV="Refresh" CONTENT="60; URL=http://www.myserver.de/bb/nstab.html">;
  </HEAD>
  <BODY>
    <FONT SIZE="-2">Last updated:<BR>Thu Aug 24 09:12:10 2006<BR></FONT>

    <UL>
      <LI>
	<A TARGET="_content" HREF="/bb/hobbit-cgi/bb-hostsvc.sh?HOST=server1&amp;SERVICE=sslcert"server1 (sslcert)></A>
      </LI>
    </UL>
  </BODY>
</HTML>
---------------------<SNAP>---------------------

On the page I only can see the "Last updated: ..." and the dot for the list.
But the link to the "HOST.SERVICE" combination is missing.
IMHO the html code should read 

.... SERVICE=sslcert"server1 (sslcert)>server1 (sslcert)</A> instead of
.... SERVICE=sslcert"server1 (sslcert)></A>

Could this be a bug or did I something wrong with the configuration?

Best regards
Torsten
list Torsten Richter · Mon, 20 Jul 2009 11:43:21 +0200 ·
Hi all,

I'm running Hobbit 4.3.0-0.beta2 and experienced a problem with the sidebar in Mozilla/Netscape.
Although on bb2.html all errors were displayed none of them was displayed on nstab.html.

The following changes in rssgen.c solved the problem:

--- rssgen.c.orig       2009-07-20 11:37:37.050240000 +0200
+++ rssgen.c    2009-07-20 11:38:10.945390243 +0200
@@ -266,8 +266,8 @@
                                                        e->column->name);
                                        }
                                        else {
-                                               fprintf(fd, "\t<A TARGET=\"_content\" HREF=\"%s%s\"",
-                                                       xgetenv("BBWEB"),
+                                               fprintf(fd, "\t<A TARGET=\"_content\" HREF=\"%s%s\">",
+                                                       xgetenv("BBWEBHOST"),
                                                        hostsvcurl(h->hostname, e->column->name, 1));
                                        }
                                        fprintf(fd, "%s (%s)</A>\n",

Regards
Torsten