We started using LXC containers instead of OpenVZ for some of our cloud deployment. What we have found is that every time the container reboots, the SNMP traffic sensor goes down. We have traced this back to the changing of the interface ID in snmp. Example:
.1.3.6.1.2.1.2.2.1.1.31 = INTEGER: 31 .1.3.6.1.2.1.2.2.1.2.31 = STRING: eth0
but if I reboot this node, those 31's will change to a different number and then the traffic sensor goes down. Is there a way to consistently monitor SNMP Traffic on LXC? The name never changes, its always eth0, so if we could key off that instead of the ID...