-
Type:
Problem report
-
Resolution: Incomplete
-
Priority:
Trivial
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Environment:Zabbix version 6.8.4
Hi everyone,
I'm reporting something I found in Zabbix version 6.5.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}
In the global script string the HOST.IP is always the IP address of the first Host. The HOST.2 command has the correct IP address in the Action Report.