SNMP Agent on Endian Community 2.2-RC3.
20081126
Download and install all 6 rpms:
tcp_wrappers-7.6-39.endian0.i386.rpm
sysfsutils-1.2.0-1.endian1.i386.rpm
lm_sensors-3.0.0-2.endian2.i586.rpm
net-snmp-libs-5.4.1-5.endian4.i586.rpm
net-snmp-5.4.1-5.endian4.i586.rpm
net-snmp-utils-5.4.1-5.endian4.i586.rpm
How you configure SNMP is up to you... one way to do it is:
#snmpconf -g basic_setup
Amend the /etc/hosts.allow file to include:
snmpd : ALL
Login to the web GUI of Endian and go to "Firewall/System
Access" and add a system access rule for SNMP
(TCP+UDP/161:162). This is where you allow external hosts
to query the endian. Be careful who you allow!
Start the snmpd daemon:
#/etc/init.d/snmpd start
Check it is running:
#ps -e | grep snmpd
You should get one line returned listing the snmpd process.
Query the daemon (this may or may not work depending
on setup options you selected):
#snmpwalk -v 2c -c public 127.0.0.1
You should get MIB data scroll past. If not, start
trouble-shooting.
You probably want snmp to start after a reboot. Create a file
called NNsnmpd (where NN is a number of your choice that fits in
with your system) in the /etc/rc.d/start directory with contents
something like this:
#!/bin/sh /usr/local/bin/run-detached "/etc/rc.d/init.d/snmpd start"