Apologies if this is a topic discussed in the past as I'm new to the forum. I'll try to make this as brief as possible. (loaded statement right?)
Big Picture First:
We have an environment that is 99% virtual with a mixture of Windows and Linux (differing versions therein as well) that we are monitoring with Zabbix. Recently we created a carbon copy (we call it zones) of the systems and installed a Global Traffic Manager in front of it with out changing any host names. The only difference is which VLAN the host(s) use. All of the hosts use internal static IP's (i.e. 172.16.10.xxx) with are then NAT'd and show up as external IP's (i.e. 20.200.yy.xxx where yy is the subnet of the VLAN and xxx is the same as the internal IP).
To make things a little more complicated, every other week, we refresh the VM's from a single gold copy to both zones, without changing the hostname, only the VLAN. So in the end we end up with two vm clones that are identical that sit on different VLANs (the FQDN's might look something like: vm.zonea.lan and vm.zoneb.lan)
Problem:
In zabbix we are able to monitor one set of the VM's by default. No changes required to the template or the agent config file. But the other zone we are only able to check the ping and that's it. I know that we can go on to each agent in one zone or the other and physically change the hostname in the agent config file (i.e. use the FQDN), but that is not ideal as this would have to happen every other week. What we are finding out is even though we have each system set up to use the external IP and is still using the hostname for some metrics. The result is metrics are collected for one system (including auto-discovery items), but not the other.
Question:
Is there some trick in the templates or someplace else that we can get around this issue? I'd even be open to creating a Zone A and Zone B template if that's what it comes down to.
If this isn't clear I'd be happy to provide more clarification. Thanks in advance
Big Picture First:
We have an environment that is 99% virtual with a mixture of Windows and Linux (differing versions therein as well) that we are monitoring with Zabbix. Recently we created a carbon copy (we call it zones) of the systems and installed a Global Traffic Manager in front of it with out changing any host names. The only difference is which VLAN the host(s) use. All of the hosts use internal static IP's (i.e. 172.16.10.xxx) with are then NAT'd and show up as external IP's (i.e. 20.200.yy.xxx where yy is the subnet of the VLAN and xxx is the same as the internal IP).
To make things a little more complicated, every other week, we refresh the VM's from a single gold copy to both zones, without changing the hostname, only the VLAN. So in the end we end up with two vm clones that are identical that sit on different VLANs (the FQDN's might look something like: vm.zonea.lan and vm.zoneb.lan)
Problem:
In zabbix we are able to monitor one set of the VM's by default. No changes required to the template or the agent config file. But the other zone we are only able to check the ping and that's it. I know that we can go on to each agent in one zone or the other and physically change the hostname in the agent config file (i.e. use the FQDN), but that is not ideal as this would have to happen every other week. What we are finding out is even though we have each system set up to use the external IP and is still using the hostname for some metrics. The result is metrics are collected for one system (including auto-discovery items), but not the other.
Question:
Is there some trick in the templates or someplace else that we can get around this issue? I'd even be open to creating a Zone A and Zone B template if that's what it comes down to.
If this isn't clear I'd be happy to provide more clarification. Thanks in advance
Comment