Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-24299

The "error" field must be read-only, but it is possible to set a value for this field when creating a network discovery rule.

XMLWordPrintable

    • S24-W14/15, S24-W16/17, S24-W20/21, S24-W22/23
    • 1

      Steps to reproduce:

      1. create a new network discovery rule via API:
        {
            "jsonrpc": "2.0",
            "method": "drule.create",
            "params": [
                {
                    "name": "test",
                    "iprange": "127.0.0.1",
                    "dchecks": [
                        {
                            "type": 9,
                            "key_": "system.uname"
                        }
                    ],
                    "error": "error message"
                }
            ],
            "id": 2
        }

      Result:
      The request will be successfully executed, and a rule will be created with the "error" field filled.

            Miks.Kronkalns Miks Kronkalns
            sasha Alexander Vladishev
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: