|
From: Udo L. <udo...@al...> - 2014-04-10 11:26:57
|
Hi Luca, works well for me: snmpwalk -v 1 -c abc_hh 192.168.40.13 interface IF-MIB::ifNumber.0 = INTEGER: 2 IF-MIB::ifIndex.1 = INTEGER: 1 IF-MIB::ifIndex.2 = INTEGER: 2 IF-MIB::ifDescr.1 = STRING: lo IF-MIB::ifDescr.2 = STRING: eth0 IF-MIB::ifType.1 = INTEGER: softwareLoopback(24) IF-MIB::ifType.2 = INTEGER: ethernetCsmacd(6) IF-MIB::ifMtu.1 = INTEGER: 16436 IF-MIB::ifMtu.2 = INTEGER: 1500 IF-MIB::ifSpeed.1 = Gauge32: 10000000 IF-MIB::ifSpeed.2 = Gauge32: 1000000000 IF-MIB::ifPhysAddress.1 = STRING: IF-MIB::ifPhysAddress.2 = STRING: ee:2e:19:8d:50:93 ... with follwing definition in /etc/snmpd.conf: com2sec mynetwork 192.168.3.21/32 supergeheim regards Udo Am 10.04.2014 12:07, schrieb Luca Iacono: > Dear All, > > 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. > > Your help will be very much appreciated. > > Many Thanks > > Luca |