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

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

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • 6.4.11
    • 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.

            zabbix.dev Zabbix Development Team
            IPTC TC
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: