Thanks
Now it work.
The only problem is that the url for the subpages generated, link to my root
html directory
my hobbit server is accessible on http://myserver.it/hobbit/
i set BBWEB="/nal"
so the alternate pages generated are accessible on
http://myserver.it/hobbit/nal/
but the link from the index/nal point to http://myserver.it/nal/
Also the page/subpage info are referred to the path where are located on
the general view http://myserver.it/system/nal/
Marco
----- Original Message -----
From: <user-7a6c75d6cc10@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
Sent: Tuesday, February 22, 2005 8:04 PM
Subject: Re: [hobbit] alternate pageset
You need to put bb-display.sh in the CMD line in hobbitlaunch.cfg. Then
put the command to start bbgen in bb-display.sh.
Thanks,
Larry Barber
On Tue, 2005-02-22 at 12:35 -0600, user-716ccebaa550@xymon.invalid
wrote:
On Tue, Feb 22, 2005 at 04:32:56PM +0100, Marco Avvisano wrote:
I try to create a bb-display.sh in server/bin as in bbgen :
BBWEB="/nal" $BBHOME/bin/bbgen \
--info --includecolumns=info \
--report --larrd043 --larrdgraphs=* \
--pagetitle-links --pagetext-headings \
--docurl=/admin/notes.php?host=%s \
--pageset=nal $BBHOME/www/nal/
Two things:
1) You must use the "--hobbitd" option when running bbgen on top of
Hobbit. if you don't it will try to read the BB status logfiles
instead of the Hobbit network status.
2) The "--larrdgraphs=*" option probably needs to be in quotes.
Nothing yet are created in the directory www/nal
My hobbitlaunch.cfg:
CMD
bbgen --hobbitd --recentgifs --subpagecolumns=2 --larrd043 --report
my bin/bb-display.sh
BBHOME="/usr/local/hobbit/server"
BBWEB="/nal" $BBHOME/bin/bbgen \
--pageset=nal \
$BBHOME/www/nal/
exit 0
thanks
Marco