SlideShare a Scribd company logo
1 of 7
Download to read offline
Installing Cacti on CentOS 5 | Linux.com                                           http://www.linux.com/community/blogs/installing-cacti-on-centos-5.html



          Linux Foundation     Training    Events   Video    More



                                                                                  search linux.com

                                                                             Try our NEW BETA Search!


           Home         News              Linux Community           Learn Linux    Directory       Jobs       Store       Video



             Home        Linux Community                  Community Blogs          Installing Cacti on CentOS 5



                Home           Tags         Search          Feed

              Linux.com Blog Entries
              For the community by the community


              Installing Cacti on CentOS 5
              Posted by: Ross Larson on August 14 2009
              Tagged in: Untagged


                   0   tweet

                        Like        4 people like this.




                                      Cacti is a GPL-licensed, scalable, RRDtool-based monitoring program with flexible
                                      graphing options. This article describes the process of installing and configuring Cacti
                                      on CentOS 5.2.


                                      Useful links to this installation were BXtra and TechDB.


                                      Per the Cacti documentation, Cacti requires:

                                      RRDTool 1.0.49 or 1.2.x or greater

             MySQL 4.1.x or 5.x or greater


             PHP 4.3.6 or greater, 5.x greater highly recommended for advanced features                                             Latest Blog Posts

             A Web Server e.g. Apache or IIS                                                                                       A Unity-Inspired "Dock"
                                                                                                                                   dixiedancer
             I'd also recommend installing vim, net-snmp, net-snmp-utils, php-snmp, initscripts, perl-rrdtool, and any
             dependencies.                                                                                                         Man vs Machine: Virtuali
                                                                                                                                   ... by RSims
             To perform this install, I am logged into Gnome as a normal user, and opened a terminal that is switched to
                                                                                                                                   openSUSE Weekly New
             the root user using the su command. I had already installed apache, mysql, and PHP during the original
                                                                                                                                   saigkill
             install process of CentOS 5.2.
                                                                                                                                   Two Years on Linux: Les
             I added a new repository to facilitate this install. To do this, I created a file                                     dixiedancer
             (/etc/yum.repos.d/dag.repo) containing Dag Wiers repository, which contains rrdtool, among other
             things.                                                                                                               Convert ext2 to ext3 file s
                                                                                                                                   blueprintlinux




