[rrd-users] Re: plotting traffic usage, so easy, and yet so hard?
lsharpe at pacificwireless.com.au
Tue Jan 14 23:43:23 MET 2003
To have RRDTool imitate the old MRTG setup, you need to use COUNTER for your
datasources. If you are recording octets in/out on your NIC, and you are
able to produce a graph of the throughput, you are almost there. (you email
indicates that you have already done this much.) When printing the graph,
GPRINT a LAST on your datasource to get the current throughput.
Network Systems Engineer
Ph 9584 8966
Mob 0408 009 502
email lsharpe at pacificwireless.com.au
----- Original Message -----
From: "Rommel, Florian" <Florian.Rommel at quartal.com>
To: <rrd-users at list.ee.ethz.ch>
Sent: Wednesday, January 15, 2003 3:02 AM
Subject: [rrd-users] plotting traffic usage, so easy, and yet so hard?
> OS to monitor: OpenBSD 3.2, ucd-snmp installed and working
> OS that monitors: RH Linux, rrdtool also working
> what i want to do: Get a 5 minute reading on what the current traffic
throughput (in mbit or kbit) is on a certain NIC on the OpenBSD box.
> Ok, I went thru the archives and besides the fellow that tried to sell the
script and some other small messages here and there is nothing that I found
about this subject. I used to use mrtg and to the current throughput on a
NIC it was very easy, but to get the current throughput on a NIC in rrdtool
it seems a bit more tricky. I got disk monitoring and cpu monitoring as well
as memory usage already plotting, so I don't think I am totally in the dark.
I think that the thing that I need to monitor is
> interfaces.ifTable.ifEntry.ifInOctets.INTERFACE_NUMBER. Someone on another
list told me to use the DERIVE method to get the actual traffic shown,
however I just don't get it.
> I mean am I even on the right track to accomplish what I wanna do? I read
the number on interfaces.ifTable.ifEntry.ifInOctets.INTERFACE_NUMBER and
then rrdtool derives it from the last number? How does that give me the
current kilobits/s? and should I use a counter or a gauge for this? I was
inclined for a gauge.
> Anyway I know this might all sound pretty senseless and dumb, the fact
that I just had a long day behind me doesn't help making it clear either, so
please bear with me. Any help with documentation or examples etc. would be
> Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
> Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
> Archive http://www.ee.ethz.ch/~slist/rrd-users
> WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
More information about the rrd-users