We recently updated Checkmk from version 2.4.0p26 to 2.4.0p30. Since the update, we are experiencing an issue with the NagVis hover popups.
When doing a mouse-over on a NagVis object, the service list and their corresponding statuses are missing from the popup window. We can only see the host information in that popup, but the service list has completely disappeared.
Here are a few technical details about our setup:
We only use the default templates.
We use default settings without any custom modifications.
The issue started immediately after the p30 update.
Has anyone else encountered this issue, or does anyone know how to fix this?
Same here after upgrade to 2.4.0p31 (from 2.3.0p46).
We too only use the default templates, but the missing children only appear in DynGroups. ServiceGroups or HostGroups are working as expected.
Perhaps this has something to do with the Checkmk-internal NagVis update to 1.10.3
I hope someone can help. Last time i mentioned a problem with the NagVis in Checkmk i was refered to the NagVis-GitHub, where my issue is still marked as “New issue” and “Open”…
I hope anyone here knows a way to workaround this bug…
I actually found a workaround for this bug, though I really hope the developers will fix it properly in the next releases.
You can temporarily fix it by editing this file (adjust the version path if needed): /opt/omd/versions/2.4.0p32.cee/share/nagvis/htdocs/server/core/classes/objects/NagVisMapObj.php
Locate the queueState function and change it like this:
public function queueState($_unused_flag = true, $bFetchMemberState = true) {
foreach ($this->getStateRelevantMembers() as $OBJ) {
// Gadgets render synchronously and read conf.members directly at
// render time, so their group member details must be loaded eagerly.
// WORKAROUND: Comment out these lines
//$needsMembers = $bFetchMemberState || $OBJ->get('view_type') === 'gadget';
// $OBJ->queueState(GET_STATE, $needsMembers);
// And add this one:
$OBJ->queueState(GET_STATE, GET_SINGLE_MEMBER_STATES);