Xymon Mailing List Archive search

How do I generate bb2.html on demand ?

8 messages in this thread

list T.J. Yang · Thu, 1 Nov 2007 08:28:46 -0500 ·
Looks like bb2.html is updated every 5 minutes, what is the command to generate bb2.html by command line ?

T.J. Yang

Peek-a-boo FREE Tricks & Treats for You!
http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us
list Josh Luthman · Thu, 1 Nov 2007 10:56:57 -0400 ·
If desired I know you can change it.  One of the configs in server/etc - if
you can't find it let me know,  I can look later tonight.
quoted from T.J. Yang

On 11/1/07, T.J. Yang <user-8e841282cda5@xymon.invalid> wrote:

Looks like bb2.html is updated every 5 minutes, what is the command to
generate bb2.html by command line ?

T.J. Yang

Peek-a-boo FREE Tricks & Treats for You!
http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us

-- 

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
list Larry Barber · Thu, 1 Nov 2007 10:08:41 -0500 ·
You can change the update interval for the web pages by changing the
frequency that bbgen is run in etc/hobbitlaunch.cfg. Page generation doesn't
put much of a load on the machine, so there is generally not a problem with
more frequent updates. I'm monitoring over 600 machines using a modest 2 cpu
box and the page generation only takes .6 seconds. I have increased the page
generation frequency to once a minute and it does make quite a difference in
how fast problems are detected.

Thanks,
Larry Barber
quoted from Josh Luthman

On 11/1/07, Josh Luthman <user-4c45a83f15cb@xymon.invalid> wrote:
If desired I know you can change it.  One of the configs in server/etc -
if you can't find it let me know,  I can look later tonight.

On 11/1/07, T.J. Yang <user-8e841282cda5@xymon.invalid> wrote:

Looks like bb2.html is updated every 5 minutes, what is the command to
generate bb2.html by command line ?

T.J. Yang

Peek-a-boo FREE Tricks & Treats for You!
http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us

--
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
list Josh Luthman · Thu, 1 Nov 2007 11:14:13 -0400 ·
It was free, don't laugh!

Intel(R) Celeron(R) CPU 3.06GHz

90 hosts took me 0.016208 seconds this last poll.
quoted from Larry Barber

On 11/1/07, Larry Barber <user-6ef9c2864140@xymon.invalid> wrote:
You can change the update interval for the web pages by changing the
frequency that bbgen is run in etc/hobbitlaunch.cfg. Page generation doesn't
put much of a load on the machine, so there is generally not a problem with
more frequent updates. I'm monitoring over 600 machines using a modest 2 cpu
box and the page generation only takes .6 seconds. I have increased the page
generation frequency to once a minute and it does make quite a difference in
how fast problems are detected.

Thanks,
Larry Barber

On 11/1/07, Josh Luthman <user-4c45a83f15cb@xymon.invalid> wrote:
If desired I know you can change it.  One of the configs in server/etc -
if you can't find it let me know,  I can look later tonight.

On 11/1/07, T.J. Yang <user-8e841282cda5@xymon.invalid> wrote:

Looks like bb2.html is updated every 5 minutes, what is the command to
generate bb2.html by command line ?

T.J. Yang

Peek-a-boo FREE Tricks & Treats for You!
http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us

--
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
-- 
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
list Ralph Mitchell · Thu, 1 Nov 2007 10:33:23 -0500 ·
quoted from Josh Luthman
On 11/1/07, Josh Luthman <user-4c45a83f15cb@xymon.invalid> wrote:
It was free, don't laugh!

Intel(R) Celeron(R) CPU 3.06GHz

90 hosts took me 0.016208 seconds this last poll.
The graph on my bbgen page shows min=0.3, max=5.1, though I have seen a Time
Total of over 6.0.  679 hosts, 2912 messages, 39 pages.  One of these days I
should try to convince my boss to shell out for a second 733MHz cpu for the
Hobbit server...  :)

Ralph Mitchell
list T.J. Yang · Thu, 1 Nov 2007 11:15:40 -0500 ·

My bbdisplay is already configured to have 1 minute update interval, it is on bb2.html is still  updated every 5 minutes.


# "bbdisplay" runs the bbgen tool to generate the Hobbit webpages from the status information that
# has been received. Big Brother updated the webpages once every 5 minutes. The default here is to
# run it every minute for faster updates, but you can change it if you have a highly loaded server
# and dont need updates that often.

[bbdisplay]
        ENVFILE /etc/hobbitserver42/hobbitserver.cfg
        NEEDS hobbitd
        GROUP generators
        CMD bbgen $BBGENOPTS --report
        LOGFILE $BBSERVERLOGS/bb-display.log
        INTERVAL 1m

I do remember there is a option somewhere is hobbit man page that can set "dynamic, on demand " update.


T.J. Yang
quoted from Josh Luthman

Date: Thu, 1 Nov 2007 10:56:57 -0400
From: user-4c45a83f15cb@xymon.invalid
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] How do I generate bb2.html on demand ?

If desired I know you can change it.  One of the configs in server/etc - if you can't find it let me know,  I can look later tonight.

On 11/1/07, T.J. Yang <user-8e841282cda5@xymon.invalid> wrote:

Looks like bb2.html is updated every 5 minutes, what is the command to generate bb2.html by command line ?

T.J. Yang

Peek-a-boo FREE Tricks & Treats for You!
http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us


--
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer

