[mrtg] [Fwd: Re: How can I get totals instead of rates ?]

Lyle Giese lyle at lcrcomputer.net
Sun Dec 14 19:58:18 CET 2008


Missed doing a reply all.

Sorry.  This is one of the few lists I use that a reply does not go back
to the list.

Lyle


-------- Original Message --------
Subject: 	Re: [mrtg] How can I get totals instead of rates ?
Date: 	Sun, 14 Dec 2008 12:56:54 -0600
From: 	Lyle Giese <lyle at lcrcomputer.net>
To: 	Dan White <ygor at comcast.net>
References:
<121320081738.12117.4943F30C0009C27900002F5522058861729D010997 at comcast.net>
<6B587E8C999646469B54486AF219584606F6B30914 at UXCHANGE7-1.UoA.auckland.ac.nz>
<8A3E093B-B5A9-4822-962C-056B4A9E89EC at comcast.net>
<494526B2.6040503 at lcrcomputer.net>
<4E46C9D4-21ED-407C-9C30-480086B9F412 at comcast.net>



Neither MRTG nor Routers2 require a webserver. MRTG, when run in
'native' mode, rebuilds all graphs every 5 minutes and is limited in
it's options to present the data to you. And the author has stated this
is the last version to support rateup(the binary that makes the .png
graphs.). The future of MRTG is to no longer make graphs, but just query
the targets and store the data in a RRD database. So no new features
have been put in rateup for a while and never will. You still need to
use a program of some kind to display the graphs. A web browser is one
type of program that is capable of displaying .png files.

Routers2 is a separate program(referred to as a fronted to MRTG) that
has many more options availible to you for variations in presenting the
data in the graphs. There are other frontends besides Routers2 that
replace the graphing function. Steve just happens to be more familar
with Routers2 because he wrote it.

I have written .cgi scripts to create graphs on demand via Routers2.
It's easier for me as it's quite easy to install a webserver and it
really makes it easy for me to make a frontend for the graphs I need on
demand.

A little knowledge of Perl and there is no reason you can not make these
standalone scripts and then you can just use a browser or a file viewer
that knows what a .png is to display them.

Lyle

Dan White wrote:
> 'Scuse me, but is this a support mailing list for MRTG or for Routers2 ?
>
> My main objection to trying Routers2 is that it requires a web server.
> All I want is to be able to monitor my own bandwidth use.
> I do not want to have to set up a web server just to do that.
>
> On Dec 14, 2008, at 10:30 AM, Lyle Giese wrote:
>> Dan
>> Steve is trying to tell you that:
>>
>> 1) It can not be done with plain MRTG or it's would be very difficult to
>> implement.
>> 2) It's easy to accomplish if you use the routers2 frontend instead.
>>
>> It's not that hard to implement routers2 as the frontend.
>>
>> Lyle
>>
>> Dan White wrote:
>>> Thanks, but I am not using Routers2, just vanilla MRTG
>>>
>>> Any clues out there for this clueless one about how to get the number
>>> I want ?
>>>
>>> On Dec 13, 2008, at 6:05 PM, Steve Shipway wrote:
>>>
>>>
>>>> If you are using the Routers2 frontend, then enable 'total and 95th
>>>> percentile mode' by placing 'percentile=yes' in the routers2.conf.
>>>> This will then report totals over the graph time window for rate-
>>>> based calculations.
>>>>
>>>> We use this feature to keep track of Internet usage at home on a
>>>> per-teenager basis...
>>>>
>>>> Steve
>>>>
>>>> ________________________________________
>>>> From: mrtg-bounces at lists.oetiker.ch [mrtg-bounces at lists.oetiker.ch]
>>>> On Behalf Of ygor at comcast.net [ygor at comcast.net]
>>>> Sent: Sunday, 14 December 2008 6:38 a.m.
>>>> To: mrtg at lists.oetiker.ch
>>>> Subject: [mrtg] How can I get totals instead of rates ?
>>>>
>>>> I have set up MRTG to watch my Apple Airport.
>>>>
>>>> It works great, but I cannot get the numbers I want. I want to get
>>>> a total of packets sent/received on the interface between the
>>>> Airport and the cable modem.
>>>>
>>>> I have searched for how to configure MRTG to get the numbers you
>>>> want, but I cannot find the answer to this.
>>>>
>>>> Thanks.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20081214/5ff44c5b/attachment-0001.html 


More information about the mrtg mailing list