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

LLD macros do not seem to work in Flexible Interval definitions

    Details

    • Type: New Feature Request
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.0.1
    • Fix Version/s: None
    • Component/s: Server (S)
    • Environment:
      Centos

      Description

      Hello,

      I have defined LDD rule which receives the following JSON

      {
          "data":[
              {
                  "{#SERVICE}":"Zabbix Agent",
                  "{#DESCRIPTION}":"Zabbix Agent",
                  "{#TIME}":"1-5,05:59-20:58",
      
              }
          ]
      }
      

      and I was expecting the time definition to be picked up in the Flexible interval definition.

      The GUI accepts the {#TIME} value as a correct time interval (actually I think it does not do any validation at all, but then the
      1) You cannot click on the LDD created item to validate the macro expansion
      2) The behaviour shows that the Flexible Interval with the {#TIME} macro is ignored.
      3) Log shows the macro expansion did not happened.

      29274:20120709:122203.603 wrong delay period format [50/{#TIME}]

      Is it possible to enable it? It is essential to monitor services that are only available at certain time, and instead of doing it manually, LDD makes it much easies to handle

      Regards
      Alessandro

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                alledm Alessandro De Maria
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: