[hobbit] How do I generate bb2.html on demand ?

Tod Hansmann thansmann at directpointe.com
Thu Nov 1 17:42:18 CET 2007


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.

        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!
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.
To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk

More information about the Xymon mailing list