Zabbix - Trigger action ignores "Target list" in remote commands

XMLWordPrintable

    • Type: Problem report
    • Resolution: Unresolved
    • Priority: Critical
    • None
    • Affects Version/s: 6.4.11
    • Component/s: Server (S)
    • None

      Hi everyone,

       

      I'm reporting something I found in Zabbix 6.4.8.

      Trigger actions sending remote commands (SNMPSET) to two different hosts.

       

      Commands are global scripts of SNMPSET:

      snmpset -v2c -c {SNMP.COMMUNITY} {HOST.IP} {SNMP.OID} i {SNMP.WRITTINGVALUE}

       

      Conditions are met:

      -> step 1 send command to HOST.1;

      -> step 2 send command to HOST.2;

       

      In the Action Report we see:

      STEP 1-> {HOST.1}:snmpset -v2c -c avacw {SNMP.COMMUNITY} {HOST.IP1} {SNMP.OID} i {SNMP.WRITTINGVALUE}

      STEP 2-> {HOST.2}:snmpset -v2c -c avacw {SNMP.COMMUNITY} {HOST.IP1} {SNMP.OID} i {SNMP.WRITTINGVALUE}

       

      For a reason I can't explain, the IP in the script command for HOST.2 gets filled with the IPaddress of HOST.1

       

      In Zabbix 4.4.1 this Trigger action works as intended. The command gets sent to the correct IP address.

            Assignee:
            Zabbix Development Team
            Reporter:
            TC
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: