I don't use zabbix agent in each server I check, because I don't need it at the moment.
I use only one zabbix agent for DNS lookups, which is on the zabbix server.
So its IP is 127.0.0.1.
This means that the first interface in each host is 'Agent interfaces' which is 127.0.0.1.
The second interface of each host is 'SNMP interfaces' which contains the actual IP of each host.
When I add in action's body message the line:
I get in the email:
How can I add the actual IP of each host in the notifications?
I use only one zabbix agent for DNS lookups, which is on the zabbix server.
So its IP is 127.0.0.1.
This means that the first interface in each host is 'Agent interfaces' which is 127.0.0.1.
The second interface of each host is 'SNMP interfaces' which contains the actual IP of each host.
When I add in action's body message the line:
Server IP: {HOST.IP1}, {HOST.IP2}
Server IP: 127.0.0.1, *UNKNOWN*