[mrtg] cpu monitoring on cisco 2821 router

Dijk, Sebastian van sebastian.van.dijk at vecozo.com
Wed Dec 14 14:01:00 MET 2005


Hi !
 
I am trying to monitor my CPU load and free memory on my Cisco 2821
router.
 
I use this config  :
 
Target[192.168.10.10_CPU]:
.1.3.6.1.4.1.9.2.1.56&.1.3.6.1.4.1.9.2.1.56:read_vecozo at 192.168.10.10
Options[192.168.10.10_CPU]: growright, gauge, nobanner, noo
MaxBytes1[192.168.10.10_CPU]: 100
MaxBytes2[192.168.10.10_CPU]: 100
AbsMax[192.168.10.10_CPU]: 150
XSize[192.168.10.10_CPU]: 400
YSize[192.168.10.10_CPU]: 100
Kilo[192.168.10.10_CPU]: 1000
UnScaled[192.168.10.10_CPU]: DWMY
Withpeak[192.168.10.10_CPU]: DWMY
YLegend[192.168.10.10_CPU]: Usage %
ShortLegend[192.168.10.10_CPU]: %
LegendI[192.168.10.10_CPU]:  CPU 1-1:
Colours[192.168.10.10_CPU]:
GREEN#00eb0c,BLUE#1000ff,RED#F90000,VIOLET#ff00ff
Background[192.168.10.10_CPU]: #a0a0a0a
Title[192.168.10.10_CPU]: Traffic Analysis for 
PageTop[192.168.10.10_CPU]: Traffic Analysis for 
 <TABLE>
    <TR><TD>System:</TD>     <TD></TD></TR>
    <TR><TD>Maintainer:</TD> <TD></TD></TR>
    <TR><TD>Description:</TD><TD></TD></TR>
  </TABLE>
 
Target[192.168.10.10_FREEMEM]:
.1.3.6.1.4.1.9.2.1.8&.1.3.6.1.4.1.9.2.1.8:read_vecozo at 192.168.10.10
Options[192.168.10.10_FREEMEM]: growright, nopercent, gauge, nobanner,
noo
MaxBytes1[192.168.10.10_FREEMEM]: 1000000000
MaxBytes2[192.168.10.10_FREEMEM]: 1000000000
AbsMax[192.168.10.10_FREEMEM]: 1000000000
XSize[192.168.10.10_FREEMEM]: 400
YSize[192.168.10.10_FREEMEM]: 100
Kilo[192.168.10.10_FREEMEM]: 1000
UnScaled[192.168.10.10_FREEMEM]: DWMY
Withpeak[192.168.10.10_FREEMEM]: DWMY
YLegend[192.168.10.10_FREEMEM]: FREE %
ShortLegend[192.168.10.10_FREEMEM]: %
LegendI[192.168.10.10_FREEMEM]: &nbsp;FREEMEM 1-1:
Colours[192.168.10.10_FREEMEM]:
GREEN#00eb0c,BLUE#1000ff,RED#F90000,VIOLET#ff00ff
Background[192.168.10.10_FREEMEM]: #a0a0a0a
Title[192.168.10.10_FREEMEM]: Traffic Analysis for 
PageTop[192.168.10.10_FREEMEM]: Traffic Analysis for 
 <TABLE>
    <TR><TD>System:</TD>     <TD></TD></TR>
    <TR><TD>Maintainer:</TD> <TD></TD></TR>
    <TR><TD>Description:</TD><TD></TD></TR>
  </TABLE>
 
However i get the error : 
2005-12-14 14:02:40 -- Started mrtg with config '2821_A.cfg'
2005-12-14 14:02:40 -- SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 1 (OID: 1.3.6.1.4.1.9.2.1.56)
SNMPv1_Session (remote host: "192.168.10.10" [192.168.10.10].161)
                  community: "read_vecozo"
                 request ID: 1777996928
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at D:/BEHEER/MRTG/mrtg-2.11.1/bin\..\lib\mrtg2/SNMP_util.pm line 490
2005-12-14 14:02:40 -- SNMPGET Problem for .1.3.6.1.4.1.9.2.1.56
.1.3.6.1.4.1.9.2.1.56 sysUptime sysName on
read_vecozo at 192.168.10.10::::::v4only
 at mrtg line 1849
2005-12-14 14:02:40 -- SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 1 (OID: 1.3.6.1.4.1.9.2.1.8)
SNMPv1_Session (remote host: "192.168.10.10" [192.168.10.10].161)
                  community: "read_vecozo"
                 request ID: 1777996929
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at D:/BEHEER/MRTG/mrtg-2.11.1/bin\..\lib\mrtg2/SNMP_util.pm line 490
2005-12-14 14:02:40 -- SNMPGET Problem for .1.3.6.1.4.1.9.2.1.8
.1.3.6.1.4.1.9.2.1.8 sysUptime sysName on
read_vecozo at 192.168.10.10::::::v4only
 at mrtg line 1849
2005-12-14 14:02:40 -- ERROR: Target[192.168.10.10_cpu][_IN_] '
$target->[7]{$mode} ' did not eval into defined data
2005-12-14 14:02:40 -- ERROR: Target[192.168.10.10_cpu][_OUT_] '
$target->[7]{$mode} ' did not eval into defined data
2005-12-14 14:02:40 -- ERROR: Target[192.168.10.10_freemem][_IN_] '
$target->[8]{$mode} ' did not eval into defined data
2005-12-14 14:02:40 -- ERROR: Target[192.168.10.10_freemem][_OUT_] '
$target->[8]{$mode} ' did not eval into defined data

 
What's wrong ?
 
When i use these values in GETIF they return the right results.
 
 
 
Met vriendelijke groet, 
 
 
Sebastian van Dijk

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



More information about the mrtg mailing list