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

We need a macro that returns unixtime.

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              vmurzins Valdis Murzins
              qryuu akihiro ito
              Votes:
              5 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: