|
From: White, B. <be...@fe...> - 2011-08-09 20:54:24
|
Hi all, Can anyone take pity on me and give me a hand getting my oids, transforms, and message file to work with the below scenario? This is my first new template> I have gotten the cpu and memory tests working including the graphs, they reference a series of single (leaf) oids, no repeating data and no need to access data via an Index. I am running Devmon 0.3.1.-beta1. I have been spinning my wheels for two days. Here is the setup. I have a table in the MIB which is not indexed by a sequence of 1, 2, 3, etc. but based on number which appears to drop from the sky. This number however can be found in the ifIndex table by the same index number. So the first entry in ifIndex is 151126017 and at 1.3.6.1.2.1.2.2.1.1.151126017 you will obtain the integer 151126017. Like: ifIndex.151126017 = INTEGER: 151126017 If you use this number to access the ifName table you will get the name of the port on the switch. Like: ifName.151126017 = STRING: Vlan1 I can pull these individual entries via devmon from the MIB with hardcoded oids and using the leaf type. That is of little use. I can not figure out the proper syntax for the INDEX transforms entry to pull the full set of ifIndex entries nor how to format the proper transforms entries to use those Index entries to access the entries in the MIB for the ifName table. I have tried many different entries for the INDEX and CHAIN transforms with no luck. Usually I end up with an error message "Missing repeater data for primary OID <variable>" When using snmpwalk I can get the data just fine. Pointing snmpwalk at oid 1.3.6.1.2.1.2.2.1.1 for the ifIndex field I get back: IF-MIB::ifIndex.151126017 = INTEGER: 151126017 IF-MIB::ifIndex.151126022 = INTEGER: 151126022 IF-MIB::ifIndex.151126116 = INTEGER: 151126116 IF-MIB::ifIndex.151126136 = INTEGER: 151126136 IF-MIB::ifIndex.151126220 = INTEGER: 151126220 IF-MIB::ifIndex.151126236 = INTEGER: 151126236 IF-MIB::ifIndex.151126252 = INTEGER: 151126252 IF-MIB::ifIndex.151126260 = INTEGER: 151126260 IF-MIB::ifIndex.151126261 = INTEGER: 151126261 IF-MIB::ifIndex.151126266 = INTEGER: 151126266 IF-MIB::ifIndex.151126268 = INTEGER: 151126268 IF-MIB::ifIndex.436207616 = INTEGER: 436207616 IF-MIB::ifIndex.436211712 = INTEGER: 436211712 IF-MIB::ifIndex.436215808 = INTEGER: 436215808 IF-MIB::ifIndex.436219904 = INTEGER: 436219904 IF-MIB::ifIndex.436224000 = INTEGER: 436224000 IF-MIB::ifIndex.436228096 = INTEGER: 436228096 IF-MIB::ifIndex.436232192 = INTEGER: 436232192 IF-MIB::ifIndex.436236288 = INTEGER: 436236288 IF-MIB::ifIndex.436240384 = INTEGER: 436240384 IF-MIB::ifIndex.436244480 = INTEGER: 436244480 IF-MIB::ifIndex.436248576 = INTEGER: 436248576 IF-MIB::ifIndex.436252672 = INTEGER: 436252672 IF-MIB::ifIndex.436256768 = INTEGER: 436256768 IF-MIB::ifIndex.436260864 = INTEGER: 436260864 IF-MIB::ifIndex.436264960 = INTEGER: 436264960 IF-MIB::ifIndex.436269056 = INTEGER: 436269056 IF-MIB::ifIndex.436273152 = INTEGER: 436273152 IF-MIB::ifIndex.436277248 = INTEGER: 436277248 IF-MIB::ifIndex.436281344 = INTEGER: 436281344 IF-MIB::ifIndex.436285440 = INTEGER: 436285440 IF-MIB::ifIndex.436289536 = INTEGER: 436289536 IF-MIB::ifIndex.436293632 = INTEGER: 436293632 IF-MIB::ifIndex.436297728 = INTEGER: 436297728 IF-MIB::ifIndex.436301824 = INTEGER: 436301824 IF-MIB::ifIndex.436305920 = INTEGER: 436305920 IF-MIB::ifIndex.436310016 = INTEGER: 436310016 IF-MIB::ifIndex.436314112 = INTEGER: 436314112 IF-MIB::ifIndex.436318208 = INTEGER: 436318208 IF-MIB::ifIndex.436322304 = INTEGER: 436322304 IF-MIB::ifIndex.436326400 = INTEGER: 436326400 IF-MIB::ifIndex.436330496 = INTEGER: 436330496 IF-MIB::ifIndex.436334592 = INTEGER: 436334592 IF-MIB::ifIndex.436338688 = INTEGER: 436338688 IF-MIB::ifIndex.436342784 = INTEGER: 436342784 IF-MIB::ifIndex.436346880 = INTEGER: 436346880 IF-MIB::ifIndex.436350976 = INTEGER: 436350976 IF-MIB::ifIndex.436355072 = INTEGER: 436355072 IF-MIB::ifIndex.436359168 = INTEGER: 436359168 IF-MIB::ifIndex.436363264 = INTEGER: 436363264 IF-MIB::ifIndex.436367360 = INTEGER: 436367360 IF-MIB::ifIndex.436371456 = INTEGER: 436371456 IF-MIB::ifIndex.436375552 = INTEGER: 436375552 IF-MIB::ifIndex.436379648 = INTEGER: 436379648 IF-MIB::ifIndex.436383744 = INTEGER: 436383744 IF-MIB::ifIndex.436387840 = INTEGER: 436387840 IF-MIB::ifIndex.436391936 = INTEGER: 436391936 IF-MIB::ifIndex.436396032 = INTEGER: 436396032 IF-MIB::ifIndex.436400128 = INTEGER: 436400128 IF-MIB::ifIndex.436731904 = INTEGER: 436731904 IF-MIB::ifIndex.436740096 = INTEGER: 436740096 IF-MIB::ifIndex.436748288 = INTEGER: 436748288 IF-MIB::ifIndex.436756480 = INTEGER: 436756480 When using snmpwalk I can get the data just fine. Pointing snmpwalk at oid 1.3.6.1.2.1.31.1.1.1.1 for the ifName field I get back: IF-MIB::ifName.151126017 = STRING: Vlan1 IF-MIB::ifName.151126022 = STRING: Vlan6 IF-MIB::ifName.151126116 = STRING: Vlan100 IF-MIB::ifName.151126136 = STRING: Vlan120 IF-MIB::ifName.151126220 = STRING: Vlan204 IF-MIB::ifName.151126236 = STRING: Vlan220 IF-MIB::ifName.151126252 = STRING: Vlan236 IF-MIB::ifName.151126260 = STRING: Vlan244 IF-MIB::ifName.151126261 = STRING: Vlan245 IF-MIB::ifName.151126266 = STRING: Vlan250 IF-MIB::ifName.151126268 = STRING: Vlan252 IF-MIB::ifName.436207616 = STRING: Ethernet1/1 IF-MIB::ifName.436211712 = STRING: Ethernet1/2 IF-MIB::ifName.436215808 = STRING: Ethernet1/3 IF-MIB::ifName.436219904 = STRING: Ethernet1/4 IF-MIB::ifName.436224000 = STRING: Ethernet1/5 IF-MIB::ifName.436228096 = STRING: Ethernet1/6 IF-MIB::ifName.436232192 = STRING: Ethernet1/7 IF-MIB::ifName.436236288 = STRING: Ethernet1/8 IF-MIB::ifName.436240384 = STRING: Ethernet1/9 IF-MIB::ifName.436244480 = STRING: Ethernet1/10 IF-MIB::ifName.436248576 = STRING: Ethernet1/11 IF-MIB::ifName.436252672 = STRING: Ethernet1/12 IF-MIB::ifName.436256768 = STRING: Ethernet1/13 IF-MIB::ifName.436260864 = STRING: Ethernet1/14 IF-MIB::ifName.436264960 = STRING: Ethernet1/15 IF-MIB::ifName.436269056 = STRING: Ethernet1/16 IF-MIB::ifName.436273152 = STRING: Ethernet1/17 IF-MIB::ifName.436277248 = STRING: Ethernet1/18 IF-MIB::ifName.436281344 = STRING: Ethernet1/19 IF-MIB::ifName.436285440 = STRING: Ethernet1/20 IF-MIB::ifName.436289536 = STRING: Ethernet1/21 IF-MIB::ifName.436293632 = STRING: Ethernet1/22 IF-MIB::ifName.436297728 = STRING: Ethernet1/23 IF-MIB::ifName.436301824 = STRING: Ethernet1/24 IF-MIB::ifName.436305920 = STRING: Ethernet1/25 IF-MIB::ifName.436310016 = STRING: Ethernet1/26 IF-MIB::ifName.436314112 = STRING: Ethernet1/27 IF-MIB::ifName.436318208 = STRING: Ethernet1/28 IF-MIB::ifName.436322304 = STRING: Ethernet1/29 IF-MIB::ifName.436326400 = STRING: Ethernet1/30 IF-MIB::ifName.436330496 = STRING: Ethernet1/31 IF-MIB::ifName.436334592 = STRING: Ethernet1/32 IF-MIB::ifName.436338688 = STRING: Ethernet1/33 IF-MIB::ifName.436342784 = STRING: Ethernet1/34 IF-MIB::ifName.436346880 = STRING: Ethernet1/35 IF-MIB::ifName.436350976 = STRING: Ethernet1/36 IF-MIB::ifName.436355072 = STRING: Ethernet1/37 IF-MIB::ifName.436359168 = STRING: Ethernet1/38 IF-MIB::ifName.436363264 = STRING: Ethernet1/39 IF-MIB::ifName.436367360 = STRING: Ethernet1/40 IF-MIB::ifName.436371456 = STRING: Ethernet1/41 IF-MIB::ifName.436375552 = STRING: Ethernet1/42 IF-MIB::ifName.436379648 = STRING: Ethernet1/43 IF-MIB::ifName.436383744 = STRING: Ethernet1/44 IF-MIB::ifName.436387840 = STRING: Ethernet1/45 IF-MIB::ifName.436391936 = STRING: Ethernet1/46 IF-MIB::ifName.436396032 = STRING: Ethernet1/47 IF-MIB::ifName.436400128 = STRING: Ethernet1/48 IF-MIB::ifName.436731904 = STRING: Ethernet2/1 IF-MIB::ifName.436740096 = STRING: Ethernet2/3 IF-MIB::ifName.436748288 = STRING: Ethernet2/5 IF-MIB::ifName.436756480 = STRING: Ethernet2/7 For grins here are the ifInOctets entries which uses the same set of index numbers: IF-MIB::ifInOctets.151126017 = Counter32: 11511941 IF-MIB::ifInOctets.151126022 = Counter32: 0 IF-MIB::ifInOctets.151126116 = Counter32: 1224925501 IF-MIB::ifInOctets.151126136 = Counter32: 0 IF-MIB::ifInOctets.151126220 = Counter32: 0 IF-MIB::ifInOctets.151126236 = Counter32: 266315 IF-MIB::ifInOctets.151126252 = Counter32: 1192261949 IF-MIB::ifInOctets.151126260 = Counter32: 2258703484 IF-MIB::ifInOctets.151126261 = Counter32: 343432467 IF-MIB::ifInOctets.151126266 = Counter32: 5163844 IF-MIB::ifInOctets.151126268 = Counter32: 253331568 IF-MIB::ifInOctets.436207616 = Counter32: 1030908535 IF-MIB::ifInOctets.436211712 = Counter32: 2006846481 IF-MIB::ifInOctets.436215808 = Counter32: 1266142323 IF-MIB::ifInOctets.436219904 = Counter32: 124502 IF-MIB::ifInOctets.436224000 = Counter32: 37639919 IF-MIB::ifInOctets.436228096 = Counter32: 1715016437 IF-MIB::ifInOctets.436232192 = Counter32: 260764387 IF-MIB::ifInOctets.436236288 = Counter32: 0 IF-MIB::ifInOctets.436240384 = Counter32: 0 IF-MIB::ifInOctets.436244480 = Counter32: 1196421836 IF-MIB::ifInOctets.436248576 = Counter32: 12950 IF-MIB::ifInOctets.436252672 = Counter32: 0 IF-MIB::ifInOctets.436256768 = Counter32: 0 IF-MIB::ifInOctets.436260864 = Counter32: 2912008020 IF-MIB::ifInOctets.436264960 = Counter32: 126140427 IF-MIB::ifInOctets.436269056 = Counter32: 423468802 IF-MIB::ifInOctets.436273152 = Counter32: 1766452423 IF-MIB::ifInOctets.436277248 = Counter32: 0 IF-MIB::ifInOctets.436281344 = Counter32: 3865728 IF-MIB::ifInOctets.436285440 = Counter32: 0 IF-MIB::ifInOctets.436289536 = Counter32: 48453944 IF-MIB::ifInOctets.436293632 = Counter32: 1361489083 IF-MIB::ifInOctets.436297728 = Counter32: 2792008678 IF-MIB::ifInOctets.436301824 = Counter32: 0 IF-MIB::ifInOctets.436305920 = Counter32: 781684026 IF-MIB::ifInOctets.436310016 = Counter32: 576792633 IF-MIB::ifInOctets.436314112 = Counter32: 2577652645 IF-MIB::ifInOctets.436318208 = Counter32: 0 IF-MIB::ifInOctets.436322304 = Counter32: 184792153 IF-MIB::ifInOctets.436326400 = Counter32: 3275479902 IF-MIB::ifInOctets.436330496 = Counter32: 8957208 IF-MIB::ifInOctets.436334592 = Counter32: 250338299 IF-MIB::ifInOctets.436338688 = Counter32: 0 IF-MIB::ifInOctets.436342784 = Counter32: 1456957121 IF-MIB::ifInOctets.436346880 = Counter32: 74397778 IF-MIB::ifInOctets.436350976 = Counter32: 990324738 IF-MIB::ifInOctets.436355072 = Counter32: 906432 IF-MIB::ifInOctets.436359168 = Counter32: 1322461540 IF-MIB::ifInOctets.436363264 = Counter32: 0 IF-MIB::ifInOctets.436367360 = Counter32: 0 IF-MIB::ifInOctets.436371456 = Counter32: 1175608224 IF-MIB::ifInOctets.436375552 = Counter32: 24336 IF-MIB::ifInOctets.436379648 = Counter32: 120921295 IF-MIB::ifInOctets.436383744 = Counter32: 0 IF-MIB::ifInOctets.436387840 = Counter32: 0 IF-MIB::ifInOctets.436391936 = Counter32: 944638795 IF-MIB::ifInOctets.436396032 = Counter32: 548664587 IF-MIB::ifInOctets.436400128 = Counter32: 1317470028 IF-MIB::ifInOctets.436731904 = Counter32: 5672 IF-MIB::ifInOctets.436740096 = Counter32: 5672 IF-MIB::ifInOctets.436748288 = Counter32: 52874384 IF-MIB::ifInOctets.436756480 = Counter32: 52874384 Any help would be greatly appreciated! .....Bruce Bruce White Senior Enterprise Systems Engineer | Phone: 1-630-671-5169 | Fax: 630-893-1648 | be...@fe... | http://www.fellowes.com/ Disclaimer: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. Fellowes, Inc. |