This HOWTO describes setting up a dedicated linux server for SNMP management. The setup is based on Cacti.
One quick yum line will get everything we need.
> yum install cacti 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.
Now we need to create the database tables.
> mysql -p -u root cactidb < /usr/share/doc/cacti-0.8.6j/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