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":
, "output": "extend" })
print zapi.hostgroup.get({ "filter":
, "output": "extend" })
print zapi.hostgroup.get({ "filter":
, "output": "shorten" })
print zapi.hostgroup.get({ "filter":
, "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'}]
[]
[]
[
]
Why i can't get groupid 44 and Discovered hosts? All of it exist in my web interface!