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

maintenance.create ignores defaults

XMLWordPrintable

    • Sprint 20, Sprint 21, Sprint 22, Sprint 23, Sprint 24
    • 0.25

      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.

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

              Created:
              Updated:
              Resolved: