Werk #1425: New section header option "encoding" for agent output

Komponente Core & setup
Titel New section header option "encoding" for agent output
Datum 27.10.2014
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 1.2.5i6
Level Kleine Änderung
Klasse Neues Feature
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

If you write your own check plugins you might know that a section header can contain additional options separated by a colon. For example:

For section headers of agent outputs an additional option encoding has been introduced. Generally all check plugins should output valid UTF-8 encoded text. In some instances this is not possible, because the plugin itself has its own hardcoded encoding. With the encoding option you can specify the encoding for this entire section. Check_MK will then decode the given section output and recode it into UTF-8 for further processing. Example:

<<<win_foobar:encoding(cp1252)>>>

You find a list of all available encoding here.

Zur Liste aller Werks