Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-5164

We need a macro that returns unixtime, to use in HTTP item request/header

XMLWordPrintable

    • Prev.Sprint, S24-W38/39, S24-W40/41, S24-W42/43, S24-W46/47
    • 0.5

      I would like to monitor AWS using HTTP agent items.

      A get request to AWS requires the "StartTime" :, "EndTime": parameters.

      https://docs.aws.amazon.com/ja_jp/AmazonCloudWatch/latest/APIReference/API_GetMetricData.html

       

      Macros can be used for the Request body parameter of the HTTP agent.
      However, there is currently no macro in Zabbix that returns Unixtime.

      In order to make a request to AWS periodically with HTTP agent, it is necessary to specify the data period to be acquired by Unixtime, not fixed Request body.

      Future or past of specified number of seconds
      And I need a macro that returns Unixtime for the current time.

            sboidenko Sergejs Boidenko
            qryuu akihiro ito
            Team A
            Votes:
            12 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated:
              Resolved: