09-23-2015 07:52 PM
Hello
i has a question about feature of the IOS-XR on ASR9K .
i use the snmp to get information from IOS-XR
the snmp server can get the Router interface bandwidth
but it can't get memory and CPU
when it request the CPU and Memory , then return haven't this oid
which documentation can i find ?
thanks
Solved! Go to Solution.
09-23-2015 11:35 PM
Hi
Think this link will help you with your snmp issue
Regards Peter
09-23-2015 11:35 PM
Hi
Think this link will help you with your snmp issue
Regards Peter
09-24-2015 06:02 AM
HI
thanks
but can you tell me
the Document about snmp track CPU
need me to add config in my Router
or need the Server engineer add oid in his Server?
Step 1.
snmpwalk for the OID (1.3.6.1.4.1.9.9.109.1.1.1.1.2 ) for the object "cpmCPUTotalPhysicalIndex" gives the PhysicalIndex mapping of cards
NMS% snmpwalk -v2c -c <community_name> <router's IP address> 1.3.6.1.4.1.9.9.109.1.1.1.1.2
SNMPv2-SMI::enterprises.9.9.109.1.1.1.1.2.2 = INTEGER: 2359704
Step 2.
It is possible now to figure out which card is what by polling OID (1.3.6.1.2.1.47.1.1.1.1.7) for object "entPhysicalName" using the
values received in step 1
NMS% snmpwalk -v2c -c <community_name> <router's IP address> 1.3.6.1.2.1.47.1.1.1.1.7.2359704
SNMPv2-SMI::mib-2.47.1.1.1.1.7.2359704 = STRING: "0/0/* - cpu"
Step 3
snmpwalk for the OID (1.3.6.1.4.1.9.9.109.1.1.1.1.7) for the object "cpmCPUTotal1minRev" gives the
CPU utilization percent for one minute for the index above and if, for example, we are talking about RP0 and RP1
we should look at the indexes 514 and 530
NMS% snmpwalk -v2c -c <community_name> <router's IP address> 1.3.6.1.4.1.9.9.109.1.1.1.1.7.514
SNMPv2-SMI::enterprises.9.9.109.1.1.1.1.7.514 = Gauge32: 2
Step 4.
Polling the OID (1.3.6.1.4.1.9.9.109.1.1.1.1.8) for the object "cpmCPUTotal5minRev" gives the CPU
utilization percent for 5 minute for the index above and, again, if we are talking about RP0 and RP1
we should look at the indexes 514 and 530
NMS% snmpwalk -v2c -c <community_name> <router's IP address> 1.3.6.1.4.1.9.9.109.1.1.1.1.8.514
SNMPv2-SMI::enterprises.9.9.109.1.1.1.1.8.514 = Gauge32: 2
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide