[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [hobbit] No data from client
- To: <hobbit (at) hswn.dk>
- Subject: RE: [hobbit] No data from client
- From: "McDonald, Dan" <Dan.McDonald (at) austinenergy.com>
- Date: Tue, 10 Mar 2009 08:24:59 -0500
- References: <20090307205511.266340 (at) gmx.net> <0F1BC5A8E4136541B8E1AFD72E123BEC0395E01F (at) GBOEXCH001.ad.minjus.nl> <49B4F9EC.8030504 (at) makelofine.org> <20090309115426.276920 (at) gmx.net> <20090309121112.228320 (at) gmx.net> <20090309145020.97260 (at) gmx.net> <EC70BBBBD43A8B468D2460FE1CFAAA261290D7BE40 (at) EX1.nibco.com> <AACF146A905C56469D90CCF0C68460780C4D8E13CD (at) TNS-FBU-2E-016.corp.telenor.no> <961092e10903090835h1e30543o25fdec9db753def2 (at) mail.gmail.com> <AACF146A905C56469D90CCF0C68460780C4D8E150F (at) TNS-FBU-2E-016.corp.telenor.no> <87prgpakzp.fsf (at) knielsen-hq.org> <AACF146A905C56469D90CCF0C68460780C4D8E177F (at) TNS-FBU-2E-016.corp.telenor.no>
- Thread-index: Acmhg50eEsyUuiQdQm6oN/MSK9K0Xw==
- Thread-topic: [hobbit] No data from client
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