Hello,
Zabbix v5.0 here.
I have problem with aggregate function :
three hosts in group "X-Group Cluster lab" have discovered item :
keepalived.vip.["192.138.5.10/32"]
{$KEEPALIVED_CALC_GROUP} = X-Group Cluster lab
and
I cannot setup aggregate key cause there is problem with name of item and with ' " ' between of IP address in CIDR format
my aggregate item name :
grpsum["{$KEEPALIVED_CALC_GROUP}","keepalived.vip.[10.128.5.10/32]",sum,last]
I tested this with MACROs :
{$KEEPALIVED_CALC_IP} = 10.128.5.10/32
grpsum["{$KEEPALIVED_CALC_GROUP}","keepalived.vip.[{$KEEPALIVED_CALC_IP}]",sum,last]
and
{$KEEPALIVED_CALC_IP} = ["10.128.5.10/32"]
grpsum["{$KEEPALIVED_CALC_GROUP}","keepalived.vip.{$KEEPA LIVED_CALC_IP}",sum,last]
and
{$KEEPALIVED_CALC_IP} = keepalived.vip.["10.128.5.10/32"]
grpsum["{$KEEPALIVED_CALC_GROUP}","{$KEEPALIVED_CALC_IP}" ,sum,last]
and all the time there is "No items for key"
anyone can help with this ?
Zabbix v5.0 here.
I have problem with aggregate function :
three hosts in group "X-Group Cluster lab" have discovered item :
keepalived.vip.["192.138.5.10/32"]
{$KEEPALIVED_CALC_GROUP} = X-Group Cluster lab
and
I cannot setup aggregate key cause there is problem with name of item and with ' " ' between of IP address in CIDR format
my aggregate item name :
grpsum["{$KEEPALIVED_CALC_GROUP}","keepalived.vip.[10.128.5.10/32]",sum,last]
I tested this with MACROs :
{$KEEPALIVED_CALC_IP} = 10.128.5.10/32
grpsum["{$KEEPALIVED_CALC_GROUP}","keepalived.vip.[{$KEEPALIVED_CALC_IP}]",sum,last]
and
{$KEEPALIVED_CALC_IP} = ["10.128.5.10/32"]
grpsum["{$KEEPALIVED_CALC_GROUP}","keepalived.vip.{$KEEPA LIVED_CALC_IP}",sum,last]
and
{$KEEPALIVED_CALC_IP} = keepalived.vip.["10.128.5.10/32"]
grpsum["{$KEEPALIVED_CALC_GROUP}","{$KEEPALIVED_CALC_IP}" ,sum,last]
and all the time there is "No items for key"
anyone can help with this ?
Comment