Werk #3414: New declarator BINARY(...) for OIDs - returning a list of byte values
Komponente | Core & setup |
Titel | New declarator BINARY(...) for OIDs - returning a list of byte values |
Datum | 19.04.2016 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk-Version | 1.2.8b12 1.4.0i1 |
Level | Kleine Änderung |
Klasse | Neues Feature |
Kompatibilität | Kompatibel - benötigt kein manuelles Eingreifen |
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.