title: Get active triggers in Zabbix API and take account of dependencies
body: <p>I have configured a trigger in Zabbix which gets active when there's no internet connectivity. All other triggers are depending on this trigger, so if there's no internet connection, only one trigger is getting active instead of all. This works as expected.</p>
  
  <p>But when I get all active triggers via Zabbix API, it returns all triggers and does not take account of the configured dependencies. </p>
  
  <p>This is how my API request looks like:</p>
  
  <pre><code>{
      "jsonrpc": "2.0",
      "method": "trigger.get",
      "params": {
          "output": "extend",
                  "selectTriggers": "extend",
                  "selectGroups": "extend",
                  "selectHosts": "extend",
                  "withLastEventUnacknowledged": 1,
                  "expandDescription": 1,
                  "filter": {
                      "value": 1,
                      "status": 0
                  },
                  "sortfield": "priority",
                  "sortorder": "DESC"
      },
      "id": 2,
      "auth": "XXX"
  }
  </code></pre>