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
ไม่มีความคิดเห็น:
แสดงความคิดเห็น