Windows Live Hotmail and Microsoft Office Outlook – together at last.  Get it now.
http://office.microsoft.com/en-us/outlook/HA102225181033.aspx?pid=CL100626971033
list Tod Hansmann · Thu, 1 Nov 2007 10:42:18 -0600 ·
http://hobbitmon.sourceforge.net/docs/hobbit-tips.html#updatefreq

That may help, but remember, if a host is only tested every 5 minutes, and you update your page every minute, your bb2 page is at most 60 seconds out of date, but usually much closer.  

If you must, for some reason, update manually, you COULD run it manually via the bbcmd, if I'm thinking this through correctly.  It would be something like:

/path/to/hobbit/bin/bbcmd /path/to/hobbit/bin/bbgen

Where /path/to/hobbit/ is the path just below your etc directory where you have your bb-hosts and hobbitlaunch.cfg

Tod Hansmann
Network Engineer
quoted from T.J. Yang
 
 
-----Original Message-----
From: T.J. Yang [mailto:user-8e841282cda5@xymon.invalid] 
Sent: Thursday, November 01, 2007 10:16 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] How do I generate bb2.html on demand ?


My bbdisplay is already configured to have 1 minute update interval, it is on bb2.html is still  updated every 5 minutes.


# "bbdisplay" runs the bbgen tool to generate the Hobbit webpages from the status information that
# has been received. Big Brother updated the webpages once every 5 minutes. The default here is to
# run it every minute for faster updates, but you can change it if you have a highly loaded server
# and dont need updates that often.

[bbdisplay]
        ENVFILE /etc/hobbitserver42/hobbitserver.cfg
        NEEDS hobbitd
        GROUP generators
        CMD bbgen $BBGENOPTS --report
        LOGFILE $BBSERVERLOGS/bb-display.log
        INTERVAL 1m

I do remember there is a option somewhere is hobbit man page that can set "dynamic, on demand " update.


T.J. Yang

Date: Thu, 1 Nov 2007 10:56:57 -0400
From: user-4c45a83f15cb@xymon.invalid
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] How do I generate bb2.html on demand ?

If desired I know you can change it.  One of the configs in server/etc - if you can't find it let me know,  I can look later tonight.

On 11/1/07, T.J. Yang <user-8e841282cda5@xymon.invalid> wrote:

Looks like bb2.html is updated every 5 minutes, what is the command to generate bb2.html by command line ?

T.J. Yang

Peek-a-boo FREE Tricks & Treats for You!
http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us


--
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer

Windows Live Hotmail and Microsoft Office Outlook - together at last.  Get it now.
http://office.microsoft.com/en-us/outlook/HA102225181033.aspx?pid=CL100626971033
list T.J. Yang · Thu, 1 Nov 2007 18:53:13 -0500 ·
quoted from Tod Hansmann

T.J. Yang
Date: Thu, 1 Nov 2007 10:42:18 -0600
From: user-b6e28cb93fa4@xymon.invalid
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] How do I generate bb2.html on demand ?

http://hobbitmon.sourceforge.net/docs/hobbit-tips.html#updatefreq

That may help, but remember, if a host is only tested every 5 minutes, and you update your page every minute, your bb2 page is at most 60 seconds out of date, but usually much closer.

If you must, for some reason, update manually, you COULD run it manually via the bbcmd, if I'm thinking this through correctly. It would be something like:

/path/to/hobbit/bin/bbcmd /path/to/hobbit/bin/bbgen
I was configuring hobbit-client.cfg to setup disk partitions thresholds on many machines, thus the need
 to see the bb2.html be updated as soon as possible.  Thanks for this tip, I will try it out later. 

tj
quoted from Tod Hansmann
Where /path/to/hobbit/ is the path just below your etc directory where you have your bb-hosts and hobbitlaunch.cfg

Tod Hansmann
Network Engineer


-----Original Message-----
From: T.J. Yang [mailto:user-8e841282cda5@xymon.invalid]
Sent: Thursday, November 01, 2007 10:16 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] How do I generate bb2.html on demand ?


My bbdisplay is already configured to have 1 minute update interval, it is on bb2.html is still updated every 5 minutes.


# "bbdisplay" runs the bbgen tool to generate the Hobbit webpages from the status information that
# has been received. Big Brother updated the webpages once every 5 minutes. The default here is to
# run it every minute for faster updates, but you can change it if you have a highly loaded server
# and dont need updates that often.

[bbdisplay]
ENVFILE /etc/hobbitserver42/hobbitserver.cfg
NEEDS hobbitd
GROUP generators
CMD bbgen $BBGENOPTS --report
LOGFILE $BBSERVERLOGS/bb-display.log
INTERVAL 1m

I do remember there is a option somewhere is hobbit man page that can set "dynamic, on demand " update.


T.J. Yang

Date: Thu, 1 Nov 2007 10:56:57 -0400
From: user-4c45a83f15cb@xymon.invalid
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] How do I generate bb2.html on demand ?

If desired I know you can change it. One of the configs in server/etc - if you can't find it let me know, I can look later tonight.

On 11/1/07, T.J. Yang  wrote:

Looks like bb2.html is updated every 5 minutes, what is the command to generate bb2.html by command line ?

T.J. Yang

Peek-a-boo FREE Tricks & Treats for You!
http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us


--
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer

Windows Live Hotmail and Microsoft Office Outlook - together at last.  Get it now.
http://office.microsoft.com/en-us/outlook/HA102225181033.aspx?pid=CL100626971033

Help yourself to FREE treats served up daily at the Messenger Café. Stop by today.
http://www.cafemessenger.com/info/info_sweetstuff2.html?ocid=TXT_TAGLM_OctWLtagline