Gentoo Wiki




this howto is for allowing cacti to monitor a remote system using SNMP

Getting started

On the client machine you wish to monitor please enter:

emerge net-snmp

Configure SNMPd


net-snmp-config --create-snmpv3-user -X my_passphrase -a "my_password" my_user

WARNING: SNMPv3 pass phrases must be at least 8 characters long!

More info on configuring SNMPv3

Fast config

net-snmp-config --create-snmpv3-user -X my_passphrase -a "mypassword" my_user
ln -s /usr/share/snmp/snmpd.conf /etc/snmp/snmpd.conf
/etc/init.d/snmpd start
/sbin/rc-update add snmpd default


File: /etc/snmp/snmpd.conf
com2sec local    public
com2sec local   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

syslocation MyLocation
syscontact Me <>

Starting SNMPd

/etc/init.d/snmpd start
/sbin/rc-update add snmpd default

Adding the host

Adding the snmp host should go something similar to this (after clicking add host)

Checking the install

After saving you should be able to read the following at the top:
Image:Cacti snmp 2.png


Retrieved from ""

Last modified: Fri, 10 Oct 2008 00:57:00 +0000 Hits: 21,907