Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-25412

lack of macro substitution when using proxygroup

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Incomplete
    • Icon: Trivial Trivial
    • None
    • None
    • None
    • None

      on all hosts I have simple check which executes command

       

      icmpping[,4,25,,{$PING_TIMEOUT}]
      

      check is stored in template, and template is attached to other templates (and they are attached to hosts)

      macro PING_TIMEOUT has value "2000"

       

      fragments of my template (json export):

      ...
                      "items": [
                          {
                              "uuid": "6ea092210ed4470c8acc15b3ec49e11c",
                              "name": "Ping",
                              "type": "SIMPLE",
                              "key": "icmpping[,4,25,,{$PING_TIMEOUT}]",
                              "delay": "90s",
                              "history": "10d",
                              "trends": "730d",
                              "description": "Ping",
                              "tags": [
                                  {
                                      "tag": "Application",
                                      "value": "Ping Statistics"
                                  }
                              ],
                          },
      ....
                      "macros": [
                          {
                              "macro": "{$PING_TIMEOUT}",
                              "value": "2000"
                          },

       

      Steps to reproduce:

      1. Changes in configuration...
      2. Navigate to screen title...
      3. Click on screen element...
      4. ...

      Result:
      See screenshot...
      See log file...
      See memory dump...
      Expected:
      See screenshot....
      See attached patch file...

            zabbix.support Zabbix Support Team
            Wojciech Kuk Wojciech Kuk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: