CMK version: 2.2.0p23
OS version: Ubuntu 22.04
Error message:
Cannot create graph
Cannot get RRD data for server/service/...
After Upgrading from CRE 1.6 to 2.0 to 2.1 to CRE 2.2, RRD-Data had no longer been generated. The historical data were visible, but no new data are being rendered.
I search within this forum and learned about cmk –convert-rrds, but the currently running cmk version does not support this switch. I assume this is CEE.
The fix I applied was to …
- backup the $OLDSITE (cp + omd backup)
- save output of
omd config $OLDSITE show
- stop the $OLDSITE
- delete the site (omd rm $OLDSITE)
- create $NEWSITE
- copy directory $OLDSITE/etc/check_mk to $NEWSITE/etc/check_mk
- fix the content
- chown -R $NEWSITE:$NEWSITE $NEWSITE/etc
- change all occurrances of $OLDSITE in files under $NEWSITE/etc into $NEWSITE
- delete all files ending in .pkl in $NEWSITE/etc
- apply all config values from $OLDSITE to $NEWSITE (omd config $NEWSITE set $KEY $VALUE)
- start $NEWSITE
- re-inventorize all hosts (
cmk -II ; cmk -R
)
I hope, I did not forget to write some points.
This way I lost the perfomance data history, but it’s working again now.
Taking the same SITE-Name for $NEWSITE will make things easier.