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

    • Icon: Change Request Change Request
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • None
    • Frontend (F), Server (S)
    • None

      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.

            vmurzins Valdis Murzins
            qryuu akihiro ito
            Votes:
            11 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated: