First emerge snmp:
Code:
emerge net-snmp
Then open up your snmpd.conf in /etc/snmp/ directory and copy/paste the following:
Code:
com2sec local your.hostname.com mycommunity
com2sec local 10.10.10.0/24 public
group MyROGroup v1 local
group MyROGroup v2c local
group MyROGroup usm local
view all included .1 80
access MyROGroup "" any noauth exact all none none
#if you want to monitor different partitions
disk / 0
disk /tmp 0
disk /boot 0
#if you want to monitor different processes
proc httpd
proc mysqld
proc snmpd
Replace 'mycommunity' and 'your.hostname.com' with your respective values.
Save the file and exit then run the following commands:
Code:
/etc/init.d/snmpd start
/sbin/rc-update add snmpd default
Gentoo Wiki: http://www.gentoo-wiki.info/Cacti/SN...dding_the_host