How to make the SNMP agent accessible over the network

You problem

You have a running UCD SNMP Daemon. You can access its variables via

# snmpwalk localhost public

But you cannot do this from another computer in your network, so from 10.10.0.3 . (Your network might be 10.10.0.0/16)

Solution

Testing

You can test the access from the other computer with snmpwalk:

> snmpwalk 10.10.0.7 public | head
system.sysDescr.0 = Linux Blomberg 2.4.19-4GB #1 Thu Mar 20 15:22:42 UTC 2003 i586
system.sysObjectID.0 = OID: enterprises.ucdavis.ucdSnmpAgent.linux
system.sysUpTime.0 = Timeticks: (49710) 0:08:17.10
system.sysContact.0 = Sysadmin (root@localhost)
system.sysName.0 = Blomberg
system.sysLocation.0 = Server Room
system.sysORLastChange.0 = Timeticks: (1) 0:00:00.01
system.sysORTable.sysOREntry.sysORID.1 = OID: ifMIB
system.sysORTable.sysOREntry.sysORID.2 = OID: .iso.org.dod.internet.snmpV2.snmpModules.snmpMIB
system.sysORTable.sysOREntry.sysORID.3 = OID: tcpMIB

Keywords: ucdsnmp ucdsnmpd snmp snmpd snmpdconf rocommunity suse   Author: Mathias Kettner

Tauschzone MK