SNMP / SNMPD - Manually assign key to interface
Posted on 2010-11-22
I have an annoying issue that I'm trying to solve. I monitor the total bandwidth usage via zabbix for two gateways on our network. For this to work properly, BOTH snmpd daemons MUST list the eth0 interfaces as 'IfInOctets2' and 'IfOutOctets2' .. now they don't have to use Octets2, but both servers must both use the same for my graphs to work properly.
For some odd reason, one of my gatway boxes changes this value after a reboot ocassionally. I have no idea why or how to force snmp to always use 'Octets2' for eth0.
I have googled, and can't find any settings to add to snmpd.conf or actually any issues even close to being related to my problem.
Thank you for your help!