-
Incident report
-
Resolution: Won't fix
-
Major
-
None
-
3.4.6
-
None
Since we have subgroups it looks like that the API can't handle it
Steps to reproduce:
I use the ZabbixPython API and want to get all triggers in a group including all subgroups eg:
trigger = zapi.trigger.get(only_true=1,skipDependent=1,monitored=1,active=1,output='extend',expandDescription=1,selectHosts=1,selectItems=1,group='Berlin/*',expandExpression=1,filter = {"value":1})
but it didn't work.
Result:
don't get all triggers within a subgroup
Expected:
that the code above works or something like:
trigger = zapi.trigger.get(only_true=1,skipDependent=1,monitored=1,active=1,output='extend',expandDescription=1,selectHosts=1,selectItems=1,group='Berlin',includesubgroups=1,expandExpression=1,filter = {"value":1})