lm-sensors and snmpd under Ubuntu

#
# on server
#
apt-get install -y lm-sensors snmp snmpd snmp-mibs-downloader
 
# allow access from network (unsecure)
sed -i 's|agentAddress  udp:127.0.0.1:161|agentAddress  udp:161|g' /etc/snmp/snmpd.conf
sed -i 's|rocommunity public  default    -V systemonly|rocommunity public|g' /etc/snmp/snmpd.conf
 
# restart snmpd server
service snmpd restart
 
 
#
# on client
#
apt install -y snmp snmp-mibs-downloader
 
# read data from snmpd server
snmpwalk -v 2c -c public 10.0.3.94
snmpwalk -v 2c -c public 10.0.3.94 LM-SENSORS-MIB::lmFanSensorsTable
snmpwalk -v 2c -c public 10.0.3.94 LM-SENSORS-MIB::lmTempSensorsValue.1
 
 
#
# install snmp browser
#
wget -q https://netix.dl.sourceforge.net/project/snmpb/snmpb/0.8/snmpb_0.8_i386.deb -O /tmp/snmpb_0.8_i386.deb
dpkg -i /tmp/snmpb_0.8_i386.deb