Cisco WLC 9800 cannot detect APs

your change looks ok. But the check looks under .1.3.6.1.4.1.14179.2.2.1.1 for it’s data… so you need to check if your device delivers the AP name from .1.3.6.1.4.1.14179.2.2.1.1.3 (bsnAPEntry) and the AP state from .1.3.6.1.4.1.14179.2.2.1.1.6 (bsnAPOperationStatus)