Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info
"Cannot get RRD data" error and how to troubleshoot.

Status
colourGreen
titleLAST TESTED ON CHECKMK 2.2.0P1

Table of Contents

Problem

You may be impacted by a Cannot Create Graph error:

Image RemovedImage Added


To visualize a graph, Checkmk uses RRD. The RRD needs, by nature, two files:

...

Code Block
languagebash
themeRDark
OMD[mysite]:~$ for i in $(find ~/var/check_mk/rrd -name *.info); do test -e ${i%info}rrd || echo $i; done
/omd/sites/mysite/var/check_mk/rrd/<HOSTNAME>/PING.info
/omd/sites/mysite/var/check_mk/rrd/<HOSTNAME>/CPU_Utilization_Mgmt_CPU.info
/omd/sites/mysite/var/check_mk/rrd/<HOSTNAME>/CPU_Utilization_Packet_CPU_1.info
/omd/sites/mysite/var/check_mk/rrd/<HOSTNAME>/CPU_Utilization_Packet_CPU_0.info
  • Now you have a list of files to delete. Please replace echo $i with rm $i in order to delete those files.
  • After you delete the affected files, you need to start the site to create the new files.

Note

Checkmk does not delete any .rrd file. So it could be deleted by a custom cleaning job!

...