Saturday, 18 April 2015

Cara Instal Cacti

http://localhost/xampp/index.php

2014.poller_output   repair  warning  Number of rows changed from 252 to 72
-cacti-0.8.7g
-cacti-spine-0.8.7g

-----------------------------------------
#Windows System PATH environment variable:
PATH : D:\xampp\php
PATH : D:\xampp\Cygwin\bin
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;D:\xampp\php;D:\xampp\Cygwin\bin
PHPRC : D:\xampp\php
MIBDIRS : D:\xampp\php\extras\mibs
-----------------------------------------
#Rename the file D:\xampp\php\php.ini.dist to php.ini
>>
extension_dir = D:\xampp\php\ext
extension=php_mysql.dll
extension=php_snmp.dll
extension=php_sockets.dll
cgi.force_redirect = 0
-----------------------------------------
#Apache 2.x and PHP 5, Edit D:\xampp\apache\conf\httpd.conf
>>
LoadModule php5_module D:\xampp\php\php5apache2.dll
AddType application/x-httpd-php .php
DirectoryIndex index.html index.htm index.php
-----------------------------------------
#Install Cygwin (optional)
>> D:\xampp\Cygwin
>> 460m ftp%3a%2f%2fftp.univie.ac.at%2fpackages%2fcygwin%2f
Base (include all items)
Libs libart_lgpl
libfreetype26
libpng12
zlib
openssl
Utils patch
Web wget
#Move setup.exe to D:\xampp\Cygwin
-----------------------------------------
#Install RRDTool
>> Extract the RRDTool D:\xampp\rrdtool\rrdtool.exe
>>rrdtool-1.2.13-cygwin-1.5.19
>>rrdtool-1.4.3.tar
-----------------------------------------
#Install Net-SNMP
>>net-snmp-5.5.0-1.x86
>>D:\xampp\net-snmp
-----------------------------------------
#Install Spine
>>Extract cacti-spine-0.8.7g >>D:\xampp\htdocs\cacti-spine
spine.conf
>>
DB_Host 127.0.0.1 or hostname (not localhost)
DB_Database cacti
DB_User cactiuser
DB_Password cactiuser
DB_Port 3306
>>
remove all the DLL files and sh.exe  from the D:\xampp\htdocs\cacti
-----------------------------------------
#Configure Cacti
D:\xampp\htdocs\cacti\include\config.php
>>
$database_type = "mysql";
$database_default = "cacti";
$database_hostname = "localhost";
$database_username = "cactiuser";
$database_password = "cacti";
$database_port = "3306";
-----------------------------------------
#Scheduled Tasks
run D:\xampp\php\php.exe D:\xampp\htdocs\2014\poller.php
start D:\xampp\php D:\xampp\htdocs\2014
=====================================================
FONT
C:/WINDOWS/Fonts/GOTHICI.TTF
C:/WINDOWS/Fonts/georgia.ttf
-------------------------------
QT-org |host_description| - Traffic - |query_qtName| (|query_qtMark|)
|host_description| - Traffic - |query_qtName| (qt)

No comments:

Post a Comment