Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 13 Next »

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

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


  4. Repeat that for all results of step 2

  5. Reschedule the DCD connection again.

  • No labels