How To Install Cacti 0.8.7d..
How To Install Cacti 0.8.7d..
ِوَاﻟْﻌَﺼْﺮ
"Ngelmu iku kelakone kanthi laku…"
Pages
About
Angkringan
Downloads
Most Wanted Commands
My Desktop
tag
apache autoposting blank0n Cacti compiz compiz fusion Debian distro linux docs
edufiesta emulator error etc fedora flash freebsd game GNU/Linux Grub
install installasi iseng j2me Knoppix
java lenny Live CD Live USB Mail
monitoring tools mysql old post Opensuse php ps one remastering review server shock
Slackware slax software soundcard tips ubuntu Underground Unix Variant usb Web
server wireless
Debian Manual
Installation Guide
1 of 12 6/12/2010 8:43 AM
How to install Cacti 0.8.7d « ِوَاﻟْﻌَﺼْﺮ http://numpanglewat.wordpress.com/2009/05/26/how-to-install-cacti-0...
Darmanex
David
Digit Oktavianto
Dedhi Purnama
Dedy selalu Milisdad
Dobelden
Enggar
Gatra
Izharul Haq
jok3r
Karuwak
Mahyuddin Susanto
ordinareez
Rizki Nanda
Redy Basuki
ryan_oke
Terminallia Cattapa
Yuda Nugrahadi
indonesian reverser
antcode
keboaja
NeMeSiS_ByTe
orakanggo
race campus
2 of 12 6/12/2010 8:43 AM
How to install Cacti 0.8.7d « ِوَاﻟْﻌَﺼْﺮ http://numpanglewat.wordpress.com/2009/05/26/how-to-install-cacti-0...
Aat Shadewa
Ari Eko Prasetyo
Ari Eko Prasetyo dot net
Chatur Priyono
Hery kohimaru
Jovie
Rachmat Febrianto - blogger
Rachmat Febrianto
Royan quantro
Rhesa Mahendra
Rian 'Frankenstein' Sakti
Rudhy Hadri Suwandana
Sakti Banget
Tommyirawan
Toto Yulianto
Suwanto Raharjo
xx_user
Yossi
OSUG – JUG
Bernaz
Wilbert
Blogger
ardianzzz
Marion
Tutorial Site
open4energy.com
tech-db.com
wowtutorial.org
Top Posts
Short Attack
Penyelamatan Data yang terformat dengan Recovery Tools Easy Profesional v.6
Installing Debian Lenny from a USB memory stick (USB HDD)
How to install Cacti 0.8.7d
How to install Plugin Architecture Cacti and Mysql template for cacti
How to install poller cactid or spine on linux
How to install Postfix, UW IMAP and RoundCube webmail
Install apache, php5, and mysql on FreeBSD 7.2 using ports
LIVE USB, INSTALLATION, AND REMASTERING FINNIX
More faster acpi shutdown on Debian - Change your ACPI script
Last Post
Server was moved, goodbye wordpress
Tips sederhana setelah installasi solaris
Limited Upload max on your own directory apache
3 of 12 6/12/2010 8:43 AM
How to install Cacti 0.8.7d « ِوَاﻟْﻌَﺼْﺮ http://numpanglewat.wordpress.com/2009/05/26/how-to-install-cacti-0...
Cara membuat system FreeBSD 7.2 / 8.0 release ke stable pasca installasi
How to protect your page using mod authz host
How to Terminate, Suspend, and Continue a process using kill
Update package failed on ports FreeBSD
How to mount iso on FreeBSD
Implementation of social network for monitoring server via sms
Browser Google Chrome di Slackware ?? *sapa takuttt… halah*
blog stats
112,956 hits
seng nyangkut
3,072 spam comments
blocked by
Akismet
About Cacti
4 of 12 6/12/2010 8:43 AM
How to install Cacti 0.8.7d « ِوَاﻟْﻌَﺼْﺮ http://numpanglewat.wordpress.com/2009/05/26/how-to-install-cacti-0...
Cacti is a complete network graphing solution designed to harness the power of RRDTool’s data storage and
graphing functionality. Cacti provides a fast poller, advanced graph templating, multiple data acquisition
methods, and user management features out of the box. All of this is wrapped in an intuitive, easy to use
interface that makes sense for LAN-sized installations up to complex networks with hundreds of devices.
so, let’s do it :
in this experiment I use openSUSE 11. u can try on debian based or ubuntu. see this page for more info
At this point we’ll prepare web server dan database server. you can view how to install web server and database
server on here with indonesian language. But don’t worry, u can also see english version on this page.
you can check or make sure webserver(apache) and database server (mysql) installed on your machine. on open
suse 11 we can check apache with command:
and mysql
1 # yast2 -i php5-snmp
net-snmp-5.4.1-77.4
snmp-mibs-5.4.1-77.4
libsnmp15-5.4.1-77.4
php5-snmp-5.2.9-0.1
net-snmp-devel-5.4.1-77.4
check with rpm -qa | grep snmp to make sure like on list. if isn’t on list, u can install step by step list module.
3. Prepare rrdtool
at least, we’ve two way to install rrdtool. pls choose use binary. If rrdtool not recognized by cacti, u must
compile rrdtool from source.
we can type:
1 # yast2 -i rrdtool
rrdtool-1.2.27-22.1
rrdtool-devel-1.2.27-22.1
check with rpm -qa | grep rrdtool to make sure like on list. if isn’t on list, u can install step by step list module.
5 of 12 6/12/2010 8:43 AM
How to install Cacti 0.8.7d « ِوَاﻟْﻌَﺼْﺮ http://numpanglewat.wordpress.com/2009/05/26/how-to-install-cacti-0...
**NOTE**
Installing dependencies:
glib-2.15.4.tar.gz
cairo-1.6.4.tar.gz
pango-1.21.1.tar.bz2
1 # aclocal
2 # autoheader
3 # autoconf
4 # automake
5 # ./configure
6 # make
7 # make install
4. Installing Cacti
4.2. rename directory cacti-0.8.7d to cacti be simply use and change directory to it
1 # groupadd cacti
1 # passwd cactiuser
Now, Installing cacti database and make sure cacti user to have privileges
1 # mysql -u root -p
2 mysql> GRANT ALL ON cacti.* TO cactiuser@localhost IDENTIFIED BY ‘cactipassword’;
3 mysql> flush privileges;
6 of 12 6/12/2010 8:43 AM
How to install Cacti 0.8.7d « ِوَاﻟْﻌَﺼْﺮ http://numpanglewat.wordpress.com/2009/05/26/how-to-install-cacti-0...
1 # vi include/config.php
2 /* make sure these values refect your actual database/host/user/password */
3 $database_type = “mysql”;
4 $database_default = “cacti”;
5 $database_hostname = “localhost”;
6 $database_username = “cactiuser”;
7 $database_password = “cactipassword”;
8 $database_port = “3306";
1 # crontab -e
click next
7 of 12 6/12/2010 8:43 AM
How to install Cacti 0.8.7d « ِوَاﻟْﻌَﺼْﺮ http://numpanglewat.wordpress.com/2009/05/26/how-to-install-cacti-0...
choose net-snmp 5.x and rrdtool 1.2.x . i use 1.3 version. so, make sure version that’s true. and then click Finish
ok, just it . you can access now on example.com/cacti . use admin as user and admin as password. How to
create and manage cacti ?, you can see video on this page
Troubleshooting:
1. Socket Error
get the error:
Error
The following PHP extensions are missing:
* sockets
1 --enable-sockets
1 # yast2 -i php5-sockets
if it’s not resolve problem, you can recompile your php from source , googling
make sure your rrdtool can generate for graphic file. you can download rrd file on this directory . and try on
8 of 12 6/12/2010 8:43 AM
How to install Cacti 0.8.7d « ِوَاﻟْﻌَﺼْﺮ http://numpanglewat.wordpress.com/2009/05/26/how-to-install-cacti-0...
it will results:
SNMPv2-MIB::sysDescr.0 = STRING: Linux ddd.ssss.net 2.6.18-92.1.13.el5.028stab059.6 #1 SMP
Fri Nov 14 20:22:51 MSK 2008 i686
SNMPv2-MIB::sysObjectID.0 = OID: NET-SNMP-MIB::netSnmpAgentOIDs.10
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (53004148) 6 days, 3:14:01.48
SNMPv2-MIB::sysContact.0 = STRING: Sysadmin (root@localhost)
etc..
1 /usr/bin/php cacti/poller.php
Out of memory
cmiiw
Reference:
9 of 12 6/12/2010 8:43 AM
How to install Cacti 0.8.7d « ِوَاﻟْﻌَﺼْﺮ http://numpanglewat.wordpress.com/2009/05/26/how-to-install-cacti-0...
1. cacti.net
2. tech-db.com
3. groundworkopensource.com
4. forums.cacti.net
5. oss.oetiker.ch
6. gregsowell.com
This entry was posted on May 26, 2009 at 4:20 pm and is filed under Cacti, GNU/Linux, Opensuse, docs, monitoring tools, server, tips.
Tags: apache, Cacti, graphic cacti not show, monitoring tools, rrdtool, snmp
But it does not follow the install model of the Ubuntu/Debian distribution, in particular if you have done a
“sudo apt-get install cacti-cactid”, and installed Cacti 0.8.7b
I have build a tutorial specifically for Ubuntu/Debian, with custom extensions for managing energy
consumption by reading SNMP values from a PDU
See: http://www.open4energy.com/tutorials/virtualbox/cacti
Reply
deanet Says:
Reply
It is my pleasure.
We are hoping to build a reader community in which we, open source aware professionals,
actively innovate saving energy. I have reduced my home footprint by turning off my printer
when not used, I was amazed at what it used doing nothing!
I will have the forum for discussion on energy management using open source technology
open on Monday.
I hope you will register, and contribute any ideas you have.
10 of 12 6/12/2010 8:43 AM
How to install Cacti 0.8.7d « ِوَاﻟْﻌَﺼْﺮ http://numpanglewat.wordpress.com/2009/05/26/how-to-install-cacti-0...
Thanks for the reply, and there is a way you can help us.
We are hoping to build a reader community in which we, open source aware professionals, actively
innovate saving energy. I have reduced my home energy footprint in many ways, but the biggest was
turning off my printer when not used. I was amazed at what it used doing nothing!
I will be opening the forum for discussion on energy management using open source technology on
Monday.
I hope you will read and consider contributing if you have any ideas.
Reply
deanet Says:
Hi Alex, apologize for delay. your comment is going on to spam inbox. okay, i’ll add your link to
my blogroll for partnership, and please add also my link site to your site .. asap i;ll join your
community open4energy.com as reader or contributor
thanks ..
Reply
Nice article. Also, thanks for the linkage dude. I hope my tuts helped!
Reply
deanet Says:
Reply
4. Alex Says:
Thanks for the link, have done same on Cacti Ubuntu tutorial page: http://open4energy.com/tutorials
/virtualbox/cacti
Reply
deanet Says:
11 of 12 6/12/2010 8:43 AM
How to install Cacti 0.8.7d « ِوَاﻟْﻌَﺼْﺮ http://numpanglewat.wordpress.com/2009/05/26/how-to-install-cacti-0...
Reply
Leave a Reply
Name (required)
E-mail (required)
Website
12 of 12 6/12/2010 8:43 AM