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

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • 7.0.0rc1 (master), 7.0 (plan)
    • 7.0.0beta2
    • API (A)
    • None
    • S24-W14/15, S24-W16/17, S24-W18/19
    • 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.

            jiljina Juliana Iljina
            sasha Alexander Vladishev
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: