Confreport and .rss files for pagesets
First of all thanks for the real good work you're doing! Hobbit is really a great piece of software and solve many of the problem we had with BB.
One of the mostly used function here is the possibility to use pagesets because I'm trying to create pagesets based on application layout so that the people responsible for the application can check the status of all the server/services they need and that the DBA can check the database without having to see all the network equipment or windows servers that they don't need to know about.
I've 2 problem/request regarding to pagesets:
- The confreport script don't work when inside a pageset. If the page in the pageset i'm in have the same name (so the same subdirectory) as one of the page in the standard bb i get the list of the host of that page. If I'm in a page that have a name different from that of the standard page I get a page with "Unable to find host information " and nothing else.
- I don't get rss files for the pagesets. This can be really useful for me to let users get the information about service in error with a rss file reader. This is what I have in the configuration files:
in the hobbitserver.cfg BBGENOPTS="--recentgifs --subpagecolumns=2 --nopropred=msgs,vmio --pagetext-headings --timing --docurl=/hobbit/admin/notes.php?host=%s --rssversion=2.0 --eventignore=uptime,event,msgs,vmio,legato --includecolumns=graph --bb2-ignorecolumns=legato --rss"
in the hobbitlaunch.cfg [bbdisplay] ENVFILE /home/bb/server/etc/hobbitserver.cfg NEEDS hobbitd GROUP generators CMD bbgen $BBGENOPTS --report LOGFILE $BBSERVERLOGS/bb-display.log INTERVAL 1m [bbdisplay_db] ENVFILE /home/bb/server/etc/hobbitserver.cfg NEEDS hobbitd GROUP generators CMD bb-display.sh DB db LOGFILE $BBSERVERLOGS/bb-display_db.log INTERVAL 1m
bb-display.sh #!/bin/sh echo "$1 $2 $BBGENOPTS">>/tmp/pippo BBWEB="/hobbit/$1"; BBMENUSKIN="$BBWEB/menu"; exec bbgen --pageset=$2 --report=bbgen-$2 --nopurple --nstab=$1/nstab.html $BBGENOPTS $BBHOME/www/$1
so i get this executed for example for the DB pagesets
BBWEB="/hobbit/DB"; BBMENUSKIN="$BBWEB/menu"; exec bbgen --pageset=db --report=bbgen-db --nopurple --nstab=DB/nstab.html $BBGENOPTS $BBHOME/www/DB
and i get no rss files in the pagesets.
Thanks for the really good work :D
Francesco
On Thu, Oct 13, 2005 at 12:09:51PM +0200, Francesco Duranti wrote:
One of the mostly used function here is the possibility to use pagesets because I'm trying to create pagesets based on application layout so that the people responsible for the application can check the status of all the server/services they need and that the DBA can check the database without having to see all the network equipment or windows servers that they don't need to know about.
I've 2 problem/request regarding to pagesets:
There are a number of things that break for pagesets. This is one of the items on my list for fixing soon.
The current pageset code was developed for Big Brother, and really has not kept up with some of the changes that have gone into Hobbit. It needs a fairly major overhaul one of these days.
Regards, Henrik
participants (2)
-
fduranti@q8.it
-
henrik@hswn.dk