Ad Widget

Collapse

Problem getting triggers from API

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • marti.cardus
    Junior Member
    • Feb 2016
    • 2

    #1

    Problem getting triggers from API

    Hi,

    I'm making a simple dashboard to view unacknowledged triggers, it's works fine but i have one problem.

    Triggers from LLD not shown in call "trigger.get", only templated triggers are shown

    Code:
    zabbix_data = zx.call('trigger.get', params = dict(
                                                    output = 'extend',
                                                    only_true = 1,
                                                    monitored = 1,
                                                    min_severity = 2,
                                                    filter = { 'value' : 1 },
                                                    withLastEventUnacknowledged = 1,
                                                    selectHosts = 'extend',
                                                    expandDescription = 'true'
                                                ))
    This is a call I utilize with a python package (zabbix-api-erigones), I tested with another zabbix package and the result is the same

    Does anyone have an idea to solve this?

    Thanks
Working...