Werk #5082

KomponenteChecks & Agents
Titelgude_powerbanks: Adapted discovery of powerbanks
Datum2017-08-04 09:47:12
Check_MK EditionCheck_MK Raw Edition (CRE)
Check_MK Version1.4.0p10,1.5.0i1
Level1 - Trivial Change
KlasseBug Fix
KompatibilitätKompatibel - benötigt keine manuelles eingreifen

Devices with OID_END=38 are 12 port power switches with two powerbanks. Means each powerbank has 6 outlets. Here we can use ChanStatus in order to find out if one powerbank is enabled/used.

Devices with OID_END=19 are simple switch outlets: 1 Port and 1 powerbank Once it's plugged in, the state is "on". Thus we use PortState in discovering function.