It is the second day that i try to run cacti without result !!
I'm under Xp pro with snmp enable.
I use easy php (apache 1.3.27/php 4.3.3/mysql 4.0.15/phpmyadmin 2.5.3) + perl + rrdtool.
i set up the database and the weberserver with php (snmp extansion). It runs fine.
I edit cacti config.php :
Code: Select all
/* make sure these values refect your acual database/host/user/password */
$database_type = "mysql";
$database_default = "cacti";
$database_hostname = "localhost";
$database_username = "cactiuser";
$database_password = "cacti";
/* this should be auto-detected, set it manually if needed */
$config["cacti_server_os"] = "win32";
/* built-in snmp support */
$config["php_snmp_support"] = function_exists("snmpget");
/* used for includes */
$config["base_path"] = ereg_replace("(.*)[\/\\]include", "\\1", dirname(__FILE__));
$config["library_path"] = ereg_replace("(.*[\/\\])include", "\\1lib", dirname(__FILE__));
$config["include_path"] = dirname(__FILE__);
/* colors */
$colors["dark_outline"] = "454E53";...............
..................
$colors["form_alternate2"] = "E5E5E5";
if ((isset($no_http_headers) ? $no_http_headers : false) != true) {
/* we don't want these pages cached */
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
/* initilize php session */
session_start();
}
I create some graphs. THEY ARE ALL EMPTY !! I see the background of the image but no data (cpu, ram, interface : nothing).
I try to run manually php c:\www\cacti\cmd.php :
How to check if cmd.php collects data ?? How to resolve this mess ?
(i can provide screenshots )
thx