From: KING, K. (ATTSI) <KK...@at...> - 2011-04-11 15:34:03
|
I have a test I am building for MSU per Processor on a Cisco ITP/Router. The MSU OID is 1.3.6.1.4.1.9.9.529.1.2.2.1.3. Ok I have the test and get the data back. Here is a sample below. I now will need to do a transform. The data after the last digit on the oid walled is 3 after that is the system processor number and then the traffic direction. ( 1=rx 2=tx) then the gauge is the MSU counter. Ok I want to display this as processor slot/bay rx data " " tx data. The processor slot and bay are in two other oid's. so one oid will give me the slot for processor 1 then a second oid will give me the bay of the slot for processor 1. One thing that has me stuck is the rx tx direction is not in a readable oid so I can do a switch transform to fill the table. I am getting mixed up on this. It seems I will have to do a few transforms on this and not sure where to go with it. I tend to make things more difficult than needed. So I hope I can get some clarity and direction for the group. snmpwalk -v2c -c public host 1.3.6.1.4.1.9.9.529.1.2.2.1.3 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.1.1 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.1.2 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.2.1 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.2.2 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.3.1 = Gauge32: 370 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.3.2 = Gauge32: 347 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.4.1 = Gauge32: 272 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.4.2 = Gauge32: 250 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.5.1 = Gauge32: 371 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.5.2 = Gauge32: 353 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.6.1 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.6.2 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.7.1 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.7.2 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.8.1 = Gauge32: 269 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.8.2 = Gauge32: 292 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.9.1 = Gauge32: 384 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.9.2 = Gauge32: 372 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.10.1 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.10.2 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.11.1 = Gauge32: 357 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.11.2 = Gauge32: 375 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.12.1 = Gauge32: 368 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.12.2 = Gauge32: 377 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.13.1 = Gauge32: 355 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.13.2 = Gauge32: 367 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.14.1 = Gauge32: 379 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.14.2 = Gauge32: 364 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.15.1 = Gauge32: 542 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.15.2 = Gauge32: 525 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.16.1 = Gauge32: 304 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.16.2 = Gauge32: 362 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.17.1 = Gauge32: 574 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.17.2 = Gauge32: 538 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.18.1 = Gauge32: 696 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.18.2 = Gauge32: 668 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.19.1 = Gauge32: 638 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.19.2 = Gauge32: 640 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.20.1 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.20.2 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.21.1 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.21.2 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.22.1 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.22.2 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.23.1 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.23.2 = Gauge32: 0 Kevin H. King Engineer V Implementations AT&T 404-444-0410 "You can not please everyone everyday, But everyday please everyone you can" -me |