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

Service time object error in documentation

XMLWordPrintable

    • Icon: Documentation task Documentation task
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 5.4 (plan)
    • 3.0.31, 4.0.25, 5.0.4
    • Documentation (D)
    • None
    • Team D
    • 0.1

      Link: https://www.zabbix.com/documentation/current/manual/api/reference/service/object

      Problem:

      In row "ts_from (required)" last words in description are:

      "For onetime downtimes ts_from must be set as a Unix timestamp, for other types - as a specific time in a week, in seconds, for example, 90000 for Tue, 2:00 AM."

      Similar error in row "ts_to ** (required)".

      Should be:

      ... for example, 90000 for Mon, 1:00 AM.

      Calendar for uptime/downtime repeated every week starts from Sunday.

       

      Reproduction/explanation:

       

      Define uptime or downtime period in frontend for some IT service as interval:

      Sunday 00:00 - Monday 01:00

      Look in to DB table services_times, column:

      ts_from contains 0

      ts_to contains 90000

       

       

      Sunday 00:00 is written into table as 0 - so, this is weekly calendar start.

      90000 seconds is a one day and one hour, so Sunday 00:00 + 1 day and 1 hour = Monday 01:00 AM

       

            mgeneralova Marina Generalova (Inactive)
            splitek Adam Splitt
            Team D
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: