[hobbit] How to disable the menu on top of the window?
Tim McCloskey
devzero at cox.net
Thu Jun 12 07:43:37 CEST 2008
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-----
>
>
>
> ------------------------------------------------------------------------
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
More information about the Xymon
mailing list