How do I generate bb2.html on demand ?
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
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 <tj_yang at hotmail.com> 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 To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
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 <josh at imaginenetworksllc.com> 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 <tj_yang at hotmail.com> 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 To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
It was free, don't laugh!
Intel(R) Celeron(R) CPU 3.06GHz
90 hosts took me 0.016208 seconds this last poll.
On 11/1/07, Larry Barber <lebarber at gmail.com> 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 <josh at imaginenetworksllc.com> 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 <tj_yang at hotmail.com> 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 To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
-- Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
On 11/1/07, Josh Luthman <josh at imaginenetworksllc.com> 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
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: josh at imaginenetworksllc.com To: hobbit at hswn.dk 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 <tj_yang at hotmail.com> 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 To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
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=CL10062697...
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
-----Original Message----- From: T.J. Yang [mailto:tj_yang at hotmail.com] Sent: Thursday, November 01, 2007 10:16 AM To: hobbit at hswn.dk 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: josh at imaginenetworksllc.com To: hobbit at hswn.dk 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 <tj_yang at hotmail.com> 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 To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
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=CL10062697... To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
T.J. Yang
Date: Thu, 1 Nov 2007 10:42:18 -0600 From: thansmann at directpointe.com To: hobbit at hswn.dk 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
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:tj_yang at hotmail.com] Sent: Thursday, November 01, 2007 10:16 AM To: hobbit at hswn.dk 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: josh at imaginenetworksllc.com To: hobbit at hswn.dk 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 To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
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=CL10062697... To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
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_OctWL...
participants (5)
-
josh@imaginenetworksllc.com
-
lebarber@gmail.com
-
ralphmitchell@gmail.com
-
thansmann@directpointe.com
-
tj_yang@hotmail.com