im trying to create a custom SNMP query to grab interface data from our FIbre Channel Switches, but i cant figure out how to create an index for them.
You'll need to add a new 'SNMP Test'. Look at the 'Interfaces - Bytes In/Out' tests for examples.
If you actually have interfaces (ie, they use the interface ifIndex), you can use the '%ifIndex%' variable, which will be very helpful.
You'll also want to make a new template graph using these tests; you will then be able to apply these graphs when you're in the 'view interface cache' page.
the issue im having is with creating a lookup for an index oid. the FC switches dont use the standard ifIndex as their interface index...
At this point we don't have a 'generic' lookup table like we have with interfaces and disks (ie, where ifName gets translated to its ifIndex). Hopefully your indexes won't change often; what you can do is create your own subdevices for each interface (P), and define your own custom parameter ('add parameter' next to the subdevice). Name it whatever you want; you can you this as your variable in your SNMP OID; so if you define your variable 'fiberIndex', you could add an SNMP OID with a value of '.184.108.40.206.4.1.39220.127.116.11.%fiberIndex%' and it will be substituted with the value you specified for the subdevice parameter.
Hopefully this helps you scale a little more..