I’ve used MRTG for simple monitoring for years. It’s easy to get working and dependent on very few packages. It stores it’s data in simple files. This both limits it, and makes it easy to move or duplicate.
I wanted to monitor each of my Raspberry Pi network interfaces because they are connected via WiFi and I can’t monitor a particular switch port for each device. I’ve spent nearly a year searching for the reason that MRTG didn’t enumerate the interfaces before coming up with a simple snippet fixing my problem.
Adding this line to the end of my /etc/snmp/snmpd.conf file and restarting the snmpd allowed me to run cfgmaker and see my network interfaces.
view systemonly included .22.214.171.124.2.1.2
Quick and dirty addition and query:
sudo echo view systemonly included .126.96.36.199.2.1.2 >>/etc/snmp/snmpd.conf sudo systemctl restart snmpd /usr/bin/cfgmaker --no-down --zero-speed=100000000 public@localhost