Versions Compared

Key

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

...

Panel
borderColorblack
bgColor#f8f8f8
titleTable of Contents

Table of Contents

Problem

During the upgrade process to Checkmk 2.0, we run a script to rename the metric names in Filesystem checks from mount to fs_used. If the user already performed the migration on the 1.6 version, the update script only does a cleanup. After this migration, the file inside the site content stored in ~/etc/check_mk/conf.d/fs_cap.mk(from updates on 1.6) should be removed automatically.

...

Code Block
themeRDark
OMD[mysite]:~$ cmk -U
Invalid configuration variable 'df_use_fs_used_as_metric_name'
--> Found 1 invalid variables
If you use own helper variables, please prefix them with .+


Solution

The solution is to delete the fileĀ ~/etc/check_mk/conf.d/fs_cap.mk. Before doing that, make sure that you're using the metric fs_used in Filesystem checks; that is, the update of the metric names has been completed successfully.

...

If both results are the same, you can delete ~/etc/check_mk/conf.d/fs_cap.mk

Background information

Filter by label
showLabelsfalse
max5
spacesCON
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ( "rrd" , "troubleshooting" , "metrics" ) and type = "page" and space = "KB"
labelsrrd

...