Werk #3414: New declarator BINARY(...) for OIDs - returning a list of byte values

Component Core & setup
Title New declarator BINARY(...) for OIDs - returning a list of byte values
Date Apr 19, 2016
Level Trivial Change
Class New Feature
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
1.4.0i1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.2.8b12 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

When declaring OIDs in SNMP based checks you can now include the OID into BINARY. This will then create a list of bytes instead of a string. E.g. BINARY('5') will fetch the end OID 5 and convert the string values into lists of bytes, into [0, 33, 85, 10, 7, 186] instead of '\x00!U\n\x07\xba'. This allows to tackle a problem with the new version 1.2.8 that otherwise automatically interpretes all strings as UTF-8.

To the list of all Werks