[hobbit] Pagesets
Kevin Hanrahan
Kevin at ewormhole.com
Sun Mar 13 17:40:56 CET 2005
Thank you sir. I am ALMOST there... After playing with it for a while, I got
it to generate the new pagesets, and I can get there if I manually type the
pageset name in the URL as in :
http://nemesis/hobbit/test
But a link to "test" never shows up on the main page:
http://nemesis/hobbit/
Is this the way it is intended to work or am I missing another piece of the
puzzle?
Thanks
KEvin
-----Original Message-----
From: Henrik Stoerner [mailto:henrik at hswn.dk]
Sent: Sunday, March 13, 2005 1:21 AM
To: hobbit at hswn.dk
Subject: Re: [hobbit] Pagesets
Importance: Low
On Sun, Mar 13, 2005 at 12:18:33AM -0500, Kevin Hanrahan wrote:
> OK, I'm lost! I am trying to define and build alternate pagesets but I
> am not sure where I made my mistakes! I ahe defined one pageset as
follows:
[snip config]
> But no extra page shows up!
>
> >From the man pages, it says:
>
> All of this just defines the layout of the new pageset. To generate
> it, you must run bbgen once for each pageset you define
> How do I do this?? Where is bb-display.sh?? I know these instructions
> were written for someone running bbgen on top of the normal BB setup
> But is there a way to use it on Hobbit?
Put the commands to run bbgen into a script, e.g.
~hobbit/server/ext/testpages.sh
BBWEB="/bb/test" $BBHOME/bin/bbgen \
--pageset=test --template=tes \
$BBHOME/www/test/
And add a new section to hobbitlaunch.cfg to run that at whatever interval
you want - you can copy the [bbdisplay] part and just change the command:
[bbdisplay-test]
ENVFILE /usr/local/hobbit/server/etc/hobbitserver.cfg
NEEDS hobbitd
GROUP generators
CMD $BBHOME/ext/testpages.sh
LOGFILE $BBSERVERLOGS/bb-display.log
INTERVAL 5m
Henrik
To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk
More information about the Xymon
mailing list