Xymon Mailing List Archive search

No Hobbit menu in maint.pl

list Gordon Thiesfeld
Thu, 3 Feb 2005 16:06:22 -0600
Message-Id: <user-5fe5f1fc01fd@xymon.invalid>

Check your hobbitserver.cfg against the newly created one.  You need a line
like this:

 
BBMENUSKIN="$BBSERVERWWWURL/menu"

 
From: Charles Jones [mailto:user-e86b4aeade4e@xymon.invalid] 
Sent: Thursday, February 03, 2005 3:59 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] No Hobbit menu in maint.pl

 
Did that, now when I go to the enable/disable option I get a popup in IE
that says:

"A Runtime Error has occured. Do you wish to Debug?
Line: 503
Error: 'menu' is undefined"

I assume this is some sort of javascript error.  
The menu is working fine for everything else, including the Ack section.  I
made sure I copied the files you specified, and chown'ed them to the hobbit
user and restarted hobbit.

-Charles

Henrik Storner wrote: 

In  <mailto:user-efc6f9db7018@xymon.invalid> <user-efc6f9db7018@xymon.invalid> Charles
Jones  <mailto:user-e86b4aeade4e@xymon.invalid> <user-e86b4aeade4e@xymon.invalid> writes:
 
  
When you use maint.pl, there are no links back to the main Hobbit page, 
nor the menu overlay. So, when you enable/disable a host, the only way 
to get back to the main hobbit page is to click back several times.
    

Make sure you installed the latest files
hobbit-4.0-RC1/hobbitd/webfiles/maint_{header,footer} in your
~hobbit/server/web/ directory.
 
If you upgraded, then the old files are NOT overwritten with the new
ones, you need to copy them by hand.
 
Same goes for the menu-files in hobbit-4.0-RC1/hobbitd/wwwfiles/menu/
that should be copied to ~hobbit/server/www/menu/
 
The maint.pl distributed with Hobbit should include the menu.
 
 
Henrik