Ad Widget

Collapse

Zabbix API: List triggers for group

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bpc-ruslan
    Member
    • Jul 2014
    • 32

    #1

    Zabbix API: List triggers for group

    Hello.

    How to use zabbix API to get all active triggers for specific host group? Output should contain "description" , "expression", "priority", "comments".
  • LenR
    Senior Member
    • Sep 2009
    • 1005

    #2
    You have to walk before you can run....

    Pick your favorite scripting tool, find examples to auth into the api. First step is to get groupid of the host group. Then you can pass that as groupids to get.triggers.

    But you may want events instead of triggers, depending on what you mean by active.

    After you write a few API scripts, your code should get cleaner and simpler :-)

    Comment

    Working...