trigger.get not filter by description with macros expand

XMLWordPrintable

    • Type: Incident report
    • Resolution: Won't fix
    • Priority: Major
    • None
    • Affects Version/s: 4.0.3
    • Component/s: API (A)
    • Environment:
      centos 7, apache 2.4, mysql 5.5

      Steps to reproduce:

      '{"jsonrpc":"2.0","method":"trigger.get","params":{"output":"[triggerid]","expandDescription":"true","filter":{"description":"Host name of zabbix_agentd was changed on Zabbix server"}},"id":"1","auth":"441df3e33ca158d1f0389d934028e4ad"}'

      Result:
      {
        "jsonrpc": "2.0",
        "result": [],
        "id": "1"
      }
      Expected:
      {
        "jsonrpc": "2.0",
        "result": [
          {
            "triggerid": "13648"
          }
        ],
        "id": "1"

      Original trigger name:

      Host name of zabbix_agentd was changed on {HOST.NAME}

            Assignee:
            Aigars Kadikis
            Reporter:
            romale
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: