I have a couple years experience with Zabbix, but after spending some time reviewing the pre-defined macros, I'm wondering if there's any way to do what I'm trying.
Many of our systems have dual NICs, on separate networks. When we configure an "Agent interface" for a host, are there predefined macros or some other convenient way to reference the 2nd or 3rd or Nth DNS name that is defined for a client via the "Agent interface"?
I had initially thought that {HOST.DNS2} would be it, but that appears to be defined based on presence in a trigger, not whether a particular client has 2 or 3 or more Zabbix agent interfaces defined.
So, is there any pre-defined macro that would give me values for the 2nd, 3rd, etc. Zabbix agent interfaces? We really don't want to have to define a user macro that maps to the 2nd interface's DNS name for each and every one of our hosts. Zabbix already has the data, I just can't figure out if it's exposing it for use in items or triggers.
Thanks,
Tim
Many of our systems have dual NICs, on separate networks. When we configure an "Agent interface" for a host, are there predefined macros or some other convenient way to reference the 2nd or 3rd or Nth DNS name that is defined for a client via the "Agent interface"?
I had initially thought that {HOST.DNS2} would be it, but that appears to be defined based on presence in a trigger, not whether a particular client has 2 or 3 or more Zabbix agent interfaces defined.
So, is there any pre-defined macro that would give me values for the 2nd, 3rd, etc. Zabbix agent interfaces? We really don't want to have to define a user macro that maps to the 2nd interface's DNS name for each and every one of our hosts. Zabbix already has the data, I just can't figure out if it's exposing it for use in items or triggers.
Thanks,
Tim
Comment