Hobbit in Debian
Re: Henrik Stoerner 2007-09-12 <user-6078276e0e2f@xymon.invalid>
thank You very much! I had been hoping someone would volunteer to be the Debian package maintainer, so this is very much appreciated.
Hi Henrik, sorry for the late answer, I should move this mailbox to a more prominent place in mutt.
There's also a hobbit-plugins package, but so far it only contains 2 plugins (an "apt" check, and a related check for upgraded libs still linked to running processes). http://packages.qa.debian.org/h/hobbit-plugins.htmlGood idea to put this in a separate package.
The main "feature" I introduced here is a /etc/hobbit/clientlaunch.d/ directory where hobbit-plugins puts *.cfg files. It would be nice if "include" directories supported wildcards, at the moment the init script does something like "ls -1 /etc/hobbit/clientlaunch.d/*.cfg > /var/run/hobbit/clientlaunch-include.cfg" which is then included.
Excellent! I haven't looked at it yet, but it is certainly nice to have a truly open implementation for this.
Here's what I did: * add a new menu.css file * add a menu.cfg that contains the actual menu as a HOBBITMENU variable * add "include /etc/hobbit/web/menu.cfg" to hobbitserver.cfg (just before BBMENUSKIN) * tweak web/* to use &HOBBITMENU: sed -i -e's/ Transitional//' -e'/"Topline"/i&HOBBITMENU' $S/etc/hobbit/web/*_header (the Transitional removal is to fix the Doctype, iirc the CSS didn't work otherwise) * do not install wwwfiles/menu/menu_items.js.DIST in hobbitd/Makefile * remove <script> from hobbitd/webfiles/bb_footer and hobbitd/webfiles/hobbitnk_footer (These changes are applied on the fly at package build time, having them included probably makes things easier.) Christoph -- user-92157dbc91bf@xymon.invalid | http://www.df7cb.de/
Attachments (1)