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