Skip to end of metadata
Go to start of metadata


This manual should give you an overview of some common RRD issues we saw over time.

You can use this as kind of checklist to go through for troubleshooting step by step.


Table of Contents:

After rrd migration graph is not recording values

After the rrd migration for some reasons some graphs are not recording values. See here how to debug that: After rrd migration graph is not recording values

This can also happen after the migration from 1.6 → to 2.0 because we autoconvert the rrds: RRD files are messed up


Error during the rrd conversion

'NoneType' object has no attribute 'text'

During the conversion of pnp4nagios files to the rrd format, you may face this error:

OMD[rrd]:~$ cmk -v --convert-rrds --delete-rrds RRD8040
RRD8040:
  HOST: RRD8040
      ERROR: 'NoneType' object has no attribute 'text'

Follow the manual Error during the RRD conversion for resolution


'ascii' codec can't decode characters 

During the conversion of pnp4nagios files to the rrd format, you may face this error:

OMD[mysite]:~$ cmk --convert-rrds localhost
Traceback (most recent call last):
  File "/omd/sites/rrd/bin/cmk", line 94, in <module>
    exit_status = modes.call(mode_name, mode_args, opts, args)
  File "/omd/sites/rrd/lib/python/cmk_base/modes/__init__.py", line 72, in call
    return mode.handler_function(*handler_args)
  File "/omd/sites/rrd/lib/python/cmk_base/modes/cee.py", line 147, in mode_convert_rrds
    rrd.do_convert_rrds(*args)
  File "/omd/sites/rrd/lib/python/cmk_base/cee/rrd.py", line 413, in do_convert_rrds
    convert_rrds_of_host(hostname)
  File "/omd/sites/rrd/lib/python/cmk_base/cee/rrd.py", line 428, in convert_rrds_of_host
    console.error("      %sERROR: %s%s\n" % (tty.red + tty.bold, e, tty.normal))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 70-75: ordinal not in range(128)

Follow the manual https://kb.checkmk.com/display/KB/Error+during+the+RRD+conversion#ErrorduringtheRRDconversion-'ascii'codeccan'tdecodecharacters for resolution

Error in cmc.log after rrd migration

After converting the RRD files to the new format (described here: https://docs.checkmk.com/latest/en/graphing.html#rrdformat) in some rare cases, it might happen that data is still written to ~/var/pnp4nagios/perfdata/<hostname>.

At the same time, you might see error messages in the cmc.log like

2021-09-20 09:18:14 [4] [rrdcached thread] [rrdcached at "/omd/sites/<sitename>/tmp/run/rrdcached.sock"] [log] -1 No such file: /omd/sites/<sitename>/var/pnp4nagios/perfdata/<hostname>/Memory_and_pagefile_pagefile_total.rrd
2021-09-20 09:18:14 [4] [rrdcached thread] [rrdcached at "/omd/sites/<sitename>/tmp/run/rrdcached.sock"] [log] -1 No such file: /omd/sites/<sitename>/var/pnp4nagios/perfdata/<hostname>/Memory_and_pagefile_pagefile_avg.rrd
2021-09-20 09:18:14 [4] [rrdcached thread] [rrdcached at "/omd/sites/<sitename>/tmp/run/rrdcached.sock"] [log] -1 No such file: /omd/sites/<sitename>/var/pnp4nagios/perfdata/<hostname>/Power_cpu0_Cores_w.rrd
2021-09-20 09:18:14 [4] [rrdcached thread] [rrdcached at "/omd/sites/<sitename>/tmp/run/rrdcached.sock"] [log] -1 No such file: /omd/sites/<sitename>/var/pnp4nagios/perfdata/<hostname>/Power_cpu0_DRAM_w.rrd
2021-09-20 09:18:14 [4] [rrdcached thread] [rrdcached at "/omd/sites/<sitename>/tmp/run/rrdcached.sock"] [log] -1 No such file: /omd/sites/<sitename>/var/pnp4nagios/perfdata/<hostname>/Power_cpu0_Graphics_w.rrd
2021-09-20 09:18:14 [4] [rrdcached thread] [rrdcached at "/omd/sites/<sitename>/tmp/run/rrdcached.sock"] [log] -1 No such file: /omd/sites/<sitename>/var/pnp4nagios/perfdata/<hostname>/Power_cpu0_Package_w.rrd


and  at the same time, you can see that some RRD files in ~/var/pnp4nagios/perfdata/<hostname> are still updated. The chances are high that not all hosts are affected, but only a few, even less than 10%.

To get rid of that, please follow that manual: Error handling with RRD files after conversion to the new format

Write a comment…