Closed OffbeatFocus closed 1 year ago
Thanks, should be fine again with the next release. There is indeed no comments_info
column in icinga, that's a virtual column added by Thruk to provide a flat string with the comments for example to put it into a grafana table which cannot display nested structures.
Describe the bug Thruk API throws Error 500 after upgrading to Version v3.06-2 (or newer) when accessing objects via API endpoint, e.g. /thruk/r/services/
hostname
/servicename
with backend Icinga.Error message:
Thruk Version v3.06-2 (or newer)
To Reproduce Steps to reproduce the behavior:
Expected behavior API endpoints expose object data in json format without throwing error message
Screenshots not applicable
Desktop (please complete the following information): irrelevant
Additional context The bug is caused by commit a3bc662 Reversing this commit via
patch -R
fixes the issue (but also removes the new features of course)I don't know what the feature provides, but Icinga's official Appendix says the livestatus column's name is
comments_with_info
, instead ofcomments_info
which would explain the error message at least.Icinga Version: 2.14.0-1.el7 (but it happens in 2.13.6 too)