Hi,
Using the Zabbix API, for a given an event id, how can I find the related Original or Recovery event id?
For example: This generated alert contains such information
--------------------------------------------------------------------------
10.x.x.x is unavailable by ICMP: OK
Problem:
Original Event ID: 176063
Problem Value: 1
Problem Status: PROBLEM
Problem Date: 09:29:51 2015.03.25
Recovery:
Recovery Event ID: 190134
Recovery Value: 0
Recovery Status: OK
Recovery Date: 11:55:51 2015.03.25
Outstanding Duration: 2h 26m
Acknowledgement: No
Acknowledgement History:
--------------------------------------------------------------------------
The only way I can think of now is by parsing the alerts with a later date for the related host and look for this data. But I'm hoping to find a better way.
Thanks.
Using the Zabbix API, for a given an event id, how can I find the related Original or Recovery event id?
For example: This generated alert contains such information
--------------------------------------------------------------------------
10.x.x.x is unavailable by ICMP: OK
Problem:
Original Event ID: 176063
Problem Value: 1
Problem Status: PROBLEM
Problem Date: 09:29:51 2015.03.25
Recovery:
Recovery Event ID: 190134
Recovery Value: 0
Recovery Status: OK
Recovery Date: 11:55:51 2015.03.25
Outstanding Duration: 2h 26m
Acknowledgement: No
Acknowledgement History:
--------------------------------------------------------------------------
The only way I can think of now is by parsing the alerts with a later date for the related host and look for this data. But I'm hoping to find a better way.
Thanks.
Comment