Werk #4123: active check check_sql: changed handling of query results and fixed hostname parameter

Komponente Checks & agents
Titel active check check_sql: changed handling of query results and fixed hostname parameter
Datum 02.02.2017
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 1.4.0b1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

If the used SQL query results in only one column its value is shown in check output now. Otherwise the second column of the result is used for check output.

Also, the hostname parameter has been fixed to prevent erros like this:

Error while connecting to database: [2005] Unknown MySQL server host "10.11.12.13"

Zur Liste aller Werks