Ad Widget

Collapse

How to get full trigger expression using ZabbixAPI?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dhuq
    Junior Member
    • Aug 2016
    • 1

    #1

    How to get full trigger expression using ZabbixAPI?

    Using Zabbix version: 2.4
    OS: Ubuntu 16.04 lts

    I am trying to get a list of full trigger expressions for each triggerid using the Zabbix API. Using trigger.get method, I can get a reduced trigger expression, which I have no use for. I really need the full trigger expression.

    Is there a way to ask the API for the full trigger expression of a given triggerid? If not, is there a file somewhere on the zabbix server where the reduced expressions are mapped to the full expressions? If not, is there documentation on converting from reduced expressions to full expressions? Any way you can think of to retrieve all the full trigger expressions along with the triggerids will be very helpful.

    Thanks in advance.
Working...