Xymon Mailing List Archive search

How to disable the menu on top of the window?

list Tim McCloskey
Wed, 11 Jun 2008 22:43:37 -0700
Message-Id: <user-5d6b4a855341@xymon.invalid>

Disable access to certain pages via .htacess and the modifiy the menu_items.js file.

~: cat menu_items.js


var MENU_ITEMS = [
         ['Views', null, null,
                 ['Main view', '/bb.html'],
                 ['All non-green view', '/bb2.html'],
                 ['Critical systems', '/cgi-bin/hobbit-nkview.sh'],
         ],
];


May not be exactly what you are looking for, works for me.

Regards,

-t


Heinelt Maik wroteEdit menu:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I use the Hobbit Server 4.2.
Cause we have some staff here, who just only have to monitor our server 
status on Hobbit,
I would like to disable the Menu of the Hobbit Status.


I mean the menu, where it is written the "Views", "Reports", 
"Administration" and "Help"
For the User Login, I have installed a .htaccess file.
Is it possible to disable the Menu by soem user depend rules?

Regards

Maik

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIUKxQr4r+EhimPOURAvdgAKDJPivi8Tv2bH82hMMqIYNCZKEOTQCgxEnn
8ONpXEGZnZoHR8D81eB+7F0=
=lYMq
-----END PGP SIGNATURE-----