Cacti requires:
MySQL 3.23 or newer.
http://www.mysql.com/downloads/mysql-3.23.html mysql-3.23.56-win.zip
extension_dir = c:/php/extensions
extension=php_snmp.dll
session.save_path=c:\tmp
Make sure to replace c:/webroot/cacti with your full path to cacti.
LoadModule php4_module c:/php/sapi/php4apache.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php
DirectoryIndex index.html index.htm index.php
LoadModule php4_module c:\php\sapi\php4apache2.dll
AddType application/x-httpd-php .php
DirectoryIndex index.html index.htm index.php
net stop iisadmin
net start w3svc
C:\> cd mysql\bin
C:\MySQL\bin> mysqladmin password 'password'
C:\MySQL\bin> mysqladmin --user=root --password reload
C:\MySQL\bin> mysqladmin --user=root --password create cacti
C:\MySQL\bin> mysql --user=root --password cacti < c:\apache2\htdocs\cacti\cacti.sql
C:\MySQL\bin> mysql --user=root --password mysql
mysql> GRANT ALL ON cacti.* TO cactiuser@localhost IDENTIFIED BY 'somepassword';
mysql> flush privileges;
Specify the MySQL user, password and database for your cacti configuration.
$database_default = "cacti";
$database_hostname = "localhost";
$database_username = "cactiuser";
$database_password = "cacti";
Change the operating system variable to "win32" (already done for win32 distribution):
$config["cacti_server_os"] = "win32";
You are going to have to enter the full command line in the Run textbox. Using default paths, your command line should look something like:
c:\php\php.exe c:\apache2\htdocs\cacti\cmd.php
Select the Schedule tab and click Advanced. Check the Repeat task checkbox and change it to every 5 minutes, then change the Duration to 24 hours. That should schedule cmd.php to run every 5 minutes.
http://your-server/cacti/
Log in the with a username/password of admin. You will be required to change this password immediatly. Using the default paths described in this document, your paths should look something like:
PHP Binary Path:
c:/php/php.exe
rrdtool Binary Path:
c:/rrdtool/rrdtool.exe
cacti Web Root:
/cacti
Apache Web Root:
c:/apache2/htdocs