Cacti requires:
MySQL 3.23 or newer.
extension_dir = c:/php/extensions
extension=php_snmp.dll
include_path=c:/apache/htdocs/cacti
register_globals = On
register_argc_argv = On
Make sure to replace c:/apache/htdocs/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
Make sure to replace c:/php/sapi/php4apache.dll with your full path to the php4apache.dll file.
extension_dir = c:/php/extensions
extension=php_snmp.dll
include_path=c:/inetpub/wwwroot/cacti
register_globals = On
register_argc_argv = On
Make sure to replace c:/inetpub/wwwroot/cacti with your full path to cacti.
net stop iisadmin
net start w3svc
C:\> cd Apache\htdocs\cacti
C:\Apache\htdocs\cacti> mysqladmin create cacti
C:\Apache\htdocs\cacti> mysql cacti < cacti.sql
C:\Apache\htdocs\cacti> mysql --user=root 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":
$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:\apache\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:/apache/htdocs