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

We need a macro that returns unixtime.

    XMLWordPrintable

    Details

    • Type: Change Request
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Frontend (F), Server (S)
    • Labels:
      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

          Activity

            People

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

              Dates

              Created:
              Updated: