Re: Collecting CPU & Memory Utilization on Cisco Catalyst 6500

Tam Vo <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <OF54F8B700.ECD47DD2-ON882570DC.0061230B-882570DC.00613EBA@mck.us.ray.com>
Stuart,

Very good documentation.  Thanks for putting these together and make it 
available to all of us.

Tam Vo




Stuart Kendrick <[email protected]> 
Sent by: [email protected]
12/19/2005 08:38 AM

To
Tam Vo <[email protected]>
cc
[email protected]
Subject
Re: Collecting CPU & Memory Utilization on Cisco Catalyst 6500






hi tam,

one can query an OID without having any MIB files installed ...

ohio> snmpget -c public test-rtr 
.1.3.6.1.4.1.9.9.109.1.1.1.1.4.1
SNMPv2-SMI::enterprises.9.9.109.1.1.1.1.4.1 = Gauge32: 11
ohio>

however, if one wants to query by object-value ... that's when one needs 
MIB files installed.  the MIB files permit the net-snmp utilities to 
translate between that long string of numbers and something vaguely 
human-readable:

guru> snmptranslate .1.3.6.1.4.1.9.9.109.1.1.1.1.4.1
CISCO-PROCESS-MIB::cpmCPUTotal1min.1
guru> 
guru> snmpget -c public test-rtr cpmCPUTotal1min.1
CISCO-PROCESS-MIB::cpmCPUTotal1min.1 = Gauge32: 11
guru>

i'm guessing that either (a) you haven't yet copied the Cisco enterprise 
MIB files to the appropriate location, or (b) you haen't yet modified 
net-snmp's snmp.conf file to tell the net-snmp libraries to look at this 
location.

i post some rudimentary install instructions around this -- how to install 

enterprise MIB files (like Cisco's) and how to persuade the net-snmp 
toolkit to use them -- at http://www.skendric.com/device/   that URL, and 
http://www.skendric.com/trend/ also contain Perl code which queries 
various Cisco-specific object-values ... you might find some of the 
variables useful, if not the code itself.

--sk

stuart kendrick
fhcrc


Subject: Re: Collecting CPU & Memory Utilization on Cisco Catalyst 6500
From: Dave Shield <[email protected]>
To: Tam Vo <[email protected]>
Cc: [email protected]
Date: Mon, 19 Dec 2005 09:09:35 +0000

On Fri, 2005-12-16 at 11:16 -0800, Tam Vo wrote:
> I am able to get MIB-II information from the switch, but nothing else.

How are you trying to retrieve the Cisco-specific information?
What commands are you giving?



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log 
files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.