Bandwidth Monitor

Harry hari76 at omantel.net.om
Fri May 14 08:44:22 UTC 2004


Thank You Ed, I followed all this and now its working great. Just a simple
thought? whats better to use the SNMP daemon or results from /proc/, in my
mrtg cfg file i am taking the results from proc, just want to know yr
thoughts on this.

Harry

----- Original Message -----
From: "Ed Wilts" <ewilts at ewilts.org>
To: "Harry" <hari76 at omantel.net.om>
Sent: Tuesday, May 11, 2004 10:58 PM
Subject: Re: Bandwidth Monitor


> On Tue, May 11, 2004 at 10:29:46PM +0530, Harry wrote:
> >    Sorry to bother you,I have really tried hard but could not get
Josephs
> >    MRTG script working,but the one that comes with Fedora i got that
working.
> >    I can see all the graphs at /var/www/html/mrtg/index.htm but as you
are
> >    aware these are diff from the one Josephs script actually
provides.Now I
> >    have got some major doubts?I will really appreciate if you can
clarify
> >    these?
> >    1.Is is that this will work only with a router?I hope I am wrong,In
my
> >    case I have an ADSL modem (eth0) which is on DHCP.
>
> I've only tried it on a router, but if mrtg is gathering data (and you
> see the mrtg graphs), then you should be able to see the totals.
> >    2.Is it posssible to use the same cfg script that MRTG uses?
>
> Yes, but you need to add the #-# lines into the mrtg.cfg file.  mrtg
> sees these as comments but mrtg_total uses them to figure out what to
> do.
>
> >    3.If Yes then when I run perl mrtg-total.pl <path> It just comes back
to
> >    the prompt?Is that right?
>
> It will create the graphs in the same place as mrtg does unless you tell
> it otherwise.  It doesn't display anything to the screen.
>
> >    4.If this is also right?then why am I not able to see the graphs?
>
> If you don't have those #-# lines in the mrtg.cfg file, it silently does
> nothing.
>
> --
> Ed Wilts, Mounds View, MN, USA
> mailto:ewilts at ewilts.org





More information about the redhat-list mailing list