Cacti is a complete frontend to rrdtool, it stores all of the necessary information to create graphs and populates them with data in a MySQL database. The frontend is completely PHP driven. Along with being able to maintain Graphs, Data Sources, and Round Robin Archives in a database, cacti handles the data gathering also. There is also SNMP support for those used to creating traffic graphs with MRTG.
27 lines
913 B
Text
27 lines
913 B
Text
===========================================================================
|
|
$NetBSD: MESSAGE,v 1.1.1.1 2008/09/27 18:08:40 pettai Exp $
|
|
|
|
cacti is now installed.
|
|
|
|
To get cacti up and running asap, you have to complete these steps:
|
|
|
|
- Configure your webserver for cacti
|
|
- Configure mysql and add a cacti database
|
|
|
|
mysql> CREATE DATABASE cacti;
|
|
mysql> GRANT ALL PRIVILEGES ON cacti.* TO 'cactiuser'@'localhost'
|
|
-> IDENTIFIED BY 'cactiuser';
|
|
|
|
- Add the cacti database layout (${CACTIDIR}/cacti.sql)
|
|
|
|
shell> mysql [-p] cacti < cacti.sql
|
|
|
|
- Add the following lines to ${CACTI_USER}'s crontab...
|
|
|
|
# Invoke poller.php to collect snmp-statistics
|
|
*/5 * * * * php ${CACTIDIR}/poller.php > ${LOGDIR}/poller.log 2>&1
|
|
|
|
Please read the included README (${CACTIDIR}/docs/README) file,
|
|
for more information about configuring and starting cacti.
|
|
|
|
===========================================================================
|