[mrtg] Re: CPU Utilization. (OID's for this and more!)

Jose Morales Olivares jose.morales at inicia.es
Thu Jun 29 18:51:17 MEST 2000


I'm new to the list and MRTG as well,  I'm able to monitor my interfaces and
the traffic flow.

When I attempt to use the following ODI
"1.3.6.1.2.1.4.20.1.2.1.3.6.1.4.1.9.2.1.58.0"  I get this error,

SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 1 (OID: 1.3.6.1.2.1.4.20.1.2.1.3.6.1.4.1.9.2.1.58.0)
SNMPv1_Session (remote host: "10.10.10.11" [10.10.10.11].161
                  community: "public"
                 request ID: 1408516399
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
SNMPGET Problem for ipAdEntIfIndex.1.3.6.1.4.1.9.2.1.58.0 on
public at 10.10.10.11

With the following script

<snip>

# Add a WorkDir: /some/path line to this file
Workdir: /export/home/oper/mrtg/datos/pruebas
Refresh: 300
Language: spanish


######################################################################
# Description: Cisco Internetwork Operating System Software IOS (tm) RSP
Software (RSP-ISV-M), Versi
on 12.0(3c), RELEASE SOFTWARE (fc1) Copyright (c) 1986-1999 by cisco
Systems, Inc. Compiled Thu 15-A
pr-99 13:49 by phanguye
#     Contact:
# System Name: rt01
#    Location:
#.....................................................................

Target[cpu-temp]: 1.3.6.1.4.1.9.2.1.58.0:public at 10.10.10.11
MaxBytes[cpu-temp]:]: 12500000
Title[cpu-temp]:]: rt01 (rt01-fe1-0-0.inicia.es): FastEthernet1/0/0
PageTop[cpu-temp]: <H1>Traffic Analysis for FastEthernet1/0/0
 </H1>
 <TABLE>
   <TR><TD>System:</TD><TD>rt01 in </TD></TR>
   <TR><TD>Maintainer:</TD><TD></TD></TR>
   <TR><TD>Interface:</TD><TD>FastEthernet1/0/0 (1)</TD></TR>
   <TR><TD>IP:</TD><TD> cpu-temp (10.10.10.11)</TD></TR>
   <TR><TD>Max Speed:</TD>
       <TD>12.5 MBytes/s (ethernetCsmacd)</TD></TR>
  </TABLE>

#---------------------------------------------------------------
ABORT: Please fix the error(s) in your config file


Can any one PLEAS point me in the correct direction.

-----Mensaje original-----


Here is the OID for Cisco CPU Utilization (1 minute and 5 minute) as well as
quite a few others we found to be useful..  :)  My suggestion is to do a
manual SNMP Get and GetNext on them.  Some of these require an additional
"port" tagged onto the end.

Ciscos :

CPU (5 Minute)          1.3.6.1.4.1.9.2.1.58.0
CPU (1 Minute)          1.3.6.1.4.1.9.2.1.57.0

Per interface:
ifInErrors                      1.3.6.1.2.1.2.2.1.14
ifOutErrors                     1.3.6.1.2.1.2.2.1.20

Should also graph in and out discards per interface.
ifInDiscards            1.3.6.1.2.1.2.2.1.13
ifOutDiscards           1.3.6.1.2.1.2.2.1.19

Per router:
ipOutDiscards           1.3.6.1.2.1.4.11
ipInDiscards            1.3.6.1.2.1.4.8

Temp in                 1.3.6.1.4.1.9.9.13.1.3.1.3.1
Temp Out                        1.3.6.1.4.1.9.9.13.1.3.1.3.2
Hotpoint                        1.3.6.1.4.1.9.9.13.1.3.1.3.3    (Only on
some routers)

Fore:
ATMTRAFFICIN            1.3.6.1.4.1.326.2.2.2.1.2.2.1.12.PORT
ATMFRAFFICOUT           1.3.6.1.4.1.326.2.2.2.1.2.2.1.18.PORT
ATMCPU                  1.3.6.1.4.1.326.2.2.1.1.1.3.1.2

3Com Hiper Arcs :
nmcStatTemperature      1.3.6.1.4.1.429.2.2.5
Ethernet1                       3:
Ethernet2                       4:

Best UPS :
upsOutputPercentLoad            1.3.6.1.4.1.2947.4.9    (Percentage of the
total UPS power capacity being used - integer expressed in % of 100)
upsBatteryRuntimeRemaining      1.3.6.1.4.1.2947.2.3    (remaining time in
minutes UPS will be able to run on battery - integer in minutes remaining)

APC UPS :
mUpsEnvironAmbientTemperature           1.3.6.1.4.1.318.1.1.2.1.1       (The
ambient temperature in celsius)
mUpsEnvironRelativeHumidity             1.3.6.1.4.1.318.1.1.2.1.2       (The
relative humidity as a percentage)

---------------------------
Jason H. Frisvold
Head ATM Engineer
Engineering Dept.
Penteledata
friz at corp.ptd.net
---------------------------
"Only two things are infinite, the universe and human stupidity, and I'm not
sure about the former." - Albert Einstein


-----Original Message-----
From: Matt Holmquist [mailto:mattho at InfoAve.Net]
Sent: Thursday, June 29, 2000 8:47 AM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] CPU Utilization.



Hello,

        I have just joined the list and have a question. How do I set up
MRTG to
read CPU utilization on a Cisco router? In the documents that I have, it
mentions that you need an OID number, but I do not kow where to pull that
value from. (ie: OID_1&OID_2:public at 192.168.1.1) If this question has
already been covered, then can someone direct me to where in the archives I
can look.

Thanks,

Matthew M. Holmquist, CCNA
Consulting Engineer
Info Avenue Internet Services
http://www.infoave.net
mattho at infoave.net

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

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


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