09-21-2011 06:41 AM
I am currently using solarwinds toolset. I want to learn my devices' wwn with using my snmp control services. I can see them when i log in to my switch but i want to see them in without log in, i want to use snmp for it. Is there an snmp discover program which would be suitable for me?
Thanks for help.
09-21-2011 10:24 AM
I am not sure if this works for you if you query the correct object ID from the Name Server Database group.
If my brain works correctly you may find the device WWNs in following OID:swNsNodeName 22.214.171.124.4.1.15126.96.36.199.188.8.131.52.6
In some FOS codes you will not see all entires. There is a known defect in some codes.
Please have a look in the MIB refernece guide.
If this answers your question, please mark the thread,
09-21-2011 12:40 PM
I can confirm andreas OID is correct, alternativly your could use .184.108.40.206.220.127.116.11.1.22 (connUnitPortNodeWwn as described in fcmgmt-mib)
This will get the connected node name instead of portname, on the upside this OID should be vendor independent.
09-21-2011 12:45 PM
O and to add to that
OID .18.104.22.168.22.214.171.124.1.5 (connUnitLinkPortWwnX) can give a portname of but only if .126.96.36.199.188.8.131.52.1.3 is known.
Again this should be vendor independent.
09-21-2011 10:08 PM
09-22-2011 08:30 AM
09-22-2011 09:00 AM
You're using solarwinds builtin tools to execute a snmp query, if i'm not mistaken.
Did you try an alternative tool to exclude any strange behaviour within solarwinds?
Personally i like the mibbrowser from ireasoning, but you can try which ever one you prefer.
If you tried every oid from the ns table and got no result from solarwinds and another tool it could be possible the wwn's aren't published.
Try the OID's from http://www.oidview.com/mibs/0/FCMGMT-MIB.html maybe, they will give the result you want.
When time permits i'll try it myself tommorrow.
09-22-2011 10:56 PM
Ok tried in in my own environment with the mibbrowser from iReasoning and the Brocade OID's from the nsTable work for me.
Looks like solarwinds is trying to convert the value's to something meaningfull with which it can work with or bug or something.
Please try to get to value's from an alternative mibbrowser/walker whatever to confirm (or not) that it is indeed solarwinds.
I've attached a printscreen for reference.
09-23-2011 07:17 AM
I have check the SNMP way on a Linux box and it works:
The OID 184.108.40.206.1.15220.127.116.11.18.104.22.168.4 will link to a table of all NS entires but the enties are presented in a HEX-String
Please see the small output. First the lines from snmpwalk and below that the entires from the nameserver of the switch.