Troubleshooting DCD - snmp_v3_credentials unknown field error

REST API crashed with an HTTP 500 error when an SNMP credential of type "no_auth_no_cred" was fixed in Werk 13079

LAST TESTED ON CHECKMK 2.0.0P16

Table of Contents

Problem

In addition to this manual, you may face the following issue:

{
    "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.


  1. Log in as the site user.

    root@linux~# su mysite

    .

  2. grep in ~/etc/check_mk/conf.d/wato for snmp_v3_credentials

    OMD[mysite]:~$ grep snmp_v3_credentials ~/etc/check_mk/conf.d/wato/*

    .

  3. Go to Setup → Hosts and resave the properties of the hosts and folders found in Step 2
    Screenshot of properties of host mysite. The save and run service discovery button is highlighted.

  4. Repeat that for all results of step 2

  5. Reschedule the DCD connection again.