Info |
---|
REST API crashed with an HTTP 500 error when an SNMP credential of type "no_auth_no_cred" was fixed in Werk 13079. |
Status |
---|
colour | Green |
---|
title | Last tested on Checkmk 2.0.0p16 |
---|
|
Panel |
---|
borderColor | black |
---|
bgColor | #f8f8f8 |
---|
title | Table of Contents |
---|
|
|
Problem
In addition to this manual, you may face the following issue:
Code Block |
---|
|
{
"title": "Server was about to send an invalid response.",
"status": 500,
"detail": "This is an error of the implementation.",
"ext": {
"errors": {
"snmp_v3_credentials": [
"Unknown field."
]
},
"orig": {
"id": "host",
"domainType": "host_config",
"value": [
...]
} |
Solution
snmp_v3_credentials" is no longer used by Checkmk and, therefore, MUST be removed for the API to work.
...
Log in as the site user.
Code Block |
---|
|
root@linux~# su mysite |
.
grep in ~/etc/check_mk/conf.d/wato for snmp_v3_credentials
Code Block |
---|
|
OMD[mysite]:~$ grep snmp_v3_credentials ~/etc/check_mk/conf.d/wato/* |
.
- Go to Setup → Hosts and resave the properties of the hosts and folders found in Step 2
- Repeat that for all results of step 2
- Reschedule the DCD connection again.
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 ( "rest_api" , "dcd" , "troubleshooting" ) and type = "page" and space = "KB" |
---|
labels | dcd rest_api |
---|
|
...