PDA

View Full Version : [SOLVED] Configuring snmp on ubuntu



ikon_
October 6th, 2011, 07:49 PM
Hi,
I'm trying to configure snmp server on my Ubuntu (Lucid Lynx). I have edited the snmpd.conf file and added the relevant parameters needed. But still when I try to execute

snmpwalk -v 1 -c public localhost IP-MIB::ipAdEntIfIndexI get an error saying End of MIB. Please somebody help ??

ikon_
October 7th, 2011, 08:49 AM
I am attaching my snmpd.conf file, if you find any problems please do tell me.

ikon_
October 7th, 2011, 03:02 PM
Solved.
My configuration was almost correct except for one thing. The line concerning "rocommunity" was misplaced in the file.

rocommunity public
The above line should be at the top of snmpd.conf.