Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-12991

maintenance.create ignores defaults

    XMLWordPrintable

    Details

    • Team:
      Team B
    • Sprint:
      Sprint 20, Sprint 21, Sprint 22, Sprint 23, Sprint 24
    • Story Points:
      0.25

      Description

      According to documentation, the maintenance.create method should uphold these parameters as default when creating a new maintenance:

      active_since timestamp Time when the maintenance becomes active. Default: current time.

      active_till timestamp Time when the maintenance stops being active.
      Default: the next day.

      See https://www.zabbix.com/documentation/3.0/manual/api/reference/maintenance/object

      However, when trying to create a new maintenance via the API without specifying active_since and active_till, the API fails with one of the following errors:

      "Active since" must be between 1970.01.01 and 2038.01.18.
      "Active till" must be between 1970.01.01 and 2038.01.18.

        Attachments

          Activity

            People

            Assignee:
            iivs Ivo Kurzemnieks
            Reporter:
            qix Raymond Kuiper
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: