BB Unix Network Monitor - Message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: {bb} No graph on STATS page
In <20041026171525.GD25341@qwestip.net> Asif Iqbal <iqbala-bb@qwestip.net> writes:
>On Tue, Oct 26, 2004 at 06:07:12AM, Henrik Storner wrote:
>> You need to tell the bb-hostsvc script that it should include a LARRD
>> graph when building the"stats" webpage. Assuming you applied the bbgen
>> "bbd-features" patch to your BB sources, edit the
>> $BBHOME/src/dohostsvc.c file and add a line for "stats" to the
>> "larrdsvcs" table at the beginning of the file. Do a a "make; make
>I added this
>{"stats", "stats", NULL},
>on both
"both" ?? There is only one table - the one that starts with
static larrdsvc_t larrdsvcs[] = {
{"cpu", "la", NULL},
{"content", "http", NULL},
{"http", "http", NULL},
{"conn", "conn", NULL},
...
The "typedef struct ..." stuff - don't mess with that, it just
defines the layout of the table, not the contents.
So: Add the line you mention only once, around line 50 or so.
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