I applied werk 12417 manually (<tt>logwatch_groups</tt>: Fix discovery) to add logwatch_groups to discovery again, but I don’t think this has been properly tested since now, although logwatch groups are being discovered, the “View log” option doesn’t show up for them. I’m still able to view/clean logs by manually entering the proper URL.
How could I proceed to avoid 2.0.0p2 being pushed without a proper (and easy) fix for logwatch_groups?
Yes this problem is not solved until now.
There is a easy workaround.
File: “~/lib/python3/cmk/gui/plugins/views/icons/builtin.py” line 533
Original
def render(self, what, row, tags, custom_vars):
if what != "service" or row[what + "_check_command"] not in [
'check_mk-logwatch',
'check_mk-logwatch.groups',
]:
return
Extend to
def render(self, what, row, tags, custom_vars):
if what != "service" or row[what + "_check_command"] not in [
'check_mk-logwatch',
'check_mk-logwatch.groups',
'check_mk-logwatch_groups',
]:
return
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.