Consider a case when there are two similar events with different priorities on the same host:
1)
2)
Zabbix problems dashboard and problems widget in a clever way are displaying only the second event. I would like to do achieve the same effect using Zabbix API, perhaps with some additional coding. Can someone please give me a hint on how the similar events with lower priorities can be filtered out?
1)
Code:
"description": "More than {$ZPOOL_AVERAGE_ALERT}% used on zpool rpool on {HOST.NAME}"
"expression": "( {180897} / ( {180898} + {180897} ) ) > ({$ZPOOL_AVERAGE_ALERT}/100)"
"priority": "3"
Code:
"description": "More than {$ZPOOL_HIGH_ALERT}% used on zpool rpool on {HOST.NAME}"
"expression": "( {180901} / ( {180902} + {180901} ) ) > ({$ZPOOL_HIGH_ALERT}/100)"
"priority": "4"
Comment