Werk #4123: active check check_sql: changed handling of query results and fixed hostname parameter
Component | Checks & agents | ||||||||||||||||
Title | active check check_sql: changed handling of query results and fixed hostname parameter | ||||||||||||||||
Date | Feb 2, 2017 | ||||||||||||||||
Level | Trivial Change | ||||||||||||||||
Class | Bug Fix | ||||||||||||||||
Compatibility | Compatible - no manual interaction needed | ||||||||||||||||
Checkmk versions & editions |
|
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"