แสดงบทความที่มีป้ายกำกับ snmp แสดงบทความทั้งหมด
แสดงบทความที่มีป้ายกำกับ snmp แสดงบทความทั้งหมด

วันศุกร์ที่ 3 มิถุนายน พ.ศ. 2554

ubuntu snmp

I've install cacti to a server which will poll the data from linux box, installed snmp.

To test polling data from cacti to linux box,
#snmpwalk -c public -v 2c [ip-address]

In ubuntu if you want to allow other host to view this data you need to modified
"/etc/default/snmp "

SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -g snmp -I -smux -p /var/run/snmpd.pid [ip-address]'





วันจันทร์ที่ 8 กุมภาพันธ์ พ.ศ. 2553

gentoo SNMP

Installing SNMP in gentoo for system monitoring.


#emerge net-snmp

edit /etc/snmp/snmpd.conf add the following
com2sec Mybox localhost public
com2sec cacti 192.168.1.0/24 public

group RWGroup v2c Mybox
group ROGroup v1 cacti
group ROGroup v2c cacti

view all included .1 80
view system included system fe

access ROGroup "" any noauth exact all none none
access RWGroup "" v2c noauth exact all all all

#rc-update add snmpd default