Xymon Mailing List Archive search

alternate pageset

9 messages in this thread

list Marco Avvisano · Fri, 18 Feb 2005 17:26:04 +0100 ·
where i could define alternate pageset in hobbit?

thanks for help

Marco
list Henrik Størner · Fri, 18 Feb 2005 18:06:03 +0100 ·
On Fri, Feb 18, 2005 at 05:26:04PM +0100, Marco Avvisano wrote:
where i could define alternate pageset in hobbit?
These work just as in bbgen. See the "bbgen" and "bb-hosts" man-pages.


Henrik
list Marco Avvisano · Fri, 18 Feb 2005 18:58:21 +0100 ·
quoted from Henrik Størner

----- Original Message ----- 
From: "Henrik Stoerner" <user-ce4a2c883f75@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
Sent: Friday, February 18, 2005 6:06 PM
Subject: Re: [hobbit] alternate pageset

On Fri, Feb 18, 2005 at 05:26:04PM +0100, Marco Avvisano wrote:
where i could define alternate pageset in hobbit?
These work just as in bbgen. See the "bbgen" and "bb-hosts" man-pages.
I must use a file bb-display.sh in server/bin as in bbgen ?

Marco
list Henrik Størner · Sun, 20 Feb 2005 23:08:51 +0100 ·
quoted from Marco Avvisano
On Fri, Feb 18, 2005 at 06:58:21PM +0100, Marco Avvisano wrote:
On Fri, Feb 18, 2005 at 05:26:04PM +0100, Marco Avvisano wrote:
where i could define alternate pageset in hobbit?
These work just as in bbgen. See the "bbgen" and "bb-hosts" man-pages.
I must use a file bb-display.sh in server/bin as in bbgen ?
Yes, I think that's the easiest way to setup those environment
variables (BBWEB) that must be changed for each pageset.


Regards,
Henrik
list Marco Avvisano · Tue, 22 Feb 2005 16:32:56 +0100 ·
quoted from Henrik Størner
----- Original Message ----- 
From: "Henrik Stoerner" <user-ce4a2c883f75@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
Sent: Sunday, February 20, 2005 11:08 PM
Subject: Re: [hobbit] alternate pageset

On Fri, Feb 18, 2005 at 06:58:21PM +0100, Marco Avvisano wrote:
On Fri, Feb 18, 2005 at 05:26:04PM +0100, Marco Avvisano wrote:
where i could define alternate pageset in hobbit?
These work just as in bbgen. See the "bbgen" and "bb-hosts" man-pages.
I must use a file bb-display.sh in server/bin as in bbgen ?
Yes, I think that's the easiest way to setup those environment
variables (BBWEB) that must be changed for each pageset.
I try to create a bb-display.sh in server/bin as in bbgen :

BBWEB="/nal"
$BBHOME/bin/bbgen --info --includecolumns=info --report --larrd043 --larrdgr
aphs=* --pagetitle-links --pagetext-headings --docurl=/admin/notes.php?host=
%s \
--pageset=nal \
$BBHOME/www/nal/

but it not work.

Marco
list Henrik Størner · Tue, 22 Feb 2005 17:30:08 +0100 ·
quoted from Marco Avvisano
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.


Regards,
Henrik
list Marco Avvisano · Tue, 22 Feb 2005 19:35:47 +0100 ·
quoted from Marco Avvisano
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
list Larry Barber · Tue, 22 Feb 2005 14:04:10 -0500 (EST) ·
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
quoted from Marco Avvisano
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

list Marco Avvisano · Wed, 23 Feb 2005 12:20:20 +0100 ·
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
quoted from Larry Barber


----- 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