Basic snmpd.conf file to monitor ethernet ports of a Linux box

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.

# /etc/snmp/snmpd.conf
rocommunity snmp-read
rocommunity snmp-read
rocommunity snmp-read localhost
syslocation "City, State"
syscontact  "Admin <>"

You can test your new SNMP configuration with snmpwalk

snmpwalk -v 2c -c snmp-read

Note: Replies will be formatted with PHP Markdown Extra syntax.

Name: Email (Not Required):
Logged IP:
To prevent spam please submit by clicking the kitten: