Hi zabbix users,
I configured the following script via Administration -> Script -> New Script:
echo HOST.CONN {HOST.CONN}
echo HOST.CONN1 {HOST.CONN1}
echo HOST.CONN2 {HOST.CONN2}
echo HOST.CONN3 {HOST.CONN3}
echo
echo IP {HOST.IP}
echo IP1 {HOST.IP1}
echo IP2 {HOST.IP2}
echo IP3 {HOST.IP3}
And here sit the output:
HOST.CONN 10.22.22.83
HOST.CONN1 10.22.22.83
HOST.CONN2 10.22.22.83
HOST.CONN3 10.22.22.83
IP 10.22.22.83
IP1 10.22.22.83
IP2 10.22.22.83
IP3 10.22.22.83
This is not what I would expect. First of all I don't know where these values are coming from. Of course the ip address is from that host. But I thought {HOST.IP2} would be the IP of second agent interface and not the first one too. And {HOST.IP3} is'nt set anywhere.
Where am I going wrong?
TIA
tvtue
I configured the following script via Administration -> Script -> New Script:
echo HOST.CONN {HOST.CONN}
echo HOST.CONN1 {HOST.CONN1}
echo HOST.CONN2 {HOST.CONN2}
echo HOST.CONN3 {HOST.CONN3}
echo
echo IP {HOST.IP}
echo IP1 {HOST.IP1}
echo IP2 {HOST.IP2}
echo IP3 {HOST.IP3}
And here sit the output:
HOST.CONN 10.22.22.83
HOST.CONN1 10.22.22.83
HOST.CONN2 10.22.22.83
HOST.CONN3 10.22.22.83
IP 10.22.22.83
IP1 10.22.22.83
IP2 10.22.22.83
IP3 10.22.22.83
This is not what I would expect. First of all I don't know where these values are coming from. Of course the ip address is from that host. But I thought {HOST.IP2} would be the IP of second agent interface and not the first one too. And {HOST.IP3} is'nt set anywhere.
Where am I going wrong?
TIA
tvtue
Comment