[mrtg] Re: Total passed data / traffic
Starkweather, Mike
mike.starkweather at anheuser-busch.com
Mon Jul 12 18:27:28 MEST 1999
Simon,
I don't think you can do this directly. The closest you can get directly from
MRTG is to change the Option to Gauge which will treat the traffic number as an
ever increasing value. The problem here is that it does not start at zero and
occasionally wraps back to zero when the counter overflows.
Your best bet is to build a Perl script that takes a first of the month reading
then tracks usage throughout the month, including counter overflows. Pass the
output to MRTG using an external Target.
Good luck.
Mike Starkweather
MIS Consultant
314.577.3701
mike.starkweather at anheuser-busch.com
> -----Original Message-----
> From: Simon Thorpe [SMTP:simon.thorpe at breakertech.com]
> Sent: Monday, July 12, 1999 3:56 AM
> To: Mrtg List (E-mail)
> Subject: [mrtg] Total passed data / traffic
>
> All
>
> Well MRTG is proving to be a very nice tool, well done to the authors.
>
> I have one question which seems to elude my efforts in finding an answer, is
> it possible to create a climbing graph
> that shows the TOTAL data that has passed across my ep0 (internet) interface
> ?
>
> My service provider charges me based on the amount of data i've used. I want
> to be able to track this and make
> modifications to the system to reduce as much unwanted traffic as possible.
> My system is the following,
>
> A freebsd (3.1 RELEASE) router with three 3com nic interfaces (ep0,ep1,ep2)
> with the UCD-SNMP daemon running.
> MRTG reports on... 2:gate at localhost, 3:gate at localhost 4:gate at localhost and
> also I monitor the inOctlets and outOctlets vars in the interfaces tree.
> (excuse my lack of detail, I didn't bring the full var names into work :( )
>
> You can see what i'm logging at the moment at...
>
> http://www.eidos-st.com/mrtg/max_in_ep0.htm
>
> this shows my internet interface (a 128k line into a radio speedbox... yip..
> i get inet of microwaves :) )
>
> but what i want is a climbing graph, showing me when I start to get close to
> my 600mb limit. There must be a var in the snmpd that will simply report the
> MAX data thats travelled over that interface since the computer was last
> booted, and would MRTG not just graph it and therefore produce a climbing
> graph ? Or am i missing the point :(
>
> cheers
>
> > <--Simon Thorpe-->
> > Internet Systems Engineer
> > BREAKERTECH
> > www.breakertech.com
> > (+44) (0) 1189 321921
> >
>
> --
> * To unsubscribe from the mrtg mailing list, send a message with the
> subject: unsubscribe to mrtg-request at list.ee.ethz.ch
> * The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg
>
--
* To unsubscribe from the mrtg mailing list, send a message with the
subject: unsubscribe to mrtg-request at list.ee.ethz.ch
* The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg
More information about the mrtg
mailing list