Ad Widget

Collapse

trigger.get question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • beitis
    Junior Member
    • Apr 2016
    • 1

    #1

    trigger.get question

    Dear all,
    running zabbix 2.4 and have a custom php running that displays the latest triggers in an error state on a monitor. We started using dependencies to avoid being cluttered with notifications that are not of any use when we know the issue. In other words if the router is down on a remote site we added dependencies to not get alerted on the hosts behind that router. What i would now like is for my script displaying these alerts to exhibit this behavior also.

    According to zabbix documentation trigger.get has a skipDependent flag which skips triggers in a problem state if they have dependencies. Will this skip triggers regardless of the state of their dependencies? I.e. if B is dependent on A, will B be returned by trigger.get with skipDependent set to 1 regardless of the state of A? i would only like B returned if A is alive but not returned if A is down. Ping based triggers check the state of both.
Working...