Closed aditdeshpande10 closed 5 months ago
@aditdeshpande10 - thanks for the issue
can you validate that the index value of the 2 tables is aligned as expected? this would be the "join" between them that could enable your request.
snmpwalk -v 3 -l $LEVEL -u $USERNAME -a $AUTH_PROTOCOL -A $AUTH_PASSPHRASE -x $PRIV_PROTOCOL -X $PRIV_PASSPHRASE -ObentU -Cc $IP_ADDRESS .1.3.6.1.4.1.9.9.512.1.1.1
bsnDot11EssTable:bsnDot11EssIndex
snmpwalk -v 3 -l $LEVEL -u $USERNAME -a $AUTH_PROTOCOL -A $AUTH_PASSPHRASE -x $PRIV_PROTOCOL -X $PRIV_PASSPHRASE -ObentU -Cc $IP_ADDRESS .1.3.6.1.4.1.14179.2.1.1
The idea being that adding CISCO-LWAPP-WLAN-MIB::cLWlanConfigTable::cLWlanSsid
as a metric tag decoration on the AIRESPACE-WIRELESS-MIB::bsnDot11EssTable::bsnDot11EssSsid
will only work if the Index value from the 2 different MIB tables is identical. Otherwise there won't be a way to understand which value from one MIB aligns to the other.
@thezackm Thanks for the feedback. The index values are same for both the MIBs. However, the objects in the 2 tables are completely different. I'm attaching a screenshot of the index values - 1 is from a Air OS WLC ([cLWlanIndex]and the other is from a IOS-XE (9800 series WLC) [bsnDot11EssTable:bsnDot11EssIndex]
SNMPwalk-
cLWlanSsid:
snmpwalk -v3 -l <> -u <> -a <> -A <> -x <> -X <>
snmpwalk -v3 -l <> -u <> -a <> -A <> -x <> -X <>
bsnDot11EssSsid:
snmpwalk -v3 -l <> -u <> -a <> -A <> -x <> -X <>
snmpwalk -v3 -l <> -u <> -a <> -A <> -x <> -X <>
I'm not sure I understand. Is the value from both MIBs looking at the same SSID or not? If not, then the vendor's MIB support doesn't extend to your needs. If it is, we can probably adjust this profile to make it work.
Yes, the values are matching i.e. it's pointing to the same SSIDs. Should I proceed with a PR? I'll move the metrics tags (lines 196-206) to line 468 such that it's added as an extension to AIRESPACE-WIRELESS-MIB. Please advise if this is appropriate.
correct; technically you'd copy, not move. we still want the original metric tag for lines 197-206 in place as well.
@thezackm Thanks for confirming, please review the PR - https://github.com/kentik/snmp-profiles/pull/780 Suggest changes, if any.
Hi @thezackm I'm following up on the PR - https://github.com/kentik/snmp-profiles/pull/780 I submitted last week. Please let me know if any changes/modifications are required from my side.
profiles/kentik_snmp/cisco/cisco-wlc.yml
Can this metric be used for 9800 WLCs to display the SSID Name instead of bsnDot11EssSsid since the OID (1.3.6.1.4.1.14179.2.1.1.1.2) is unavailable on the 9800 WLCs?
I have attached a screenshot of a Air OS WLC and 9800 WLC for reference.
[user@host ~]$ snmpwalk -v3 -l authPriv -u user -a <> -A <> -x <> -X <> hyd1-wlc-a 1.3.6.1.4.1.9.9.512.1.1.1.1.4 SNMPv2-SMI::enterprises.9.9.512.1.1.1.1.4.11 = STRING: "GoMobile" SNMPv2-SMI::enterprises.9.9.512.1.1.1.1.4.12 = STRING: "SalesforceGuest" SNMPv2-SMI::enterprises.9.9.512.1.1.1.1.4.13 = STRING: "Mirror"