Xymon Mailing List Archive search

URL Bugs?

5 messages in this thread

list Malcolm Hunter · Tue, 10 Mar 2009 21:38:14 +0100 ·
Hi,

I've had a scour to see if this has been addressed before and I can't find anything. My Xymon URL begins with /xymon and all pages are displayed properly except Ghost Clients and Notification Log. Both pages are missing the menu and the style is messed up. I've tracked down the cause - they are both looking in /hobbit/menu and hobbit/gifs for the menu.css and gifs respectively. It seems the cgi scripts are setting BBMENUSKIN and BBSKIN incorrectly. Any ideas? (I have checked the config files too).

Thanks,
Malcolm

-- 
Technical copy-editor & proofreader

KDE Proofreading Team
KDE British English Translation Team

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

Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger01
list Larry Barber · Tue, 10 Mar 2009 15:51:02 -0500 ·
A quick fix would be create some sym-links to the correct files.

Thanks,
Larry Barber
quoted from Malcolm Hunter

On Tue, Mar 10, 2009 at 3:38 PM, Malcolm Hunter <user-b3e590ffeb6d@xymon.invalid>wrote:
Hi,

I've had a scour to see if this has been addressed before and I can't find
anything. My Xymon URL begins with /xymon and all pages are displayed
properly except Ghost Clients and Notification Log. Both pages are missing
the menu and the style is messed up. I've tracked down the cause - they are
both looking in /hobbit/menu and hobbit/gifs for the menu.css and gifs
respectively. It seems the cgi scripts are setting BBMENUSKIN and BBSKIN
incorrectly. Any ideas? (I have checked the config files too).

Thanks,
Malcolm

--
Technical copy-editor & proofreader

KDE Proofreading Team
KDE British English Translation Team

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

Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen:
http://www.gmx.net/de/go/multimessenger01

list Malcolm Hunter · Tue, 10 Mar 2009 22:06:19 +0100 ·
quoted from Larry Barber
I've had a scour to see if this has been addressed before and I can't find
anything. My Xymon URL begins with /xymon and all pages are displayed
properly except Ghost Clients and Notification Log. Both pages are missing the
menu and the style is messed up. I've tracked down the cause - they are
both looking in /hobbit/menu and hobbit/gifs for the menu.css and gifs
respectively. It seems the cgi scripts are setting BBMENUSKIN and BBSKIN
incorrectly. Any ideas? (I have checked the config files too).
By the way, I have used a workaround:

ln -s $BBHOME/server/www/ [Apache's DocumentRoot]/hobbit

I now have a menu on these two pages! :)
quoted from Larry Barber

Malcolm
-- 
Technical copy-editor & proofreader

KDE Proofreading Team
KDE British English Translation Team

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

Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger01
list Daniel J McDonald · Tue, 10 Mar 2009 16:18:52 -0500 ·
quoted from Malcolm Hunter
On Tue, 2009-03-10 at 21:38 +0100, Malcolm Hunter wrote:
Hi,

I've had a scour to see if this has been addressed before and I can't
find anything. My Xymon URL begins with /xymon and all pages are
displayed properly except Ghost Clients and Notification Log. Both
pages are missing the menu and the style is messed up.
Actually, I posted about this very issue this morning.  You have to edit
lib/environ.c since it is hardcoded in there.
My patch:

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" },
quoted from Malcolm Hunter

 I've tracked down the cause - they are both looking in /hobbit/menu
and hobbit/gifs for the menu.css and gifs respectively. It seems the
cgi scripts are setting BBMENUSKIN and BBSKIN incorrectly. Any ideas?
(I have checked the config files too).

Thanks,
Malcolm
-- 

Daniel J McDonald, CCIE #2495, CISSP #78281, CNX
Austin Energy
http://www.austinenergy.com
list Malcolm Hunter · Tue, 10 Mar 2009 22:34:19 +0100 ·
quoted from Daniel J McDonald
Actually, I posted about this very issue this morning.  You have to edit
lib/environ.c since it is hardcoded in there.
My patch:
Ah thanks. I see this has been fixed in 4.3 and 4.4 just not backported.
quoted from Malcolm Hunter

Malcolm
-- 
Technical copy-editor & proofreader

KDE Proofreading Team
KDE British English Translation Team

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

Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger01