Xymon Mailing List Archive search

How do I generate bb2.html on demand ?

list Tod Hansmann
Thu, 1 Nov 2007 10:42:18 -0600
Message-Id: <user-60e9e309b372@xymon.invalid>

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