CMK version: 2.4.0p32
OS version: RHEL 9.7
Error message: Failed to update NagVis maps: 500
Hi,
yesterday we updated from version 2.4.0p26 to 2.4.0p32
since then we get the Failed to update NagVis maps: 500 in the NagVis sidebar element

I found this KB article:
Our PHP version is 8.0.30 on RHEL 9.7
Is this PHP Version to old? the KB article does not mention what version to use, just “latest available”. 8.0.30 is the latest version our server guys provide us.
Additional info in case it is not the used PHP version causing the problem:
in the var/log/apache/error_log on our central side we have a lot of errors like this:
[Thu Jul 02 13:41:49.046975 2026] [fcgid:warn] [pid 3845400:tid 3845400] [client 127.0.0.1:38554] mod_fcgid: stderr: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /opt/omd/versions/2.4.0p32.cee/share/nagvis/htdocs/server/core/classes/GlobalBackendmklivestatus.php on line 457, referer: https://checkmk.now-it.drv/wato/check_mk/index.py?start_url=%2Fwato%2Fnagvis%2Ffrontend%2Fnagvis-js%2Findex.php
[Thu Jul 02 13:41:55.716568 2026] [fcgid:warn] [pid 3846714:tid 3846714] [client 127.0.0.1:34530] mod_fcgid: stderr: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 17311907 bytes) in /opt/omd/versions/2.4.0p32.cee/share/nagvis/htdocs/server/core/functions/oldPhpVersionFixes.php on line 67, referer: https://checkmk.now-it.drv/wato/check_mk/index.py?start_url=%2Fwato%2Fcheck_mk%2Fdashboard.py%3Fdisplay_options%3Dfcodezixbt%26name%3Dtest_dashboard
line 457 in the mentioned file /opt/omd/versions/2.4.0p32.cee/share/nagvis/htdocs/server/core/classes/GlobalBackendmklivestatus.php is:
$obj = json_decode(iso8859_1_to_utf8($read));
and line 67 in the file /opt/omd/versions/2.4.0p32.cee/share/nagvis/htdocs/server/core/functions/oldPhpVersionFixes.php is:
return mb_convert_encoding($s, ‘UTF-8’, ‘ISO-8859-1’);
seems to be some problem with encoding/decoding between UTF-8 and ISO-8859-1 but I have no idea what to do with that info.
btw. we already tried to raise the memory limit in the /opt/omd/versions/2.4.0p32.cee/share/nagvis/htdocs/server/core/classes/GlobalBackendmklivestatus.php file with
ini_set(‘memory_limit’,‘512M’);
the problem stayed the same, only that in the logs we got
Allowed memory size of 536870912 bytes exhausted
when we did set it to 1024MB for testing it led to other problems, so we did set it to default (which is 134217728 bytes) again
Thanks and BR
Andre