I have a manifest which installs the Zabbix agent, it looks like this:
class project::zabbix::agent {
class { 'zabbix::agent':
server => '1.2.3.4',
}
}
I need to get the actual IP address of my Zabbix server, and put it in place of the '1.2.3.4'.
On my Zabbix server I can see the IP is in networking=>ip when I run "facter", but I don't know how to access this data from other nodes.
↧