OS upgrade from Ubuntu 18.04 to 20.04 caused graphs to not fill anymore

2.1.0p25
Ubuntu 20.04 LTS

Hi

Since I tried upgrading our CheckMK server from 18.04.6 LTS to 20.04.6 LTS, the graphs don’t fill anymore.
The actual numbers are still working, because we are still notified whenever there are problems, just the graphs stopped working:

Is there a dependency that I am missing? What could resolve this issue?

[EDIT]
After some googling I found that I needed to look into “npcd.log” file:
I see the following error repeating:
[06-06-2023 10:32:03] NPCD: ERROR: Executed command exits with return code ‘1’
[06-06-2023 10:32:03] NPCD: ERROR: Command line was ‘/omd/sites/icasa/lib/pnp4nagios/process_perfdata.pl -n -c /omd/sites/icasa/etc/pnp4nagios/process_perfdata.cfg -b /omd/sites/icasa/var/pnp4nagios/spool//perfdata.1686038965’

When I manually run that command, I see the actual error:
HiRes.c: loadable library and perl binaries are mismatched (got handshake key 0xde00080, needed 0xcd00080)

how do I solve that?

Hi @Steven1
you need to install the checkmk package for 20.04, if you have not already done that.

Thanks for the suggestion @aeckstein , I just updated to the checkMK version for Ubuntu 20.04 and when I run the command now, it doesn’t throw an error.
It will probably take a minute before the graphs start reappearing, I’ll keep you posted if that did the trick

1 Like

That was weird, it started creating the graphs again, but started from the point on when it stopped. Meaning about 24h ago. This meant that I didn’t see it immediately have an effect until it became recent enough to see it working and recreating the graphs.
I don’t know how else to explain it, I am glad it works, I am glad the data is still there, but it’s weird that is started generating the graphs from 24 till now and not the other way around.

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.