1 de 7                                                                                                                                    22/7/2011 11:40
Installing Cacti on CentOS 5 | Linux.com                                          http://www.linux.com/community/blogs/installing-cacti-on-centos-5.html


             [dag] name=Dag RPM Repository for Red Hat Enterprise Linux
             baseurl=http://apt.sw.be/redhat/el5/en/i386/dag gpgcheck=1
             gpgkey=http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt enabled=1




             You can create this file by typing vim /etc/yum.repos.d/dag.repo and copying and pasting the
             above information into the file. Be warned that the above text containing the repository is version and                      Find out more a
             architecture-specific.

             I then typed yum update to update CentOS and the repository list before installing additional software.               Blog Categories

             I installed everything but cacti through yum. You can verify that you have the packages in question (or the               Business (or Enter
             version numbers of installed packages) by attempting to install them, as yum will remind you that you already             Desktops (87)
             have the latest version installed, as well as the version status of the packages, like shown here:                        Distributions (155)
                                                                                                                                       General Linux (125
             # yum install php httpd mysql mysql-server php-mysql vim-enhanced net-snmp net-snmp-utils php-snmp
                                                                                                                                       Mobile (38)
             initscripts perl-rrdtool rrdtool initscripts
                                                                                                                                       Personal (131)
             Loaded plugins: fastestmirror, priorities
                                                                                                                                       Servers (59)
             Loading mirror speeds from cached hostfile
             * base: pubmirrors.reflected.net
             * updates: mirror.fdcservers.net
                                                                                                                                   Blog Archive
             * addons: chi-10g-1-mirror.fastsoft.net
             * extras: mirror.fdcservers.net                                                                                           July 2011
             Setting up Install Process                                                                                                June 2011
             Parsing package install arguments                                                                                         May 2011
             Package php-5.1.6-23.2.el5_3.i386 already installed and latest version                                                    April 2011
             Package httpd-2.2.3-22.el5.centos.1.i386 already installed and latest version                                             March 2011
             Package mysql-5.0.45-7.el5.i386 already installed and latest version                                                      February 2011
             Package mysql-server-5.0.45-7.el5.i386 already installed and latest version                                               January 2011
             Package php-mysql-5.1.6-23.2.el5_3.i386 already installed and latest version                                              December 2010
             Package 2:vim-enhanced-7.0.109-4.el5_2.4z.i386 already installed and latest version                                       November 2010
             Package 1:net-snmp-5.3.2.2-5.el5_3.1.i386 already installed and latest version                                            October 2010
             Package 1:net-snmp-utils-5.3.2.2-5.el5_3.1.i386 already installed and latest version                                      September 2010
             Package php-snmp-5.1.6-23.2.el5_3.i386 already installed and latest version                                               August 2010
             Package initscripts-8.45.25-1.el5.centos.i386 already installed and latest version                                        July 2010
             Package perl-rrdtool-1.3.7-1.el5.rf.i386 already installed and latest version                                             June 2010
             Package rrdtool-1.3.7-1.el5.rf.i386 already installed and latest version                                                  May 2010
             Package initscripts-8.45.25-1.el5.centos.i386 already installed and latest version                                        April 2010
             Nothing to do                                                                                                             March 2010
                                                                                                                                       February 2010
                                                                                                                                       January 2010
                                                                                                                                       December 2009
             Download the latest version of Cacti (0.8.7e, as of the writing of this article) from here. I downloaded it to my         November 2009
             desktop and unzipped it by right clicking it and selecting "Extract here". I also renamed the cacti-0.8.7e                October 2009
             directory by right clicking and selecting "Rename". You could do this in the command line, if you wanted to:              September 2009
                                                                                                                                       August 2009
             [your root shell] # tar xzvf cacti-0.8.7e.tar.gz
                                                                                                                                       July 2009
             [your root shell] # mv cacti-0.8.7e cacti
                                                                                                                                       June 2009
             Move the entire cacti directory to /var/www/html/ :                                                                       May 2009
                                                                                                                                       April 2009
             [your root shell] # mv cacti /var/www/html
                                                                                                                                       August 2008
             I chose to create a 'cactiuser' user (and cacti group) to run cacti commands and to have ownership of the                 June 2008
             relavent cacti files. It was here that I noticed that my install did not have any of the /sbin directories in its
             $PATH , so I simply typed the absolute path:

             [your root shell] # /usr/sbin/groupadd cacti




2 de 7                                                                                                                                  22/7/2011 11:40
Installing Cacti on CentOS 5 | Linux.com                                         http://www.linux.com/community/blogs/installing-cacti-on-centos-5.html


             [your root shell] # /usr/sbin/useradd -g cacti cactiuser
                                                                                                                                  Linux Jobs
             [your root shell] # passwd cactiuser
                                                                                                                                  Test Analyst - Java, L
             Change the ownership of the /var/www/html/cacti/rra/ and /var/www/html/cacti/log/                                    HiTech Personnel A d
             directories to the cactiuser we just created:                                                                        Australia

             [your root shell] # cd /var/www/html/cacti                                                                           Systems Engineer Lin
             [your root shell] # chown -R cactiuser rra/ log/                                                                     Vantage, Sydney, Syd

                                                                                                                                  Senior Systems Engin
             Create a mysql root password, if you haven't already (password in this example is samplepass:                        Talent International, S
             [your root shell] # /usr/bin/mysqladmin -u root password samplepass
                                                                                                                                  QA/Test Engineer - Li
                                                                                                                                  iKas International, Sy
             Create a MySQL database for cacti:
                                                                                                                                  Systems Engineer Lin
             [your root shell] # mysqladmin --user=root --password=samplepass create cacti                                        Vantage, Sydney, Syd

                                                                                                                                  More jobs | Post a job
             Change directories to the cacti directory, and use the cacti.sql file to create tables for your database:


             [your root shell] # cd /var/www/html/cacti
             [your root shell- cacti] # mysql --user=root --password=samplepass cacti <
             cacti.sql




             I also created a MySQL username and password for Cacti:

             [your root shell] # mysql --user=root --password=samplepass
             Welcome to the MySQL monitor. Commands end with ; or g.
             Your MySQL connection id is 28
             Server version: 5.0.45 Source distribution


             Type 'help;' or 'h' for help. Type 'c' to clear the buffer.

             mysql> GRANT ALL ON cacti.* TO cactiuser@localhost IDENTIFIED BY 'samplepass';
             Query OK, 0 rows affected (0.00 sec)


             mysql> flush privileges;
             Query OK, 0 rows affected (0.00 sec)


             mysql> exit
             Bye


             Edit /var/www/html/cacti/include/config.php with your favorite editor, and update the
             information to reflect our cacti configuration (you can leave the other text in the file alone):

             /* make sure these values refect your actual database/host/user/password */
             $database_type = "mysql";
             $database_default = "cacti";
             $database_hostname = "localhost";
             $database_username = "cactiuser";
             $database_password = "samplepass";
             $database_port = "3306";

             Create a cron job that polls for information for Cacti (I'm choosing to use /etc/crontab here):




3 de 7                                                                                                                                 22/7/2011 11:40
Installing Cacti on CentOS 5 | Linux.com                                     http://www.linux.com/community/blogs/installing-cacti-on-centos-5.html




             [your root shell] # vim /etc/crontab




             Add this line to your crontab:


                  */5 * * * * cactiuser /usr/bin/php /var/www/html/cacti/poller.php >
                  /dev/null 2>&1


             Edit your PHP config file at /etc/php.ini to allow more memory usage for Cacti. It is a relatively large text
             file- using vim, I search for "memory_limit" by typing /memory_limit in command mode.

             [your root shell] # vim /etc/php.ini
             I changed memory_limit = 8M to memory_limit = 128M

             Before I check to see if Cacti works, I want to check and see if mysqld and httpd are running using the
             service command.

             [your root shell] # /sbin/service mysqld status
             [your root shell] # /sbin/service httpd status


             If mysqld and httpd are running, great. If not, type:

             [your root shell] # /sbin/service mysqld start
             [your root shell] # /sbin/service httpd start

             If you're an "I need to see what the output looks like" type, here is an example of the previous command:

             [your root shell] # /sbin/service mysqld status
             mysqld is stopped
             [your root shell] # /sbin/service mysqld start
             Initializing MySQL database: Installing MySQL system tables...
             OK
             Filling help tables...
             OK


             To start mysqld at boot time you have to copy
             support-files/mysql.server to the right place for your system


             PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
             To do so, start the server, then issue the following commands:
             /usr/bin/mysqladmin -u root password 'new-password'
             /usr/bin/mysqladmin -u root -h localhost.localdomain password 'new-password'
             See the manual for more instructions.
             You can start the MySQL daemon with:
             cd /usr ; /usr/bin/mysqld_safe &


             You can test the MySQL daemon with mysql-test-run.pl
             cd mysql-test ; perl mysql-test-run.pl


             Please report any problems with the /usr/bin/mysqlbug script!


             The latest information about MySQL is available on the web at
             http://www.mysql.com
             Support MySQL by buying support/licenses at http://shop.mysql.com
             [ OK ]
             Starting MySQL: [ OK ]




4 de 7                                                                                                                             22/7/2011 11:40
Installing Cacti on CentOS 5 | Linux.com                                          http://www.linux.com/community/blogs/installing-cacti-on-centos-5.html




             You should now be able to access cacti at http://localhost/cacti from the local computer or from any computer
             within your LAN network at http://your.internal.IP.address/cacti .


             There should be a Cacti Installation Guide window that shows up, giving licensing info and the like. Click
             "Next".

             Select "New Installation", since this is a new installation.


             The next window to pop up should tell you whether Cacti could find the paths to all of the elements that Cacti
             needs to run, such as RRDtool, PHP, snmp stuff, etc. If everything but Cacti was installed via yum, you
             should be good here. Click "Finish" to save the settings and bring up the login window.


             Below is a screenshot of the login window. The default user name is admin. The default password is admin.
             It should prompt an automatic password change for the admin account when you log in the first time.




             If you successfully log in, I'd recommend taking a break here. Depending on how fast you are, your cron job
             may not have had enough time to run the poller program and create data for your graphs. I'd suggest taking a
             deep breath, or brewing a cup of tea (or coffee) for yourself.


             The localhost machine should have some graph templates that are already created, but you can click the
             "Create Additional Devices" link to add graphs for any other machines on your network. I added my FreeNAS
             box (tutorial for that to follow).


             After having consumed your beverage of choice, press the "Graphs" button. Cacti should have a graph
             showing you a couple minutes of data for the machines you have added. The longer your machine is on, the
             more informational the graphs will be. Also, if you click on a particular graph, Cacti will Congratulations!
             You're now monitoring!

             View the Cacti documentation page for more information on how to take advantages of Cacti.


             Below are some graphs that were made using Cacti.




5 de 7                                                                                                                                  22/7/2011 11:40
Installing Cacti on CentOS 5 | Linux.com                                     http://www.linux.com/community/blogs/installing-cacti-on-centos-5.html




             Visit zootlinux.blogspot.com for more blog posts!

                                                                                                           Report Spam

                                                                          Email this      Share This        Set as favorite


             Comments (3)
                 Subscribe to this comment's feed

                Show/hide comments

             Thanks - few corrections
             written by Steven Kenney, September 15, 2009
             Thanks for this excellent article. I do have a few corrections for you to make though     Following
             your instructions directly didn't work.


             To grant permission to the database we need to change this
             GRANT ALL ON cacti.* TO cactiuser@localhost IDENTIFIED BY 'cacti';
             to this
             GRANT ALL ON cacti.* TO cactiuser@localhost IDENTIFIED BY 'SAMPLEPASS';

             Meaning we put the wrong password in there as cacti was not the password recommended in the




6 de 7                                                                                                                             22/7/2011 11:40
Installing Cacti on CentOS 5 | Linux.com                                        http://www.linux.com/community/blogs/installing-cacti-on-centos-5.html


             include.php


             also you could do without one MV on this


             [your root shell] # mv mv cacti /var/www/html


             Also need to point out that mysqld needed to be started ahead of time before you could do some of these
             configuration changes. So it was already started.
                                                                                                                    +1


             ...
             written by Ross Larson, September 15, 2009
             Good catch! You are correct that 'cacti' should have been 'samplepass', and 'mv' should have only
             appeared once, as such:
             [your root shell] # mv cacti /var/www/html


             I fell victim to some sloppy copying from my terminal there. Sorry about that!

             I have updated the article to reflect the correct information. Thank you for the reply!
                                                                                                                    +0


             ...
             written by Ross Larson, September 15, 2009
             You are also correct that mysqld should be running when you call the service command. I stopped
             mysqld specifically to show what the output would look like if for some crazy reason it wasn't on.
                                                                                                                    -1




             Write comment
                   Show/hide comment form


             You must be logged in to post a comment. Please register if you do not have an account yet.




          WHO WE ARE ?                                    EXPLORE                                      STAY CURRENT


          The Linux Foundation is a non-profit            Answers                                      Netbooks
          consortium dedicated to the growth of
                                                          Blogs                                        Cloud Computing
          Linux.
                                                          Forums                                       Enterprise
          More About the foundation...
                                                          Directory                                    Embedded & Mobile
          Frequent Questions

          Join / Linux Training / Board




                                   Copyright © 2011 Linux.com. All Rights Reserved. Linux.com.




7 de 7                                                                                                                                22/7/2011 11:40

More Related Content

What's hot

Simplify and run your development environments with Vagrant on OpenStack
Simplify and run your development environments with Vagrant on OpenStackSimplify and run your development environments with Vagrant on OpenStack
Simplify and run your development environments with Vagrant on OpenStackB1 Systems GmbH
 
Digital RSE: automated code quality checks - RSE group meeting
Digital RSE: automated code quality checks - RSE group meetingDigital RSE: automated code quality checks - RSE group meeting
Digital RSE: automated code quality checks - RSE group meetingHenry Schreiner
 
Arbeiten mit distribute, pip und virtualenv
Arbeiten mit distribute, pip und virtualenvArbeiten mit distribute, pip und virtualenv
Arbeiten mit distribute, pip und virtualenvMarkus Zapke-Gründemann
 
開放運算&GPU技術研究班
開放運算&GPU技術研究班開放運算&GPU技術研究班
開放運算&GPU技術研究班Paul Chao
 
Software Packaging for Cross OS Distribution
Software Packaging for Cross OS DistributionSoftware Packaging for Cross OS Distribution
Software Packaging for Cross OS DistributionJian-Hong Pan
 
Ansible ex407 and EX 294
Ansible ex407 and EX 294Ansible ex407 and EX 294
Ansible ex407 and EX 294IkiArif1
 
图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库
图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库
图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库maclean liu
 
A Journey to Boot Linux on Raspberry Pi
A Journey to Boot Linux on Raspberry PiA Journey to Boot Linux on Raspberry Pi
A Journey to Boot Linux on Raspberry PiJian-Hong Pan
 
DCSF19 Tips and Tricks of the Docker Captains
DCSF19 Tips and Tricks of the Docker Captains  DCSF19 Tips and Tricks of the Docker Captains
DCSF19 Tips and Tricks of the Docker Captains Docker, Inc.
 
Drupal in Libraries
Drupal in LibrariesDrupal in Libraries
Drupal in LibrariesCary Gordon
 
Docker - container and lightweight virtualization
Docker - container and lightweight virtualization Docker - container and lightweight virtualization
Docker - container and lightweight virtualization Sim Janghoon
 
Running hadoop on ubuntu linux
Running hadoop on ubuntu linuxRunning hadoop on ubuntu linux
Running hadoop on ubuntu linuxTRCK
 
Introduction and Deep Dive Into Containerd
Introduction and Deep Dive Into ContainerdIntroduction and Deep Dive Into Containerd
Introduction and Deep Dive Into ContainerdKohei Tokunaga
 
Kernel Recipes 2019 - Kernel documentation: past, present, and future
Kernel Recipes 2019 - Kernel documentation: past, present, and futureKernel Recipes 2019 - Kernel documentation: past, present, and future
Kernel Recipes 2019 - Kernel documentation: past, present, and futureAnne Nicolas
 
Linux Container Basics
Linux Container BasicsLinux Container Basics
Linux Container BasicsMichael Kehoe
 
An example Hadoop Install
An example Hadoop InstallAn example Hadoop Install
An example Hadoop InstallMike Frampton
 
Check the version with fixes. Link in description
Check the version with fixes. Link in descriptionCheck the version with fixes. Link in description
Check the version with fixes. Link in descriptionPrzemyslaw Koltermann
 
Out of the box replication in postgres 9.4
Out of the box replication in postgres 9.4Out of the box replication in postgres 9.4
Out of the box replication in postgres 9.4Denish Patel
 

What's hot (19)

Simplify and run your development environments with Vagrant on OpenStack
Simplify and run your development environments with Vagrant on OpenStackSimplify and run your development environments with Vagrant on OpenStack
Simplify and run your development environments with Vagrant on OpenStack
 
Digital RSE: automated code quality checks - RSE group meeting
Digital RSE: automated code quality checks - RSE group meetingDigital RSE: automated code quality checks - RSE group meeting
Digital RSE: automated code quality checks - RSE group meeting
 
Arbeiten mit distribute, pip und virtualenv
Arbeiten mit distribute, pip und virtualenvArbeiten mit distribute, pip und virtualenv
Arbeiten mit distribute, pip und virtualenv
 
開放運算&GPU技術研究班
開放運算&GPU技術研究班開放運算&GPU技術研究班
開放運算&GPU技術研究班
 
Software Packaging for Cross OS Distribution
Software Packaging for Cross OS DistributionSoftware Packaging for Cross OS Distribution
Software Packaging for Cross OS Distribution
 
Ansible ex407 and EX 294
Ansible ex407 and EX 294Ansible ex407 and EX 294
Ansible ex407 and EX 294
 
Rac on NFS
Rac on NFSRac on NFS
Rac on NFS
 
图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库
图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库
图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库
 
A Journey to Boot Linux on Raspberry Pi
A Journey to Boot Linux on Raspberry PiA Journey to Boot Linux on Raspberry Pi
A Journey to Boot Linux on Raspberry Pi
 
DCSF19 Tips and Tricks of the Docker Captains
DCSF19 Tips and Tricks of the Docker Captains  DCSF19 Tips and Tricks of the Docker Captains
DCSF19 Tips and Tricks of the Docker Captains
 
Drupal in Libraries
Drupal in LibrariesDrupal in Libraries
Drupal in Libraries
 
Docker - container and lightweight virtualization
Docker - container and lightweight virtualization Docker - container and lightweight virtualization
Docker - container and lightweight virtualization
 
Running hadoop on ubuntu linux
Running hadoop on ubuntu linuxRunning hadoop on ubuntu linux
Running hadoop on ubuntu linux
 
Introduction and Deep Dive Into Containerd
Introduction and Deep Dive Into ContainerdIntroduction and Deep Dive Into Containerd
Introduction and Deep Dive Into Containerd
 
Kernel Recipes 2019 - Kernel documentation: past, present, and future
Kernel Recipes 2019 - Kernel documentation: past, present, and futureKernel Recipes 2019 - Kernel documentation: past, present, and future
Kernel Recipes 2019 - Kernel documentation: past, present, and future
 
Linux Container Basics
Linux Container BasicsLinux Container Basics
Linux Container Basics
 
An example Hadoop Install
An example Hadoop InstallAn example Hadoop Install
An example Hadoop Install
 
Check the version with fixes. Link in description
Check the version with fixes. Link in descriptionCheck the version with fixes. Link in description
Check the version with fixes. Link in description
 
Out of the box replication in postgres 9.4
Out of the box replication in postgres 9.4Out of the box replication in postgres 9.4
Out of the box replication in postgres 9.4
 

Viewers also liked

Postfix amavisd connect to 127.0.0.1[127.0.0.1]-10024_ connection refused _...
Postfix amavisd   connect to 127.0.0.1[127.0.0.1]-10024_ connection refused _...Postfix amavisd   connect to 127.0.0.1[127.0.0.1]-10024_ connection refused _...
Postfix amavisd connect to 127.0.0.1[127.0.0.1]-10024_ connection refused _...Carlos Eduardo
 
Additional resources repositories_rpm_forge - centos wiki
Additional resources repositories_rpm_forge - centos wikiAdditional resources repositories_rpm_forge - centos wiki
Additional resources repositories_rpm_forge - centos wikiCarlos Eduardo
 
Migrate linux user password to postfix vmail database
Migrate linux user password to postfix vmail databaseMigrate linux user password to postfix vmail database
Migrate linux user password to postfix vmail databaseCarlos Eduardo
 
Iptables bridging and firewalling
Iptables bridging and firewallingIptables bridging and firewalling
Iptables bridging and firewallingCarlos Eduardo
 
Alberta skills network 3 22-10[1]
Alberta skills network 3 22-10[1]Alberta skills network 3 22-10[1]
Alberta skills network 3 22-10[1]affinitygroup
 
Configuração dns memorial descritivo
Configuração dns   memorial descritivoConfiguração dns   memorial descritivo
Configuração dns memorial descritivoCarlos Eduardo
 

Viewers also liked (8)

Postfix amavisd connect to 127.0.0.1[127.0.0.1]-10024_ connection refused _...
Postfix amavisd   connect to 127.0.0.1[127.0.0.1]-10024_ connection refused _...Postfix amavisd   connect to 127.0.0.1[127.0.0.1]-10024_ connection refused _...
Postfix amavisd connect to 127.0.0.1[127.0.0.1]-10024_ connection refused _...
 
Additional resources repositories_rpm_forge - centos wiki
Additional resources repositories_rpm_forge - centos wikiAdditional resources repositories_rpm_forge - centos wiki
Additional resources repositories_rpm_forge - centos wiki
 
Ingles autobigrafia2
Ingles autobigrafia2Ingles autobigrafia2
Ingles autobigrafia2
 
Migrate linux user password to postfix vmail database
Migrate linux user password to postfix vmail databaseMigrate linux user password to postfix vmail database
Migrate linux user password to postfix vmail database
 
Iptables bridging and firewalling
Iptables bridging and firewallingIptables bridging and firewalling
Iptables bridging and firewalling
 
Desabilitando
 Desabilitando Desabilitando
Desabilitando
 
Alberta skills network 3 22-10[1]
Alberta skills network 3 22-10[1]Alberta skills network 3 22-10[1]
Alberta skills network 3 22-10[1]
 
Configuração dns memorial descritivo
Configuração dns   memorial descritivoConfiguração dns   memorial descritivo
Configuração dns memorial descritivo
 

Similar to Install CentOS Cacti Monitoring in Under 30 Minutes

the NML project
the NML projectthe NML project
the NML projectLei Yang
 
How tos nagios - centos wiki
How tos nagios - centos wikiHow tos nagios - centos wiki
How tos nagios - centos wikishahab071
 
Prizm Installation Guide
Prizm Installation GuidePrizm Installation Guide
Prizm Installation Guidevjvarenya
 
101 2.5 use rpm and yum package management
101 2.5 use rpm and yum package management101 2.5 use rpm and yum package management
101 2.5 use rpm and yum package managementAcácio Oliveira
 
101 2.5 use rpm and yum package management
101 2.5 use rpm and yum package management101 2.5 use rpm and yum package management
101 2.5 use rpm and yum package managementAcácio Oliveira
 
Install .Net Core, SQL Server V-Next on Linux and deploy .Net core applicatio...
Install .Net Core, SQL Server V-Next on Linux and deploy .Net core applicatio...Install .Net Core, SQL Server V-Next on Linux and deploy .Net core applicatio...
Install .Net Core, SQL Server V-Next on Linux and deploy .Net core applicatio...Ajith Ramawickrama
 
Docker for Java developers at JavaLand
Docker for Java developers at JavaLandDocker for Java developers at JavaLand
Docker for Java developers at JavaLandJohan Janssen
 
2.5 use rpm and yum package management
2.5 use rpm and yum package management2.5 use rpm and yum package management
2.5 use rpm and yum package managementAcácio Oliveira
 
Deploying datacenters with Puppet - PuppetCamp Europe 2010
Deploying datacenters with Puppet - PuppetCamp Europe 2010Deploying datacenters with Puppet - PuppetCamp Europe 2010
Deploying datacenters with Puppet - PuppetCamp Europe 2010Puppet
 
Tuning systemd for embedded
Tuning systemd for embeddedTuning systemd for embedded
Tuning systemd for embeddedAlison Chaiken
 
Installing nagios core_from_source
Installing nagios core_from_sourceInstalling nagios core_from_source
Installing nagios core_from_sourcelaonap166
 
Nrpe - Nagios Remote Plugin Executor. NRPE plugin for Nagios Core
Nrpe - Nagios Remote Plugin Executor. NRPE plugin for Nagios CoreNrpe - Nagios Remote Plugin Executor. NRPE plugin for Nagios Core
Nrpe - Nagios Remote Plugin Executor. NRPE plugin for Nagios CoreNagios
 
NRPE - Nagios Remote Plugin Executor. NRPE plugin for Nagios Core 4 and others.
NRPE - Nagios Remote Plugin Executor. NRPE plugin for Nagios Core 4 and others.NRPE - Nagios Remote Plugin Executor. NRPE plugin for Nagios Core 4 and others.
NRPE - Nagios Remote Plugin Executor. NRPE plugin for Nagios Core 4 and others.Marc Trimble
 
install mosquitto-auth-plug - cheat sheet -
install mosquitto-auth-plug - cheat sheet -install mosquitto-auth-plug - cheat sheet -
install mosquitto-auth-plug - cheat sheet -Naoto MATSUMOTO
 
Unix Automation using centralized configuration management tool
Unix Automation using centralized configuration management toolUnix Automation using centralized configuration management tool
Unix Automation using centralized configuration management toolTorrid Networks Private Limited
 
Unix Automation using centralized configuration management tool
Unix Automation using centralized configuration management toolUnix Automation using centralized configuration management tool
Unix Automation using centralized configuration management toolTorrid Networks Private Limited
 
Linux sever building
Linux sever buildingLinux sever building
Linux sever buildingEdmond Yu
 

Similar to Install CentOS Cacti Monitoring in Under 30 Minutes (20)

the NML project
the NML projectthe NML project
the NML project
 
How tos nagios - centos wiki
How tos nagios - centos wikiHow tos nagios - centos wiki
How tos nagios - centos wiki
 
Prizm Installation Guide
Prizm Installation GuidePrizm Installation Guide
Prizm Installation Guide
 
101 2.5 use rpm and yum package management
101 2.5 use rpm and yum package management101 2.5 use rpm and yum package management
101 2.5 use rpm and yum package management
 
101 2.5 use rpm and yum package management
101 2.5 use rpm and yum package management101 2.5 use rpm and yum package management
101 2.5 use rpm and yum package management
 
App container rkt
App container rktApp container rkt
App container rkt
 
Install .Net Core, SQL Server V-Next on Linux and deploy .Net core applicatio...
Install .Net Core, SQL Server V-Next on Linux and deploy .Net core applicatio...Install .Net Core, SQL Server V-Next on Linux and deploy .Net core applicatio...
Install .Net Core, SQL Server V-Next on Linux and deploy .Net core applicatio...
 
Docker for Java developers at JavaLand
Docker for Java developers at JavaLandDocker for Java developers at JavaLand
Docker for Java developers at JavaLand
 
2.5 use rpm and yum package management
2.5 use rpm and yum package management2.5 use rpm and yum package management
2.5 use rpm and yum package management
 
OTRS
OTRSOTRS
OTRS
 
Deploying datacenters with Puppet - PuppetCamp Europe 2010
Deploying datacenters with Puppet - PuppetCamp Europe 2010Deploying datacenters with Puppet - PuppetCamp Europe 2010
Deploying datacenters with Puppet - PuppetCamp Europe 2010
 
Tuning systemd for embedded
Tuning systemd for embeddedTuning systemd for embedded
Tuning systemd for embedded
 
Installing nagios core_from_source
Installing nagios core_from_sourceInstalling nagios core_from_source
Installing nagios core_from_source
 
Nrpe - Nagios Remote Plugin Executor. NRPE plugin for Nagios Core
Nrpe - Nagios Remote Plugin Executor. NRPE plugin for Nagios CoreNrpe - Nagios Remote Plugin Executor. NRPE plugin for Nagios Core
Nrpe - Nagios Remote Plugin Executor. NRPE plugin for Nagios Core
 
NRPE - Nagios Remote Plugin Executor. NRPE plugin for Nagios Core 4 and others.
NRPE - Nagios Remote Plugin Executor. NRPE plugin for Nagios Core 4 and others.NRPE - Nagios Remote Plugin Executor. NRPE plugin for Nagios Core 4 and others.
NRPE - Nagios Remote Plugin Executor. NRPE plugin for Nagios Core 4 and others.
 
install mosquitto-auth-plug - cheat sheet -
install mosquitto-auth-plug - cheat sheet -install mosquitto-auth-plug - cheat sheet -
install mosquitto-auth-plug - cheat sheet -
 
Unix Automation using centralized configuration management tool
Unix Automation using centralized configuration management toolUnix Automation using centralized configuration management tool
Unix Automation using centralized configuration management tool
 
Unix Automation using centralized configuration management tool
Unix Automation using centralized configuration management toolUnix Automation using centralized configuration management tool
Unix Automation using centralized configuration management tool
 
Linux sever building
Linux sever buildingLinux sever building
Linux sever building
 
RunX ELCE 2020
RunX ELCE 2020RunX ELCE 2020
RunX ELCE 2020
 

More from Carlos Eduardo

Criando plugin para o Nagios em Shell Script _ Nagios
Criando plugin para o Nagios em Shell Script _ NagiosCriando plugin para o Nagios em Shell Script _ Nagios
Criando plugin para o Nagios em Shell Script _ NagiosCarlos Eduardo
 
Alterar nome do_domínio–rendom_win-2008_e_2003
Alterar nome do_domínio–rendom_win-2008_e_2003Alterar nome do_domínio–rendom_win-2008_e_2003
Alterar nome do_domínio–rendom_win-2008_e_2003Carlos Eduardo
 
Poppassd setup howto for rhel cent os 5 ‹‹ linux mail server setup and howto ...
Poppassd setup howto for rhel cent os 5 ‹‹ linux mail server setup and howto ...Poppassd setup howto for rhel cent os 5 ‹‹ linux mail server setup and howto ...
Poppassd setup howto for rhel cent os 5 ‹‹ linux mail server setup and howto ...Carlos Eduardo
 
Samsung r440 com wireless broadcom bcm4313 no ubuntu 11.10
Samsung r440 com wireless broadcom bcm4313 no ubuntu 11.10Samsung r440 com wireless broadcom bcm4313 no ubuntu 11.10
Samsung r440 com wireless broadcom bcm4313 no ubuntu 11.10Carlos Eduardo
 
Exploit access root to kernel 2.6.32 2.6.36 privilege escalation exploit
Exploit access root to kernel 2.6.32 2.6.36   privilege escalation exploitExploit access root to kernel 2.6.32 2.6.36   privilege escalation exploit
Exploit access root to kernel 2.6.32 2.6.36 privilege escalation exploitCarlos Eduardo
 
How to root phones or tablets running android 2.3 gingerbread jailbreak an...
How to root phones or tablets running android 2.3 gingerbread    jailbreak an...How to root phones or tablets running android 2.3 gingerbread    jailbreak an...
How to root phones or tablets running android 2.3 gingerbread jailbreak an...Carlos Eduardo
 
Compartilhamento no samba com permissão de grupo
Compartilhamento no samba com permissão de grupoCompartilhamento no samba com permissão de grupo
Compartilhamento no samba com permissão de grupoCarlos Eduardo
 
Converting parallels or vm ware to virtual box
Converting parallels or vm ware to virtual boxConverting parallels or vm ware to virtual box
Converting parallels or vm ware to virtual boxCarlos Eduardo
 
Startup guide for kvm on cent os 6
Startup guide for kvm on cent os 6Startup guide for kvm on cent os 6
Startup guide for kvm on cent os 6Carlos Eduardo
 
Alterar memória kvm virtual machine
Alterar memória kvm virtual machineAlterar memória kvm virtual machine
Alterar memória kvm virtual machineCarlos Eduardo
 
Instalando e configurando o serviço snmpd no red hat 5.3 cent_os
Instalando e configurando o serviço snmpd no red hat 5.3   cent_osInstalando e configurando o serviço snmpd no red hat 5.3   cent_os
Instalando e configurando o serviço snmpd no red hat 5.3 cent_osCarlos Eduardo
 
Instalando rrd tool-no-centos-5-usando-yum
Instalando rrd tool-no-centos-5-usando-yumInstalando rrd tool-no-centos-5-usando-yum
Instalando rrd tool-no-centos-5-usando-yumCarlos Eduardo
 
Como criar um repositório Ubuntu
Como criar um repositório UbuntuComo criar um repositório Ubuntu
Como criar um repositório UbuntuCarlos Eduardo
 
Backup Incremental auto - Windows Server 2008
Backup Incremental auto - Windows Server 2008Backup Incremental auto - Windows Server 2008
Backup Incremental auto - Windows Server 2008Carlos Eduardo
 
Alterar password linux user pam autentication
Alterar password linux user   pam autenticationAlterar password linux user   pam autentication
Alterar password linux user pam autenticationCarlos Eduardo
 

More from Carlos Eduardo (20)

Criando plugin para o Nagios em Shell Script _ Nagios
Criando plugin para o Nagios em Shell Script _ NagiosCriando plugin para o Nagios em Shell Script _ Nagios
Criando plugin para o Nagios em Shell Script _ Nagios
 
Alterar nome do_domínio–rendom_win-2008_e_2003
Alterar nome do_domínio–rendom_win-2008_e_2003Alterar nome do_domínio–rendom_win-2008_e_2003
Alterar nome do_domínio–rendom_win-2008_e_2003
 
Poppassd setup howto for rhel cent os 5 ‹‹ linux mail server setup and howto ...
Poppassd setup howto for rhel cent os 5 ‹‹ linux mail server setup and howto ...Poppassd setup howto for rhel cent os 5 ‹‹ linux mail server setup and howto ...
Poppassd setup howto for rhel cent os 5 ‹‹ linux mail server setup and howto ...
 
Samsung r440 com wireless broadcom bcm4313 no ubuntu 11.10
Samsung r440 com wireless broadcom bcm4313 no ubuntu 11.10Samsung r440 com wireless broadcom bcm4313 no ubuntu 11.10
Samsung r440 com wireless broadcom bcm4313 no ubuntu 11.10
 
Exploit access root to kernel 2.6.32 2.6.36 privilege escalation exploit
Exploit access root to kernel 2.6.32 2.6.36   privilege escalation exploitExploit access root to kernel 2.6.32 2.6.36   privilege escalation exploit
Exploit access root to kernel 2.6.32 2.6.36 privilege escalation exploit
 
How to root phones or tablets running android 2.3 gingerbread jailbreak an...
How to root phones or tablets running android 2.3 gingerbread    jailbreak an...How to root phones or tablets running android 2.3 gingerbread    jailbreak an...
How to root phones or tablets running android 2.3 gingerbread jailbreak an...
 
Compartilhamento no samba com permissão de grupo
Compartilhamento no samba com permissão de grupoCompartilhamento no samba com permissão de grupo
Compartilhamento no samba com permissão de grupo
 
Canivete shell
Canivete shellCanivete shell
Canivete shell
 
Lsof
LsofLsof
Lsof
 
Converting parallels or vm ware to virtual box
Converting parallels or vm ware to virtual boxConverting parallels or vm ware to virtual box
Converting parallels or vm ware to virtual box
 
Startup guide for kvm on cent os 6
Startup guide for kvm on cent os 6Startup guide for kvm on cent os 6
Startup guide for kvm on cent os 6
 
Alterar memória kvm virtual machine
Alterar memória kvm virtual machineAlterar memória kvm virtual machine
Alterar memória kvm virtual machine
 
Comando kvm terminal
Comando kvm terminalComando kvm terminal
Comando kvm terminal
 
Otimizando seu Squid
Otimizando seu SquidOtimizando seu Squid
Otimizando seu Squid
 
Instalando e configurando o serviço snmpd no red hat 5.3 cent_os
Instalando e configurando o serviço snmpd no red hat 5.3   cent_osInstalando e configurando o serviço snmpd no red hat 5.3   cent_os
Instalando e configurando o serviço snmpd no red hat 5.3 cent_os
 
Instalando rrd tool-no-centos-5-usando-yum
Instalando rrd tool-no-centos-5-usando-yumInstalando rrd tool-no-centos-5-usando-yum
Instalando rrd tool-no-centos-5-usando-yum
 
Como criar um repositório Ubuntu
Como criar um repositório UbuntuComo criar um repositório Ubuntu
Como criar um repositório Ubuntu
 
Backup Incremental auto - Windows Server 2008
Backup Incremental auto - Windows Server 2008Backup Incremental auto - Windows Server 2008
Backup Incremental auto - Windows Server 2008
 
SSL no apache
SSL no apacheSSL no apache
SSL no apache
 
Alterar password linux user pam autentication
Alterar password linux user   pam autenticationAlterar password linux user   pam autentication
Alterar password linux user pam autentication
 

Recently uploaded

Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsHyundai Motor Group
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 

Recently uploaded (20)

E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 

Install CentOS Cacti Monitoring in Under 30 Minutes

  • 1. Installing Cacti on CentOS 5 | Linux.com http://www.linux.com/community/blogs/installing-cacti-on-centos-5.html Linux Foundation Training Events Video More search linux.com Try our NEW BETA Search! Home News Linux Community Learn Linux Directory Jobs Store Video Home Linux Community Community Blogs Installing Cacti on CentOS 5 Home Tags Search Feed Linux.com Blog Entries For the community by the community Installing Cacti on CentOS 5 Posted by: Ross Larson on August 14 2009 Tagged in: Untagged 0 tweet Like 4 people like this. Cacti is a GPL-licensed, scalable, RRDtool-based monitoring program with flexible graphing options. This article describes the process of installing and configuring Cacti on CentOS 5.2. Useful links to this installation were BXtra and TechDB. Per the Cacti documentation, Cacti requires: RRDTool 1.0.49 or 1.2.x or greater MySQL 4.1.x or 5.x or greater PHP 4.3.6 or greater, 5.x greater highly recommended for advanced features Latest Blog Posts A Web Server e.g. Apache or IIS A Unity-Inspired "Dock" dixiedancer I'd also recommend installing vim, net-snmp, net-snmp-utils, php-snmp, initscripts, perl-rrdtool, and any dependencies. Man vs Machine: Virtuali ... by RSims To perform this install, I am logged into Gnome as a normal user, and opened a terminal that is switched to openSUSE Weekly New the root user using the su command. I had already installed apache, mysql, and PHP during the original saigkill install process of CentOS 5.2. Two Years on Linux: Les I added a new repository to facilitate this install. To do this, I created a file dixiedancer (/etc/yum.repos.d/dag.repo) containing Dag Wiers repository, which contains rrdtool, among other things. Convert ext2 to ext3 file s blueprintlinux 1 de 7 22/7/2011 11:40
  • 2. Installing Cacti on CentOS 5 | Linux.com http://www.linux.com/community/blogs/installing-cacti-on-centos-5.html [dag] name=Dag RPM Repository for Red Hat Enterprise Linux baseurl=http://apt.sw.be/redhat/el5/en/i386/dag gpgcheck=1 gpgkey=http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt enabled=1 You can create this file by typing vim /etc/yum.repos.d/dag.repo and copying and pasting the above information into the file. Be warned that the above text containing the repository is version and Find out more a architecture-specific. I then typed yum update to update CentOS and the repository list before installing additional software. Blog Categories I installed everything but cacti through yum. You can verify that you have the packages in question (or the Business (or Enter version numbers of installed packages) by attempting to install them, as yum will remind you that you already Desktops (87) have the latest version installed, as well as the version status of the packages, like shown here: Distributions (155) General Linux (125 # yum install php httpd mysql mysql-server php-mysql vim-enhanced net-snmp net-snmp-utils php-snmp Mobile (38) initscripts perl-rrdtool rrdtool initscripts Personal (131) Loaded plugins: fastestmirror, priorities Servers (59) Loading mirror speeds from cached hostfile * base: pubmirrors.reflected.net * updates: mirror.fdcservers.net Blog Archive * addons: chi-10g-1-mirror.fastsoft.net * extras: mirror.fdcservers.net July 2011 Setting up Install Process June 2011 Parsing package install arguments May 2011 Package php-5.1.6-23.2.el5_3.i386 already installed and latest version April 2011 Package httpd-2.2.3-22.el5.centos.1.i386 already installed and latest version March 2011 Package mysql-5.0.45-7.el5.i386 already installed and latest version February 2011 Package mysql-server-5.0.45-7.el5.i386 already installed and latest version January 2011 Package php-mysql-5.1.6-23.2.el5_3.i386 already installed and latest version December 2010 Package 2:vim-enhanced-7.0.109-4.el5_2.4z.i386 already installed and latest version November 2010 Package 1:net-snmp-5.3.2.2-5.el5_3.1.i386 already installed and latest version October 2010 Package 1:net-snmp-utils-5.3.2.2-5.el5_3.1.i386 already installed and latest version September 2010 Package php-snmp-5.1.6-23.2.el5_3.i386 already installed and latest version August 2010 Package initscripts-8.45.25-1.el5.centos.i386 already installed and latest version July 2010 Package perl-rrdtool-1.3.7-1.el5.rf.i386 already installed and latest version June 2010 Package rrdtool-1.3.7-1.el5.rf.i386 already installed and latest version May 2010 Package initscripts-8.45.25-1.el5.centos.i386 already installed and latest version April 2010 Nothing to do March 2010 February 2010 January 2010 December 2009 Download the latest version of Cacti (0.8.7e, as of the writing of this article) from here. I downloaded it to my November 2009 desktop and unzipped it by right clicking it and selecting "Extract here". I also renamed the cacti-0.8.7e October 2009 directory by right clicking and selecting "Rename". You could do this in the command line, if you wanted to: September 2009 August 2009 [your root shell] # tar xzvf cacti-0.8.7e.tar.gz July 2009 [your root shell] # mv cacti-0.8.7e cacti June 2009 Move the entire cacti directory to /var/www/html/ : May 2009 April 2009 [your root shell] # mv cacti /var/www/html August 2008 I chose to create a 'cactiuser' user (and cacti group) to run cacti commands and to have ownership of the June 2008 relavent cacti files. It was here that I noticed that my install did not have any of the /sbin directories in its $PATH , so I simply typed the absolute path: [your root shell] # /usr/sbin/groupadd cacti 2 de 7 22/7/2011 11:40
  • 3. Installing Cacti on CentOS 5 | Linux.com http://www.linux.com/community/blogs/installing-cacti-on-centos-5.html [your root shell] # /usr/sbin/useradd -g cacti cactiuser Linux Jobs [your root shell] # passwd cactiuser Test Analyst - Java, L Change the ownership of the /var/www/html/cacti/rra/ and /var/www/html/cacti/log/ HiTech Personnel A d directories to the cactiuser we just created: Australia [your root shell] # cd /var/www/html/cacti Systems Engineer Lin [your root shell] # chown -R cactiuser rra/ log/ Vantage, Sydney, Syd Senior Systems Engin Create a mysql root password, if you haven't already (password in this example is samplepass: Talent International, S [your root shell] # /usr/bin/mysqladmin -u root password samplepass QA/Test Engineer - Li iKas International, Sy Create a MySQL database for cacti: Systems Engineer Lin [your root shell] # mysqladmin --user=root --password=samplepass create cacti Vantage, Sydney, Syd More jobs | Post a job Change directories to the cacti directory, and use the cacti.sql file to create tables for your database: [your root shell] # cd /var/www/html/cacti [your root shell- cacti] # mysql --user=root --password=samplepass cacti < cacti.sql I also created a MySQL username and password for Cacti: [your root shell] # mysql --user=root --password=samplepass Welcome to the MySQL monitor. Commands end with ; or g. Your MySQL connection id is 28 Server version: 5.0.45 Source distribution Type 'help;' or 'h' for help. Type 'c' to clear the buffer. mysql> GRANT ALL ON cacti.* TO cactiuser@localhost IDENTIFIED BY 'samplepass'; Query OK, 0 rows affected (0.00 sec) mysql> flush privileges; Query OK, 0 rows affected (0.00 sec) mysql> exit Bye Edit /var/www/html/cacti/include/config.php with your favorite editor, and update the information to reflect our cacti configuration (you can leave the other text in the file alone): /* make sure these values refect your actual database/host/user/password */ $database_type = "mysql"; $database_default = "cacti"; $database_hostname = "localhost"; $database_username = "cactiuser"; $database_password = "samplepass"; $database_port = "3306"; Create a cron job that polls for information for Cacti (I'm choosing to use /etc/crontab here): 3 de 7 22/7/2011 11:40
  • 4. Installing Cacti on CentOS 5 | Linux.com http://www.linux.com/community/blogs/installing-cacti-on-centos-5.html [your root shell] # vim /etc/crontab Add this line to your crontab: */5 * * * * cactiuser /usr/bin/php /var/www/html/cacti/poller.php > /dev/null 2>&1 Edit your PHP config file at /etc/php.ini to allow more memory usage for Cacti. It is a relatively large text file- using vim, I search for "memory_limit" by typing /memory_limit in command mode. [your root shell] # vim /etc/php.ini I changed memory_limit = 8M to memory_limit = 128M Before I check to see if Cacti works, I want to check and see if mysqld and httpd are running using the service command. [your root shell] # /sbin/service mysqld status [your root shell] # /sbin/service httpd status If mysqld and httpd are running, great. If not, type: [your root shell] # /sbin/service mysqld start [your root shell] # /sbin/service httpd start If you're an "I need to see what the output looks like" type, here is an example of the previous command: [your root shell] # /sbin/service mysqld status mysqld is stopped [your root shell] # /sbin/service mysqld start Initializing MySQL database: Installing MySQL system tables... OK Filling help tables... OK To start mysqld at boot time you have to copy support-files/mysql.server to the right place for your system PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER ! To do so, start the server, then issue the following commands: /usr/bin/mysqladmin -u root password 'new-password' /usr/bin/mysqladmin -u root -h localhost.localdomain password 'new-password' See the manual for more instructions. You can start the MySQL daemon with: cd /usr ; /usr/bin/mysqld_safe & You can test the MySQL daemon with mysql-test-run.pl cd mysql-test ; perl mysql-test-run.pl Please report any problems with the /usr/bin/mysqlbug script! The latest information about MySQL is available on the web at http://www.mysql.com Support MySQL by buying support/licenses at http://shop.mysql.com [ OK ] Starting MySQL: [ OK ] 4 de 7 22/7/2011 11:40
  • 5. Installing Cacti on CentOS 5 | Linux.com http://www.linux.com/community/blogs/installing-cacti-on-centos-5.html You should now be able to access cacti at http://localhost/cacti from the local computer or from any computer within your LAN network at http://your.internal.IP.address/cacti . There should be a Cacti Installation Guide window that shows up, giving licensing info and the like. Click "Next". Select "New Installation", since this is a new installation. The next window to pop up should tell you whether Cacti could find the paths to all of the elements that Cacti needs to run, such as RRDtool, PHP, snmp stuff, etc. If everything but Cacti was installed via yum, you should be good here. Click "Finish" to save the settings and bring up the login window. Below is a screenshot of the login window. The default user name is admin. The default password is admin. It should prompt an automatic password change for the admin account when you log in the first time. If you successfully log in, I'd recommend taking a break here. Depending on how fast you are, your cron job may not have had enough time to run the poller program and create data for your graphs. I'd suggest taking a deep breath, or brewing a cup of tea (or coffee) for yourself. The localhost machine should have some graph templates that are already created, but you can click the "Create Additional Devices" link to add graphs for any other machines on your network. I added my FreeNAS box (tutorial for that to follow). After having consumed your beverage of choice, press the "Graphs" button. Cacti should have a graph showing you a couple minutes of data for the machines you have added. The longer your machine is on, the more informational the graphs will be. Also, if you click on a particular graph, Cacti will Congratulations! You're now monitoring! View the Cacti documentation page for more information on how to take advantages of Cacti. Below are some graphs that were made using Cacti. 5 de 7 22/7/2011 11:40
  • 6. Installing Cacti on CentOS 5 | Linux.com http://www.linux.com/community/blogs/installing-cacti-on-centos-5.html Visit zootlinux.blogspot.com for more blog posts! Report Spam Email this Share This Set as favorite Comments (3) Subscribe to this comment's feed Show/hide comments Thanks - few corrections written by Steven Kenney, September 15, 2009 Thanks for this excellent article. I do have a few corrections for you to make though Following your instructions directly didn't work. To grant permission to the database we need to change this GRANT ALL ON cacti.* TO cactiuser@localhost IDENTIFIED BY 'cacti'; to this GRANT ALL ON cacti.* TO cactiuser@localhost IDENTIFIED BY 'SAMPLEPASS'; Meaning we put the wrong password in there as cacti was not the password recommended in the 6 de 7 22/7/2011 11:40
  • 7. Installing Cacti on CentOS 5 | Linux.com http://www.linux.com/community/blogs/installing-cacti-on-centos-5.html include.php also you could do without one MV on this [your root shell] # mv mv cacti /var/www/html Also need to point out that mysqld needed to be started ahead of time before you could do some of these configuration changes. So it was already started. +1 ... written by Ross Larson, September 15, 2009 Good catch! You are correct that 'cacti' should have been 'samplepass', and 'mv' should have only appeared once, as such: [your root shell] # mv cacti /var/www/html I fell victim to some sloppy copying from my terminal there. Sorry about that! I have updated the article to reflect the correct information. Thank you for the reply! +0 ... written by Ross Larson, September 15, 2009 You are also correct that mysqld should be running when you call the service command. I stopped mysqld specifically to show what the output would look like if for some crazy reason it wasn't on. -1 Write comment Show/hide comment form You must be logged in to post a comment. Please register if you do not have an account yet. WHO WE ARE ? EXPLORE STAY CURRENT The Linux Foundation is a non-profit Answers Netbooks consortium dedicated to the growth of Blogs Cloud Computing Linux. Forums Enterprise More About the foundation... Directory Embedded & Mobile Frequent Questions Join / Linux Training / Board Copyright © 2011 Linux.com. All Rights Reserved. Linux.com. 7 de 7 22/7/2011 11:40