lists.netmrg.net lists.netmrg.net
NetMRG discussion and support
 
FAQ :: Search :: Memberlist :: Usergroups :: Register
Profile :: Log in to check your private messages :: Log in

SNMP OID Index ?

 
Post new topic   Reply to topic    lists.netmrg.net Forum Index -> Support
Author Message
gfbarros
Beginner


Joined: 19 Aug 2004
Posts: 2

PostPosted: Thu Aug 19, 2004 4:08 pm    Post subject: SNMP OID Index ? Reply with quote

Hi there,

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.

help?
Back to top
silfreed
Site Admin


Joined: 19 Jan 2003
Posts: 394
Location: Shippensburg, PA, USA

PostPosted: Thu Aug 19, 2004 8:08 pm    Post subject: Reply with quote

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.

-Doug
Back to top
gfbarros
Beginner


Joined: 19 Aug 2004
Posts: 2

PostPosted: Fri Aug 20, 2004 2:42 pm    Post subject: Reply with quote

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...
Back to top
silfreed
Site Admin


Joined: 19 Jan 2003
Posts: 394
Location: Shippensburg, PA, USA

PostPosted: Fri Aug 20, 2004 5:51 pm    Post subject: Reply with quote

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 '.1.3.6.1.4.1.3939.3.2.1.%fiberIndex%' and it will be substituted with the value you specified for the subdevice parameter.
Hopefully this helps you scale a little more..

-Doug
Back to top
Display posts from previous:   
Post new topic   Reply to topic    lists.netmrg.net Forum Index -> Support All times are GMT
Page 1 of 1

 



smartBlue Style © 2002 Smartor
Powered by phpBB © 2001, 2002 phpBB Group