...
Panel |
---|
borderColor | black |
---|
bgColor | #f8f8f8 |
---|
title | 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 |
---|
|
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 |
---|
|
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 |
---|
|
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}
|
Related articles
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 5 |
---|
spaces | KB |
---|
showSpace | false |
---|
sort | modified |
---|
reverse | true |
---|
type | page |
---|
cql | label in ( "omd_move" , "omd_mv" , "omd_cp" , "omd_copy" , "troubleshooting" ) and type = "page" and space = "KB" |
---|
labels | omd_cp omd_mv omd_move omd_copy |
---|
|
...