[hobbit] No data from client

McDonald, Dan Dan.McDonald at austinenergy.com
Tue Mar 10 14:24:59 CET 2009


On Tue, 2009-03-10 at 12:49 +0100, oyvind.bjorge at telenor.com wrote:
> At my installation the hobbit-ghosts.cgi don't seem to work.
> It is probably related to that I compiled xymon someware else, and copied it to my server.
> I see that it reffers to the old path even if I can't find this configured anywhere.

It's hardcoded in lib/environ.c

this patch fixed it for me (watch line wraps):

diff -urN xymon-4.3.0-beta1/lib/environ.c xymon-4.3.0-beta1-djm/lib/environ.c
--- xymon-4.3.0-beta1/lib/environ.c     2009-02-08 11:42:13.000000000 -0600
+++ xymon-4.3.0-beta1-djm/lib/environ.c 2009-03-09 12:01:30.000000000 -0500
@@ -31,9 +31,9 @@
        { "BBSERVERIP", BBHOSTIP },
        { "BBSERVEROS", BBHOSTOS },
        { "BBSERVERWWWNAME", BBHOSTNAME },
-       { "BBSERVERWWWURL", "/hobbit" },
-       { "BBSERVERCGIURL", "/hobbit-cgi" },
-       { "BBSERVERSECCGIURL", "/hobbit-cgisecure" },
+       { "BBSERVERWWWURL", "/xymon" },
+       { "BBSERVERCGIURL", "/xymon-cgi" },
+       { "BBSERVERSECCGIURL", "/xymon-cgisecure" },
        { "BBLOCATION", "" },
        { "PATH", "/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin:"BUILD_HOME"/bin" },
        { "BBPORT", "1984" },


> I tried to create a link named as the original xymon-homedir to the homedir on the correct one.
> Then the error message dissapared, but still it don't list any ghosts. The webpage is all blue (nothing black) and listing: Failed to retrieve ghostlist from server.
> I see after now that the hobbitd test have a list of Ghost reports.

Now, if I could only fix the bb-hostsvc.sh script - it segfaults on me,
and I have no idea how to figure out why.


-- 
Daniel J McDonald, CCIE #2495, CISSP #78281, CNX
Austin Energy
http://www.austinenergy.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20090310/5f6ce311/attachment.sig>


More information about the Xymon mailing list