[ZBX-9908] maintenance.update API requires active_since parameter Created: 2015 Sep 25  Updated: 2017 May 30  Resolved: 2015 Sep 25

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: API (A)
Affects Version/s: 2.2.10
Fix Version/s: None

Type: Incident report Priority: Major
Reporter: Kodai Terashima Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates ZBX-6167 Partial updating not working in maint... Closed

 Description   

Accorting to documentation, maintenance.update can replace hosts or hostgroups.
https://www.zabbix.com/documentation/2.2/manual/api/reference/maintenance/update

The API request same as the documentation above fails with this error

{"message": "Invalid params.", "code": -32602, "data": "\\"Active since\\" must be between 1970.01.01 and 2038.01.18."}


 Comments   
Comment by richlv [ 2015 Sep 25 ]

closing as a duplicate of ZBX-6167

Generated at Thu Apr 25 20:45:49 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.