binarybear-de / cmk_check_unifi-controller

Local Check for Check_MK to get information about UniFi devices from Controller
21 stars 2 forks source link

Incorrect unadopted devices count #10

Closed quequiel closed 2 years ago

quequiel commented 2 years ago

When you have multiple sites, unadopted device count shows amount of devices * amount of sites. Unadopted devices are controller wide so they should only be counted once.

Example: 1 device pending adoption in controller 2 sites created Output shows: 39 devices on 2 sites - found 0 unnamed devices and 2 unadopted devices!

binarybear-de commented 2 years ago

fixed in BUILD 2021-11-04