General debug options
Note |
---|
If you're running in a dcd issue, you can follow these steps to get a better overview of that issue: |
Increase the log level
Follow that manual to increase the log level of the dcd: How to collect troubleshooting data for various issue types#DCD
Manual execution
Like described in Solution you can grab the urls and try them inside a script or via the browser e.g.:
Code Block |
---|
|
2022-05-13 13:37:35,970 [10] [cmk.dcd.web_api] > [GET] http://localhost:5005/bi/check_mk/api/1.0/domain-types/host_config/collections/all |
Code Block |
---|
|
2022-05-13 13:38:28,917 [10] [cmk.dcd.web_api] > [POST] http://localhost:5005/bi/check_mk/api/1.0/domain-types/host_config/actions/bulk-create/invoke ((), {'data': None, 'json': {'ent
ries': [{'host_name': 'aws', 'folder': '/', 'attributes': {'locked_by': {'site_id': 'bi', 'program_id': 'dcd', 'instance_id': 'connection_1'}, 'locked_attributes': ['cb', 'labels', 's
ite', 'tag_address_family', 'tag_agent'], 'site': 'bi', 'labels': {'ds': 'pgb'}, 'tag_address_family': 'no-ip', 'tag_agent': 'no-agent', 'cb': 'hh'}}]}, 'params': {'bake_agent': 'fals
e'}}) |
Code Block |
---|
|
2022-05-13 13:38:28,917 [10] [cmk.dcd.web_api] > [POST] http://localhost:5005/bi/check_mk/api/1.0/domain-types/host_config/actions/bulk-create/invoke ((), {'data': None, 'json': {'ent
ries': [{'host_name': 'aws', 'folder': '/', 'attributes': {'locked_by': {'site_id': 'bi', 'program_id': 'dcd', 'instance_id': 'connection_1'}, 'locked_attributes': ['cb', 'labels', 's
ite', 'tag_address_family', 'tag_agent'], 'site': 'bi', 'labels': {'ds': 'pgb'}, 'tag_address_family': 'no-ip', 'tag_agent': 'no-agent', 'cb': 'hh'}}]}, 'params': {'bake_agent': 'fals
e'}}) |
Problem
Internal Server Error
When running the dcd you may face the following isse
Info |
---|
|
Solution
Grab the URL and paste it in the browser. Will that work?
Info |
---|
|
Note |
---|
In that case it seems like I'm using custom attributes which making trouble. In my specific case I'm using the wato plugin "wato_geo_fields.py". A workaround would be to delete the plugin und run the dcd again. This issue is already reported internal. |
Related articles
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 5 |
---|
spaces | CON |
---|
showSpace | false |
---|
sort | modified |
---|
reverse | true |
---|
type | page |
---|
cql | label = "kb-troubleshooting-article" and type = "page" and space = "CON" |
---|
labels | kb-troubleshooting-article |
---|
|