pkgsrc/net/cacti/MESSAGE
tez b74824bd91 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.

The Plugin Architecture for Cacti was designed to be both simple in nature
and robust enough to allow freedom to do almost anything in Cacti.  The
Plugin Architecture for Cacti is integrated into this package.

(created from wip/cacti by pettai)
2011-11-22 22:23:13 +00:00

47 lines
1.5 KiB
Text

===========================================================================
$NetBSD: MESSAGE,v 1.1.1.1 2011/11/22 22:23:13 tez Exp $
cacti is now installed.
To get cacti up and running asap, you have to complete these steps:
- Install & Configure mysql-server
- Add a cacti database and cactiuser user to mysql
mysql> CREATE DATABASE cacti;
mysql> GRANT ALL PRIVILEGES ON cacti.* TO 'cactiuser'@'localhost'
-> IDENTIFIED BY 'cactiuser';
- Add the cacti database layout (${CACTIDIR}/cacti.sql) to mysql
shell> mysql [-p] cacti < ${CACTIDIR}/cacti.sql
- Add a symlink from ${CACTIDIR}/scripts/local_memory.pl to the appropriate
*_memory.pl script (or create one if none for your OS exists)
shell> ln -s ${CACTIDIR}/scripts/netbsd_memory.pl \
${CACTIDIR}/scripts/local_memory.pl
- Install & Configure an apache webserver
- If you have not already done so, add these lines to enable php extensions
required by cacti in ${PKG_SYSCONFBASE}/etc/php.ini
extension=mysql.so
extension=snmp.so
extension=sockets.so
- Append this to apache's httpd.conf and restart apache
Include etc/httpd/httpd-cacti.conf
- Add the following lines to ${CACTI_USER}'s crontab
# Invoke poller.php to collect snmp-statistics
*/5 * * * * ${PREFIX}/bin/php ${CACTIDIR}/poller.php > ${CACTI_LOGDIR}/poller.log 2>&1
Please read the included README (${CACTIDIR}/docs/README) file,
for more information about configuring and starting cacti.
===========================================================================