Hi
Check mk 2.0.0p23 raw here and i am trying to detect APs as services on a cisco WLC 9800 (appliance)
Even if i read it should be implemented within this version, i am not able to detect connected APs and wifi clients.
I tried to copy this file
in /opt/omd/sites/sitename/local/lib/python3/cmk/base/plugins/agent_based
without any success.
I believe i am missing something could you help please?
@tosch you are shure that .1.3.6.1.4.1.9.1 is the correct OID to check? After a qiuck look in the check files it looks like the content of .1.3.6.1.2.1.1.2.0 (sysObjectID) is the importent part for the check to discover a WLC.
for now you could extend the WLC check with the content (1.3.6.1.4.1.9.1.2861) of the sysObjectID like in the werk you where refering to. The plugin should then discover your WLC as well.
for everyone how is interested this is the list of Cisco WLCs the check will discover right now:
".1.3.6.1.4.1.14179.1.1.4.3", # productGroup3
".1.3.6.1.4.1.9.1.1069", # cisco5500Wlc
".1.3.6.1.4.1.9.1.1279", # ciscoAirCt2504K9
".1.3.6.1.4.1.9.1.1293", # ciscoWiSM2
".1.3.6.1.4.1.9.1.1615", # cisco8500WLC
".1.3.6.1.4.1.9.1.1631", # ciscoVirtualWlc
".1.3.6.1.4.1.9.1.1645", # cisco5760wlc
".1.3.6.1.4.1.9.1.2170", # cisco5520WLC
".1.3.6.1.4.1.9.1.2171", # cisco8540Wlc
".1.3.6.1.4.1.9.1.2250", # 2006 (?) OID not found in the Cisco SNMP navigator
".1.3.6.1.4.1.9.1.2370", # 4402 (?) OID not found in the Cisco SNMP navigator
".1.3.6.1.4.1.9.1.2371", # 4404 (?) OID not found in the Cisco SNMP navigator
".1.3.6.1.4.1.9.1.2391", # ciscoC9800CLK9
".1.3.6.1.4.1.9.1.2427", # cisco3504WLC
".1.3.6.1.4.1.9.1.2530", # ciscoC980040K9
".1.3.6.1.4.1.9.1.2860", # ciscoC9800LCK9
@tribe: maybe you want to add these comments to the check
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)
looks ok. You can try a cmk --detect-sections cisco_wlc -vII YOURHOST. This will skip the detect function and just tryes to fetch the data and if OK add the services.
Error in agent based plugin cisco_wlc: Wrong type annotation: cluster sections must be of type Mapping[str, Optional[<NodeSection>]]
Discovering services and host labels on: wlc-controller1
wlc-controller1:
FETCHING DATA
[TCPFetcher] Execute data source
[SNMPFetcher] Execute data source
[PiggybackFetcher] Execute data source
No piggyback files for ‘wlc-controller1’. Skip processing.
No piggyback files for ‘10.243.252.10’. Skip processing.
ANALYSE DISCOVERED HOST LABELS
SUCCESS - Found no host labels
ANALYSE DISCOVERED SERVICES
EXECUTING DISCOVERY PLUGINS (0)
SUCCESS - Found no services
@thl-cmk thank you a lot
i have substituted the file with the original plus your additional line
it is weird now i can detect the AP with
cmk --detect-sections cisco_wlc -vII wlc-controller1
Discovering services and host labels on: wlc-controller1
wlc-controller1:
FETCHING DATA
[SNMPFetcher] Execute data source
[PiggybackFetcher] Execute data source
No piggyback files for ‘wlc-controller1’. Skip processing.
No piggyback files for ‘10.243.252.10’. Skip processing.
ANALYSE DISCOVERED HOST LABELS
SUCCESS - Found no host labels