the template uses pre procesing discovery ( with formule return '{$PING_LIST}'.replace(/([^,]+)/g,'{"{#ADDR}":"$1"}').replace(/(.*)/,'[$1]') )
but this only works if you can execute icmpping[localhost] that is not a valid zabbix active agent key if you setup proxy server.. so we need to use directly the macro trigerring to already get amount of address or hardcoded the amount of address!
the template uses pre procesing discovery ( with formule
return '{$PING_LIST}'.replace(/([^,]+)/g,'{"{#ADDR}":"$1"}').replace(/(.*)/,'[$1]'))but this only works if you can execute
icmpping[localhost]that is not a valid zabbix active agent key if you setup proxy server.. so we need to use directly the macro trigerring to already get amount of address or hardcoded the amount of address!