This HOWTO describes setting up a dedicated linux server for SNMP management. The setup is based on Cacti.
Get the snmp utils.
> yum install net-snmp-utils
The apache config file for cacti only allows connections from the local host. We want to allow connections from the local network. Edit cacti.conf all access from the local network.
> nano -w /etc/httpd/conf.d/cacti.conf
Next we need to setup some basic mysql settings.
> /usr/bin/mysql -p -u root
mysql> create database cactidb;
mysql> grant all on cactidb.* to root;
mysql> grant all on cactidb.* to root@localhost;
mysql> grant all on cactidb.* to cactiuser;
mysql> grant all on cactidb.* to cactiuser@localhost;
mysql> set password for cactiuser@localhost=password('cactipass');
mysql> exit;
Now edit /usr/share/cacti/include/db.php and enter your database information.
We need the tar file of cacti. The rpm did not include cacti.sql.
> wget http://www.cacti.net/downloads/cacti-0.8.6h.tar.gz
> tar -xzvf cacti-0.8.6h.tar.gz
Change into the cacti directory and execute the following.
/usr/bin/mysql -p -u root cactidb < cacti.sql
Now load up the cacti web page and follow the instructions.
That's the complete setup. Be sure to read the documentation at the cacti website.
cacti - http://www.cacti.net