Hi Andreas,
thank you for this hint.
I added a suitable import found in this posting.
The effect is: no more error message in the log.
But there is no view also…
from cmk.gui.plugins.views.inventory import (
declare_invtable_view,
render_inv_dicttable,
)
Somehow the view seems to be registered although.
When I browse to https://cmk/site/check_mk/view.py?view_name=invsnap_of_host
the result is a error message telling me some kontext information of type host is missing.
When I add a typo like view_name=invsapxxx_of_host
the result is another error telling the element does not exist.
Is there any comprehensive documentation about how to use inventory_displayhints
and declare_invtable_view
?
I am stuck again…
Alexander