07-22-2011 09:01 AM
Hello,
Does anyone know how to configure in a 2950 or 2960 snmp in order to send traps regarding cpu and memory utilization?? I can't find it in the command line or in any document.
Here is the output of the 2950:
Switch(config)#snmp-server enable traps ?
bridge Enable SNMP STP Bridge MIB traps
c2900 Enable SNMP c2900 traps
cluster Enable Cluster traps
config Enable SNMP config traps
entity Enable SNMP entity traps
envmon Enable SNMP environmental monitor traps
flash Enable SNMP FLASH notifications
hsrp Enable SNMP HSRP traps
mac-notification Enable SNMP MAC Notification traps
port-security Enable SNMP port security traps
rtr Enable SNMP Response Time Reporter traps
snmp Enable SNMP traps
syslog Enable SNMP syslog traps
vlan-membership Enable SNMP VLAN membership traps
vlancreate Enable SNMP VLAN created traps
vlandelete Enable SNMP VLAN deleted traps
vtp Enable SNMP VTP traps
<cr>
Switch(config)#snmp-server enable traps sn
Switch(config)#snmp-server enable traps snmp ?
authentication Enable authentication trap
coldstart Enable coldStart trap
linkdown Enable linkDown trap
linkup Enable linkUp trap
warmstart Enable warmStart trap
<cr>
Thanks in advance for your help.
Regards
07-24-2011 12:09 AM
Hi ,
for CPU and Memory Utilzation you need to poll the below OID's:
* CPU utilization:
- MIB: CISCO-PROCESS MIB
version: Cisco IOS Software releases 12.2(3.5) or later
object: cpmCPUTotal5minRev
OID: 1.3.6.1.4.1.9.9.109.1.1.1.1.8
object: cpmCPUTotal1minRev
OID: 1.3.6.1.4.1.9.9.109.1.1.1.1.7
object: cpmCPUTotal5secRev
OID: 1.3.6.1.4.1.9.9.109.1.1.1.1.6
- MIB: CISCO-PROCESS MIB
version: Cisco IOS Software releases later to 12.0(3)T and prior to
12.2(3.5)
object: cpmCPUTotal5min
OID: 1.3.6.1.4.1.9.9.109.1.1.1.1.5
object: cpmCPUTotal1min
OID: 1.3.6.1.4.1.9.9.109.1.1.1.1.4
object: cpmCPUTotal5sec
OID: 1.3.6.1.4.1.9.9.109.1.1.1.1.3
- MIB: OLD-CISCO-CPU MIB
version: Cisco IOS Software releases prior to 12.0(3)T
object: avgBusy5
OID: 1.3.6.1.4.1.9.2.1.58
object: avgBusy1
OID: 1.3.6.1.4.1.9.2.1.57
object: busyPer
OID: 1.3.6.1.4.1.9.2.1.56
* Memory utilization:
MIB: CISCO-MEMORY-POOL-MIB
object: ciscoMemoryPoolMIB
OID: 1.3.6.1.4.1.9.9.48
for more information ,check the below link:
http://www.cisco.com/en/US/tech/tk648/tk362/technologies_tech_note09186a0080094a94.shtml
I hope this will help you !!!
Thanks
Afroj
07-25-2011 03:17 PM
Tnx Afroj !!
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: