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

After copying or moving a site with omd mv or omd cp, Checkmk will show you duplicate hosts and services.

This known issue needs a bigger rewrite of our code, which will take a while.

Solution

To avoid the issue, you might want to modify the following .mk files

...

Warning
Please be careful with modifying these files. We don't support any modification. We recommend modifying the hosts via WATO/SETUP or removing and recreating the hosts via the DCD.

Issue with Agent Bakery

Code Block
languagebash
themeRDark
ValueError ('/omd/sites/mysite/share/check_mk/agents/check_mk_agent.aix' does not start with '/omd/sites/mybackupsite/share/check_mk/agents')

...

Code Block
languagebash
themeRDark
Internal error: ‘/omd/sites/mysite/share/check_mk/agents/check_mk_agent.aix’ does not start with ‘/omd/sites/mybackupsite/share/check_mk/agents’

An internal error occurred while processing your request. 
You can report this issue to the Checkmk team to help fixing this issue. 
Please open the crash report page and use the form for reporting the problem. 



Solution 

Every time the bakery is running, we create a status file. After copying or moving the site, you need to delete this file. 

Code Block
languagebash
themeRDark
OMD[mysite]~# cat ~/var/check_mk/wato/bakery_file_status.mk


{'/omd/sites/mysite/share/check_mk/agents/check_mk_agent.aix': 1615930830.0, '/omd/sites/mysite/share/check_mk/agents/check_mk_agent.linux': 1615930830.0, '/omd/sites/mysite/share/check_mk/agents/check_mk_agent.solaris': 1615930830.0, '/omd/sites/mysite/share/check_mk/agents/check_mk_caching_agent.linux': 1615930824.0, '/omd/sites/mysite/share/check_mk/agents/mk-job': 1615930824.0, '/omd/sites/mysite/share/check_mk/agents/mk-job.aix': 1615930824.0, '/omd/sites/mysite/share/check_mk/agents/mk-job.solaris': 1615930824.0, '/omd/sites/mysite/share/check_mk/agents/waitmax': 1615930824.0}

Filter by label (Content by label)
showLabelsfalse
max5
spacesKB
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ( "omd_move" , "omd_mv" , "omd_cp" , "omd_copy" , "troubleshooting" ) and type = "page" and space = "KB"
labelsomd_cp omd_mv omd_move omd_copy

...