Zabbix 2.0 API can't get many of exists hostgroups

XMLWordPrintable

    • Type: Incident report
    • Resolution: Cannot Reproduce
    • Priority: Major
    • None
    • Affects Version/s: 2.0.0
    • Component/s: API (A)
    • Environment:
      Linux mon3 2.6.32-hardened-r77-0 #1 SMP Tue Nov 29 02:35:45 MSK 2011 x86_64 Intel(R) Xeon(R) CPU E5450 @ 3.00GHz GenuineIntel GNU/Linux

      I have 25 hostgroups. Any of it have templates, any have hosts and any is empty. When i try to get info about hostgruop or try to add hosts to hostgroups, i see error or empty strings.

      For example on python:
      "...
      print zapi.hostgroup.get({ "filter":

      { "groupid":'39' }

      , "output": "extend" })
      print zapi.hostgroup.get({ "filter":

      { "groupid":'44' }

      , "output": "extend" })
      print zapi.hostgroup.get({ "filter":

      { "name": 'Discovered hosts' }

      , "output": "shorten" })
      print zapi.hostgroup.get({ "filter":

      { "name": 'Templates' }

      , "output": "shorten" })
      ..."
      In output i see this shit:

      [

      {u'internal': u'0', u'groupid': u'39', u'name': u'Nonexistent Ltd_Velikiy_Novgorod_\u0412\u0435\u043b\u0438\u043a\u0438\u0439 \u041d\u043e\u0432\u0433\u043e\u0440\u043e\u0434'}

      ]
      []
      []
      [

      {u'groupid': u'1'}

      ]

      Why i can't get groupid 44 and Discovered hosts? All of it exist in my web interface!

            Assignee:
            Unassigned
            Reporter:
            max
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: