[mrtg] MRTG and PacketShaper.

MRTG MRTG at Diabelec.com
Thu Oct 11 14:29:31 MEST 2001


Hi,

We need to graph traffic statistics from a PacketShaper which uses the
following OID for traffic classes:

1.3.6.1.4.1.2334.2.1.4.2.1.37.XXXX where XXXX is the traffic class
identifier.

Using the following Mrtg.cfg file:

##########################################################################
WorkDir: H:\InetPub\wwwroot\Mrtg
LoadMIBs: D:\Program Files\Mrtg-2.9.4\Mibs\Packeteer.mib
LoadMIBs: D:\Program Files\Mrtg-2.9.4\Mibs\PacketeerRTM.mib
LoadMIBs: D:\Program Files\Mrtg-2.9.4\Mibs\OIDs.mib
LoadMIBs: D:\Program Files\Mrtg-2.9.4\Mibs\RFC1213.mib
Directory[Inbound]: Inbound
Directory[Outbound]: Outbound
Options[Inbound]: bits
Options[Outbound]: bits
RunAsDaemon: Yes
Interval: 5

Target[Inbound]: 1.3.6.1.4.1.2334.2.1.4.2.1.37.1:Public at 192.168.25.254
SetEnv[Inbound]: MRTG_INT_IP="192.168.25.254" MRTG_INT_DESCR="Inbound"
MaxBytes[Inbound]: 256000
Title[Inbound]: Inbound Traffic
PageTop[Inbound]: <H1>Inbound Traffic</H1>
 <TABLE>
   <TR><TD>System:</TD>     <TD>PacketShaper.</TD></TR>
   <TR><TD>Maintainer:</TD> <TD>Contact.</TD></TR>
   <TR><TD>Description:</TD><TD>Inbound Traffic.</TD></TR>
   <TR><TD>Max Speed:</TD>  <TD>256-Kbits/s</TD></TR>
 </TABLE>


Target[Outbound]: 1.3.6.1.4.1.2334.2.1.4.2.1.37.2:Public at 192.168.25.254
SetEnv[Outbound]: MRTG_INT_IP="192.168.25.254" MRTG_INT_DESCR="Outbound"
MaxBytes[Outbound]: 256000
Title[Outbound]: Outbound Traffic Analysis
PageTop[Outbound]: <H1>Outbound Traffic</H1>
 <TABLE>
   <TR><TD>System:</TD>     <TD>PacketShaper.</TD></TR>
   <TR><TD>Maintainer:</TD> <TD>Contact.</TD></TR>
   <TR><TD>Description:</TD><TD>Outbound Traffic.</TD></TR>
   <TR><TD>Max Speed:</TD>  <TD>256-Kbits/s</TD></TR>
 </TABLE>
############################################################################
#

the error log file shows the following:

SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 1 (OID: 1.3.6.1.2.1.2.2.1.10.1)
SNMPv1_Session (remote host: "192.168.25.254" [192.168.25.254].161
                  community: "Public"
                 request ID: 821314713
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
SNMPGET Problem for ifInOctets.1 ifOutOctets.1 sysUptime sysName on
Public at 192.168.25.254
SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 1 (OID: 1.3.6.1.2.1.2.2.1.10.1)
SNMPv1_Session (remote host: "192.168.25.254" [192.168.25.254].161
                  community: "Public"
                 request ID: 821314714
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
SNMPGET Problem for ifInOctets.2 ifOutOctets.2 sysUptime sysName on
Public at 192.168.25.254

###

>From the above, MRTG is looking for OID: 1.3.6.1.2.1.2.2.1.10.1.X which is
not applicable to the PacketShaper, we need it to poll OID
1.3.6.1.4.1.2334.2.1.4.2.1.37.X.

Any idea how we can make MRTG fish for the required variables and not its
(Cisco) defaults?



--
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