Werk #5082: gude_powerbanks: Adapted discovery of powerbanks

Component Checks & agents
Title gude_powerbanks: Adapted discovery of powerbanks
Date Aug 4, 2017
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 1.4.0p10 1.5.0i1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

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.

To the list of all Werks