10-30-2024 04:24 AM
Hello everyone,
I need to query the AP9120 via SNMP to retrieve the device name. We are using a Linux server located in a different subnet for the query.
The WLC is a 9800 model with SNMP enabled. When I query the WLC, it responds with its name, but when I query the AP, it doesn’t respond. The SNMP settings should be inherited by the access points, especially since I don’t see any SNMP options in the AP settings.
WLC
[server-name]# snmpget -v 2c -c public 10.0.0.1 1.3.6.1.2.1.1.5.0
SNMPv2-MIB::sysName.0 = STRING: wlc9800
AP
[server-name]# snmpget -v 2c -c public 10.0.5.10 1.3.6.1.2.1.1.5.0
Timeout: No Response from 10.0.5.10.
From the server, I can ping all devices.
I need to be able to query each AP because I will use Zabbix discovery to save the IP address of each access point along with the associated name for monitoring.
Regards,
Solved! Go to Solution.
10-30-2024 04:56 AM
Hi,
Simple answer, you can't, directly via the AP; you get all SNMP info from controller; look at the MIB, based on your controller model, and see what data you can pull; e.g MIB for 9800 https://software.cisco.com/download/home/286321396/type/280775088/release/17.2.1?releaseIndicator=DEFERRED
Not directly related to your question, however these documents might bring some addition info to you: https://www.cisco.com/c/en/us/support/docs/wireless/catalyst-9800-series-wireless-controllers/217460-monitor-catalyst-9800-wlc-via-snmp-with.html
Best,
Cristian.
10-30-2024 04:56 AM
You can not query the AP directly, it will not responde. You can query the WLC for Access point´s name.
Download the 9800 MIB, get a MIB reader and go through the available OID. Probably you will find a OID that will list all the APs on the WLC.
10-30-2024 04:56 AM
Hi,
Simple answer, you can't, directly via the AP; you get all SNMP info from controller; look at the MIB, based on your controller model, and see what data you can pull; e.g MIB for 9800 https://software.cisco.com/download/home/286321396/type/280775088/release/17.2.1?releaseIndicator=DEFERRED
Not directly related to your question, however these documents might bring some addition info to you: https://www.cisco.com/c/en/us/support/docs/wireless/catalyst-9800-series-wireless-controllers/217460-monitor-catalyst-9800-wlc-via-snmp-with.html
Best,
Cristian.
10-30-2024 04:56 AM
You can not query the AP directly, it will not responde. You can query the WLC for Access point´s name.
Download the 9800 MIB, get a MIB reader and go through the available OID. Probably you will find a OID that will list all the APs on the WLC.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide