Archive for the 'Cacti' Category

Monday, November 3rd, 2008

1. Checking for cacti location and see db setting.
monitor# pwd
/usr/local/share/cacti/include
see setting dbnya.
monitor# cat db-settings.php
<?php
/* make sure these values refect your actual database/host/user/password */
$database_type = “mysql”;
$database_default = “cacti”;
$database_hostname = “localhost”;
$database_username = “cacti”;
$database_password = “cacti”;
$database_port = “3306″;
?>
2. Enter database with information taken from db-settings.php information.
monitor# mysql -ucacti -p
Enter password:
Welcome to the MySQL monitor.  Commands end […]