Ad Widget

Collapse

Zabbix API: Retrieve trigger description with macros expanded

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • h_y_i_e_n
    Junior Member
    • Jun 2020
    • 8

    #1

    Zabbix API: Retrieve trigger description with macros expanded

    How do I retrieve the trigger description with the Zabbix API with macros expanded?
    I've checked the trigger.comments field for the output of trigger.get, but that gives me the trigger description before macros get expanded.
  • h_y_i_e_n
    Junior Member
    • Jun 2020
    • 8

    #2
    ok, I've managed to fix the issue by setting expandComment, expandDescription and expandExpression in the query, but the comment field gets truncated.
    Is there a way to show the entire comment?

    Comment

    Working...