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

template.get with select_triggers return none

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 1.8.11
    • 1.8.7, 1.8.9
    • API (A)

      query:
      '{"params":

      {"select_triggers": "extend"}

      , "jsonrpc": "2.0", "method": "template.get", "auth": "", "id": 1}
      return:

      {u'hostid': u'100100000010496', u'triggers': [], u'templateid': u'100100000010496'} {u'hostid': u'100100000010593', u'triggers': [None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None], u'templateid': u'100100000010593'}

      count of "none" coincide with number of triggers on that template

        1. class.ctemplate.php.patch
          0.9 kB
          gescheit
        2. class.ctemplate.php.patch
          0.4 kB
          gescheit

            Unassigned Unassigned
            gescheit gescheit
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: