Re: Collecting CPU & Memory Utilization on Cisco Catalyst 6500

Tam Vo <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <OF97AEE522.77E34DCA-ON882570DC.0057BB5E-882570DC.005811C1@mck.us.ray.com>
Great.  Thank you very much for your help Dave.  I am able to perform 
snmpget/snmpwalk with the Cisco switch to collect CPU & Memory utilization 
without reinstalling anything.  The trick was to perform an snmpwalk on a 
specific table to find out the additional extensions after the published 
OID.

Tam





Dave Shield <[email protected]> 
12/19/2005 01:09 AM

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






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?



> 1) Do I have to reinstall the snmp agent on the Catalyst 6500 with the
> option "./configure --with-mib-modules=xxxx"?

No - almost certainly not.

>   I really don't know if the snmp agent running on the Cisco switch is
> the same as say Solaris or Window. 

Neither do we - that's really a question for the Cisco support people,
not us.   But I'd be rather surprised if they were using the Net-SNMP
code, rather than a home-grown embedded system.  And I'd be gobsmacked
if they expected you to re-compile the agent yourself.

No - either the agent already supports the information you're after,
and the problem is just in asking for it correctly (most likely), or
you might need to install an updated version of the switch firmware
(least likely), or the information is not available at all (medium
to low likely).



> 2) Maybe I have to reinstall net-snmp on the client Redhat FC4 so that
> it includes the Cisco MIBs?  In general, do I need to reinstall
> net-snmp on the client side to include the enterprise MIBS or it only
> needs to be done at the agent side? 

No - you shouldn't need to reinstall anything.
If you know the numeric OIDs for the information you are after,
you can use those directly.  Otherwise, all you need to do is
install the new MIB files and configure the Net-SNMP tools to
load them.   You don't need to reinstall the whole suite.

See the FAQ entry
     How do I add a MIB to the tools

for more details.

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