[mrtg] Grpahing RMON variables

Christopher Poetzel cpoetzel at achilles.ctd.anl.gov
Thu Jun 28 20:26:03 MEST 2001

I am grying to graph some RMON variables with mrtg-2.9.16, redhat 7.1,
rrdtool/14all.cgi and have having difficulties.  Specifically i want,

If i do a
>snmpwalk x.x.x.x  xxxxyyy .    i get = 0 = 0 = 0 = 0 = 0 = 0 = 0    ...etc.

These .32, .48 etc are the indexing that RMON uses.  if you do a
>snmpwalk x.x.x.x xxxxyyy . = OID: interfaces.ifTable.ifEntry.ifIndex.3 = OID: interfaces.ifTable.ifEntry.ifIndex.4 = OID: interfaces.ifTable.ifEntry.ifIndex.11 = OID: interfaces.ifTable.ifEntry.ifIndex.12

you can see how this ties into the ifIndexing which MRTG uses.
Below is the releavent cfg portion and the error output.  Is there someway
to get mrtg to use the correct RMON instance variable or any other way to
get this to work.  Looking at comp.dcomp.net-management i see that people
are doing this but still couldn't find out how.  I suppose i could create
a script to map the ifindex to the RMON instance variable.  Has anyone
done this or got this working?

Thanks in advance,
chris poetzel
cpoetzel at anl.gov
argonne national lab

 Here is the
relavant config section, usring ifdescr=name on a catalyst 6509 switch;

### Interface 1 >> Descr: 'sc0' | Name: 'sc0' | Ip: '' | Eth:  ###

Target[x.x.x.x_sc0_MulIN]: at x.x.x.x:
SetEnv[x.x.x.x_sc0_MulIN]: MRTG_INT_IP="" MRTG_INT_DESCR="sc0"
MaxBytes[x.x.x.x_sc0_MulIN]: 1250000
Title[x.x.x.x_sc0_MulIN]: #sc0  10.0 MBytes/s --
PageTop[x.x.x.x_sc0_MulIN]: <H1>#sc0  10.0 MBytes/s -- </H1>

SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 2 (OID:
SNMPv1_Session (remote host: "x.x.x.x" [x.x.x.x].161)
                  community: "xxxxx"
                 request ID: 1176991967
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/local/mrtg-2.9.16/bin/../lib/mrtg2/SNMP_util.pm line 450
SNMPGET Problem for ifName.1 ifName.1 on xxxxx at x.x.x.x:
 at ../bin/mrtg line 1485
WARNING: could not match&get x.x.x.x:/ for Name

Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

More information about the mrtg mailing list