Ad Widget

Collapse

Zabbix API - triggerid

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • VojuCZ
    Junior Member
    • Dec 2016
    • 7

    #1

    Zabbix API - triggerid

    Hello,
    1.) i have template "ICMP" , there is trigger "High latency", id triggerId #10.
    2.) i have template "device", this template has linked "ICMP" template (and more another templates)
    3.) i have host "192.168.10.1", this device has linked template "device".
    -> so host "192.168.10.1" has trigger "High latency", triggerId #25

    Now, when latency rises, zabbix create new "problem". This problem has triggerid ("objectid") #25, so trigger of host with high latency. But how I can get triggerId #10 from original ICMP template? My goal is to save to my external system only 100 triggers from templates, not whole 138 000 triggers from all hosts...

    I tried triggerprototype.get, but with parameter "triggerids" : "25" got NULL
    Thank you
Working...