[ZBXNEXT-3621] filter by maintenance in event.get Created: 2016 Dec 20  Updated: 2017 May 31  Resolved: 2016 Dec 20

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: API (A)
Affects Version/s: 3.2.2
Fix Version/s: None

Type: Change Request Priority: Minor
Reporter: richlv Assignee: Unassigned
Resolution: Duplicate Votes: 1
Labels: event.get, maintenance
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates ZBXNEXT-1150 Event should store and show the maint... Open

 Description   

when getting events with event.get, there does not seem to be any way to filter by the maintenance state back when the event happened. this makes reporting on historical events impossible.

it would be great if we could have a flag to filter by any/in_maintenance/out_of_maintenance states.

not sure how easy that would be - there does not seem to be information like that stored anywhere, and recalculating maintenance periods is not feasible (those could have been removed or changed, too). might require storing state for every event, maybe ?
triggers that reference items from multiple hosts would also have to be handled in a sane manner.



 Comments   
Comment by Aleksandrs Saveljevs [ 2016 Dec 20 ]

Do you think this request could be considered a duplicate of ZBXNEXT-1150?

Comment by richlv [ 2016 Dec 20 ]

ah, yes - once the functionality would be there, it should be easy to expose it in the api. thanks a lot for finding that one, let's close this as a duplicate
i searched for event.get method extensively, but that didn't turn up 1150 (understandably) - could you please add "events.get" in the issue summary there ?

Comment by Aleksandrs Saveljevs [ 2016 Dec 20 ]

Thank you! Closing as a duplicate of ZBXNEXT-1150.

Not sure where to stick "event.get" into - feel free to simply add a comment there.

Comment by Oleksii Zagorskyi [ 2016 Dec 20 ]

heh, ZBXNEXT-2355 was one more candidate to be a successor of current report
Now I need to consider its closing too

Generated at Sat Apr 27 03:45:56 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.