I am writing as I've been trying to setup an MRTG server in my network to monitor bandwidth on Devil-Linux gateways. I have activated net-snmp on Devil Linux, changed the agent to accept requests from the subnet, use public community for full access. following are the changes i have applied to /etc/snmpd.conf. have done the same on a Debian Server and those changes were enough to make it accept request from the subnet.
agentAddress udp:161,udp6:[::1]:161 rocommunity public 192.168.1.0/24
when I execute from the MRTG ( Debian Server ) on 192.168.1.0/24
snmpwalk -v 1 -c public 192.168.1.1 interfaces or snmpwalk -v 1 -c public 192.168.1.1 system
I get Unknown Object Identifier (Sub-id not found: (top) -> interfaces) ...
whereas when I do execute the same command from the Devil to MRTG server, i get a response.