BB Unix Network Monitor - Message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: {bb} BBGen Questions, 4.0 Release Date, et al...



In <20050105120014.GO1016@pounk.exp75.cvf> Charles Goyard <cgoyard@cvf.fr> writes:

>I saw on the hobbit documentation it "includes" larrd. Here we have lots
>of custom larrd graphs generated. Since I have been unable to get the
>code of hobbit, I wonder to what point it is integrated (barely
>disguised version of "where is the code ?").

It is integrated as much as updating of the RRD files is handled 
by the hobbit daemon. Meaning that as soon as a status- or
data-message arrives, the daemon does an update of the RRD files.
The LARRD perl-scripts are not used with Hobbit. 

The reason for this is quite fundamental. One of the design goals of
Hobbit is to avoid all of the file-based I/O that the standard BB
daemon does. So status- and data-messages are never stored on disk -
they exist only in memory, or as messages passed between modules
internally in the hobbit daemon. So there are no status- or
data-logfiles that the larrd scripts can pick up.

For your custom graphs, there are really two different approaches:
1) You can enable a compatibility module that stores the specific
   status- or data-messages your larrd graphs use, and keep running
   your current perl-scripts. This is the quick-n-dirty solution.
   Depending on how many scripts and status messages it is, it 
   might be an acceptable solution.
2) You can migrate your perl scripts into the hobbit larrd module, 
   so they become part of the normal hobbit way of processing.
   It is not as difficult as it sounds ...

>I guess it at least generates the html pages. But for custom
>integration of RRDs (my_so_specific_log-larrd.pl) ? How about the
>larrd-grapher.cgi ?

There's a replacement for that too in Hobbit. I got sufficiently
annoyed with it over Christmas that I wrote my own (the first betas
included a modified larrd-grapher.cgi, but I've dropped that one).
For most graphs, migrating from larrd-grapher.cgi to hobbitgraph.cgi
is 99% cut-n-paste.


Henrik
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.


Home | Main Index | Thread Index