Thursday, April 24, 2008

snmp config setup for snmpd

Snmp is really cool, but seems to difficult to setup. I kept getting a "Timeout: No Response from localhost" when I would try to run snmpget to query the mib. I checked the snmpd log and it said that conf was probably bad and that snmpd would probably not be very useful.

I then stumbled on:
snmpconf -g basic_setup

If you're a noob to , like me, this will probably save your bacon. I just followed in guide. Oh btw, you probably want to make a community name of public. This will be helpful when following tutorials that will often use the -c option and assign the value public. e.g. snmpget -v 1 -c public localhost SNMPv2-MIB::sysUpTime.0

Btw, remember to move the snmpd.conf file to /path/to/snmp/share/snmp/

No comments: