[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: |
|
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 ? |
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 |
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, |