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

create maintenance windows by api does not work for windows in the future

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Cannot Reproduce
    • Icon: Trivial Trivial
    • None
    • None
    • None
    • None

      Steps to reproduce:

      1. Try to set maintenance windows by api for the future with this request
      2. {"jsonrpc": "2.0", "method": "maintenance.create", "params": \{"name": "Maintenance period for: itet test script", "active_since": 1714554900, "active_till": 1714562100, "groups": [{"groupid": 51}], "description": "This maintenance period is created by a script.", "timeperiods": [\{"period": 3600, "timeperiod_type": 0, "start_time": 33300, "startdate": 1714555000}], "tags": {}}, "auth": "api-token", "id": 1}
        

       

      Result:
      no maintenance windows for the 1. May set
      Expected:
      Set maintenance windows for the 1. May from 09:15 until 11:15

            zabbix.support Zabbix Support Team
            Spearmint0695 Tobias Spörri
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: