Hi there,

I'm on the way to create a Custom Probe for some EMC Fibre Channel Switches. But I'm stuck with some basic problem lying in the nature of SNMP OID MIBS. The probe should deliver some In an Out statistics for each of the FibreChannel Switch Ports.
With these values I would like to do some other stuff in the probe.
So I figured out the needed OIDs for the interface values.

Here is an example output for one of the needed tables:

lombard:~ jb$ snmpwalk -v1 -c xxxxxxx -On fcswi1 SNMPv2- SMI::mib-2.8888.1.3.1.1.3 .1.3.6.1.2.1.8888.1.3.1.1.3.16.0.8.0.136.3.123.68.0.0.0.0.0.0.0.0.1 = Counter64: 1785534164 .1.3.6.1.2.1.8888.1.3.1.1.3.16.0.8.0.136.3.123.68.0.0.0.0.0.0.0.0.2 = Counter64: 7228426658 .1.3.6.1.2.1.8888.1.3.1.1.3.16.0.8.0.136.3.123.68.0.0.0.0.0.0.0.0.3 = Counter64: 3013114487 .1.3.6.1.2.1.8888.1.3.1.1.3.16.0.8.0.136.3.123.68.0.0.0.0.0.0.0.0.4 = Counter64: 14676738423 .1.3.6.1.2.1.8888.1.3.1.1.3.16.0.8.0.136.3.123.68.0.0.0.0.0.0.0.0.5 = Counter64: 1798856 .1.3.6.1.2.1.8888.1.3.1.1.3.16.0.8.0.136.3.123.68.0.0.0.0.0.0.0.0.6 = Counter64: 15374132 .1.3.6.1.2.1.8888.1.3.1.1.3.16.0.8.0.136.3.123.68.0.0.0.0.0.0.0.0.7 = Counter64: 1149071453 .1.3.6.1.2.1.8888.1.3.1.1.3.16.0.8.0.136.3.123.68.0.0.0.0.0.0.0.0.8 = Counter64: 0 .1.3.6.1.2.1.8888.1.3.1.1.3.16.0.8.0.136.3.123.68.0.0.0.0.0.0.0.0.9 = Counter64: 0 . 1.3.6.1.2.1.8888.1.3.1.1.3.16.0.8.0.136.3.123.68.0.0.0.0.0.0.0.0.10 = Counter64: 0 . 1.3.6.1.2.1.8888.1.3.1.1.3.16.0.8.0.136.3.123.68.0.0.0.0.0.0.0.0.11 = Counter64: 0 . 1.3.6.1.2.1.8888.1.3.1.1.3.16.0.8.0.136.3.123.68.0.0.0.0.0.0.0.0.12 = Counter64: 0 . 1.3.6.1.2.1.8888.1.3.1.1.3.16.0.8.0.136.3.123.68.0.0.0.0.0.0.0.0.13 = Counter64: 2313 . 1.3.6.1.2.1.8888.1.3.1.1.3.16.0.8.0.136.3.123.68.0.0.0.0.0.0.0.0.14 = Counter64: 2023858019 . 1.3.6.1.2.1.8888.1.3.1.1.3.16.0.8.0.136.3.123.68.0.0.0.0.0.0.0.0.15 = Counter64: 2520845 . 1.3.6.1.2.1.8888.1.3.1.1.3.16.0.8.0.136.3.123.68.0.0.0.0.0.0.0.0.16 = Counter64: 314842318 . 1.3.6.1.2.1.8888.1.3.1.1.3.16.0.8.0.136.3.123.68.0.0.0.0.0.0.0.0.17 = Counter64: 2990635869 . 1.3.6.1.2.1.8888.1.3.1.1.3.16.0.8.0.136.3.123.68.0.0.0.0.0.0.0.0.18 = Counter64: 1129957054 . 1.3.6.1.2.1.8888.1.3.1.1.3.16.0.8.0.136.3.123.68.0.0.0.0.0.0.0.0.19 = Counter64: 0 . 1.3.6.1.2.1.8888.1.3.1.1.3.16.0.8.0.136.3.123.68.0.0.0.0.0.0.0.0.20 = Counter64: 6538340088 . 1.3.6.1.2.1.8888.1.3.1.1.3.16.0.8.0.136.3.123.68.0.0.0.0.0.0.0.0.21 = Counter64: 26134497 . 1.3.6.1.2.1.8888.1.3.1.1.3.16.0.8.0.136.3.123.68.0.0.0.0.0.0.0.0.22 = Counter64: 58968971 . 1.3.6.1.2.1.8888.1.3.1.1.3.16.0.8.0.136.3.123.68.0.0.0.0.0.0.0.0.23 = Counter64: 2118164022 . 1.3.6.1.2.1.8888.1.3.1.1.3.16.0.8.0.136.3.123.68.0.0.0.0.0.0.0.0.24 = Counter64: 1282981718

lombard:~ jb$ snmpwalk -v1 -c xxxxx -On fcswi2 SNMPv2- SMI::mib-2.8888.1.3.1.1.3 . 1.3.6.1.2.1.8888.1.3.1.1.3.16.0.8.0.136.3.124.201.0.0.0.0.0.0.0.0.1 = Counter64: 6821633920 . 1.3.6.1.2.1.8888.1.3.1.1.3.16.0.8.0.136.3.124.201.0.0.0.0.0.0.0.0.2 = Counter64: 3462540110 . 1.3.6.1.2.1.8888.1.3.1.1.3.16.0.8.0.136.3.124.201.0.0.0.0.0.0.0.0.3 = Counter64: 14706674968 . 1.3.6.1.2.1.8888.1.3.1.1.3.16.0.8.0.136.3.124.201.0.0.0.0.0.0.0.0.4 = Counter64: 3019875433 . 1.3.6.1.2.1.8888.1.3.1.1.3.16.0.8.0.136.3.124.201.0.0.0.0.0.0.0.0.5 = Counter64: 1997324618 . 1.3.6.1.2.1.8888.1.3.1.1.3.16.0.8.0.136.3.124.201.0.0.0.0.0.0.0.0.6 = Counter64: 1361243 . 1.3.6.1.2.1.8888.1.3.1.1.3.16.0.8.0.136.3.124.201.0.0.0.0.0.0.0.0.7 = Counter64: 3158502353 . 1.3.6.1.2.1.8888.1.3.1.1.3.16.0.8.0.136.3.124.201.0.0.0.0.0.0.0.0.8 = Counter64: 0 . 1.3.6.1.2.1.8888.1.3.1.1.3.16.0.8.0.136.3.124.201.0.0.0.0.0.0.0.0.9 = Counter64: 0 . 1.3.6.1.2.1.8888.1.3.1.1.3.16.0.8.0.136.3.124.201.0.0.0.0.0.0.0.0.10 = Counter64: 0 . 1.3.6.1.2.1.8888.1.3.1.1.3.16.0.8.0.136.3.124.201.0.0.0.0.0.0.0.0.11 = Counter64: 0 . 1.3.6.1.2.1.8888.1.3.1.1.3.16.0.8.0.136.3.124.201.0.0.0.0.0.0.0.0.12 = Counter64: 0 . 1.3.6.1.2.1.8888.1.3.1.1.3.16.0.8.0.136.3.124.201.0.0.0.0.0.0.0.0.13 = Counter64: 0 . 1.3.6.1.2.1.8888.1.3.1.1.3.16.0.8.0.136.3.124.201.0.0.0.0.0.0.0.0.14 = Counter64: 0 . 1.3.6.1.2.1.8888.1.3.1.1.3.16.0.8.0.136.3.124.201.0.0.0.0.0.0.0.0.15 = Counter64: 3094 . 1.3.6.1.2.1.8888.1.3.1.1.3.16.0.8.0.136.3.124.201.0.0.0.0.0.0.0.0.16 = Counter64: 310190903 . 1.3.6.1.2.1.8888.1.3.1.1.3.16.0.8.0.136.3.124.201.0.0.0.0.0.0.0.0.17 = Counter64: 2533443015 . 1.3.6.1.2.1.8888.1.3.1.1.3.16.0.8.0.136.3.124.201.0.0.0.0.0.0.0.0.18 = Counter64: 1037240274 . 1.3.6.1.2.1.8888.1.3.1.1.3.16.0.8.0.136.3.124.201.0.0.0.0.0.0.0.0.19 = Counter64: 41991 . 1.3.6.1.2.1.8888.1.3.1.1.3.16.0.8.0.136.3.124.201.0.0.0.0.0.0.0.0.20 = Counter64: 787221778 . 1.3.6.1.2.1.8888.1.3.1.1.3.16.0.8.0.136.3.124.201.0.0.0.0.0.0.0.0.21 = Counter64: 16728165 . 1.3.6.1.2.1.8888.1.3.1.1.3.16.0.8.0.136.3.124.201.0.0.0.0.0.0.0.0.22 = Counter64: 22185332 . 1.3.6.1.2.1.8888.1.3.1.1.3.16.0.8.0.136.3.124.201.0.0.0.0.0.0.0.0.23 = Counter64: 760994090 . 1.3.6.1.2.1.8888.1.3.1.1.3.16.0.8.0.136.3.124.201.0.0.0.0.0.0.0.0.24 = Counter64: 1134851806


You can see that if I do a snmpwalk on:

1.3.6.1.2.1.8888.1.3.1.1.3

I get all the values I need from two different switches
(BTW They are exactly the same but different configuration)
As you can also see the complete OID differs for the same value on the two switches.

So I can't use the full OID in the probe because they differ on each of the tested switches.
I found something similar on this group:

======
<!--
Probe file created on 22-Jun-04
Joe Honnold
SLI
Version 1.1 - Added Ports for 24000 switches
-->

<header>
         "type"                  =       "custom-snmp"
         "package"               =       "com.starkey"
         "probe_name"    =       "snmp.brocade"
         "human_name"    =       "SNMP - Brocade FC Switch"
         "version"               =       "1.1"
         "address_type"  =       "IP"
         "port_number"   =       "161"
</header>

But he works with fixed OIDs for each port.

So my easy question is...

Is there any possibility to read all the 24 Interfaces from a device with only the "short"
OID an put the results in something like an array.

I think it should be possible because all of the standard intermapper switch probes
can detect the ifnumber and the port statistics.


Any help welcome.


Greetings from Germany

J. Brändle

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to