I need to monitor the Ethernet interfaces of a Linux VM. This is the perfect job for
snmpd which you can get by installing
net-snmp and then applying a basic config. Here is a simplified config that will get you basic read-only access for a community and subnet.
rocommunity snmp-read 188.8.131.52/24
rocommunity snmp-read 10.3.1.0/24
rocommunity snmp-read localhost
syslocation "City, State"
syscontact "Admin <firstname.lastname@example.org>"
You can test your new SNMP configuration with
snmpwalk -v 2c -c snmp-read 127.0.0.1