Basic Installation Cacti

Basic Installation Cacti

Update Debian
apt-get update && apt-get upgrade

Install Some Software tools
apt-get install binutils cpp fetchmail flex gcc libarchive-zip-perl libc6-dev libcompress-zlib-perl libdb4.3-dev libpcre3 libpopt-dev linux-kernel-headers lynx m4 make ncftp nmap openssl perl perl-modules unzip zip zlib1g-dev autoconf automake1.9 libtool bison autotools-dev g++

installing php package
apt-get install php5 php5-apache2-mod-bt php5-auth-pam php5-dev php5-mysql php5-odbc php5-snmp php5-xmlrpc php5-snmp php5-sqlite php5-gd php5-imap

installing mysql
apt-get install mysql-server mysql-client libmysqlclient15-dev
fery-deb:~# groupadd cacti
fery-deb:~# useradd -g cacti cactiuser
fery-deb:~# mysql
mysql> set password for root@localhost=password(‘fery123’);
mysql> create database cactidb;
mysql> grant all on cactidb.* to root;
mysql> grant all on cactidb.* to root@localhost;
mysql> grant all on cactidb.* to cactiuser;
mysql> grant all on cactidb.* to cactiuser@localhost;
mysql> set password for cactiuser@localhost=password(‘fery123’);
mysql> exit

Installing snmp

apt-get install snmp snmpd snmptrapfmt
fery-deb:~# dpkg -l | grep snmpd
ii snmpd 5.2.3-7etch4 NET SNMP (Simple Network Management Protocol
fery-deb:~#

testing snmp services command :
fery-deb:~# snmpwalk -v 1 -c comunity-name 10.10.2.200
atau
fery-deb:~# snmpwalk -v 1 -c public localhost

installing rrdtool
apt-get install rrdcollect rrdtool rrdtool-tcl
pastikan services rrdtools sudah terinstall
fery-deb:~# dpkg -l | grep rrdtool

Installing Cacti
apt-get install cacti cacti-cactid

pastikan passwod sama dengan mysql databases;
akses
http://servercacti/cacti

Login = admin with password default admin

setting paths
– RRDTool Binary Path < sesuai dengan path rrdtools nya. path yang lain biasanya default
Console -> Devices -> (Edit) UNTUK LOCALHOST
SNMP Community = public
SNMP Version = Version 1 << untuk Device lain sesuaikan dengan versi masing2x
pastikan >> SNMP Information (muncul informasi SNMP )

untuk menambah Device yang akan dimonitoring

Console -> Devices >> Add >>
– pastikan SNMP community sesuai dengan perangkat yang akan di monitoring
– Pastikan SNMP Version sesuai dengan perangkat yang akan di monitoring
– Jika Status sudah up brarti semuanya berjalan dengan normal

– Lihat Hasil Graphic dalam 5 menit biasanya sudah muncul atau bisa dicustome sendiri

Udah gitu aja basic instalasinya, kalo mau lebih advance dengan Addons nya lagi bisa exporing sendiri kan🙂

http://www.cacti.net

Thanks,

~ by feryjunaedi on May 28, 2009.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: