2008 Mérida, Venezuela Papeete, Tahiti Network and Server Statistics using Cacti PacNOG5 17 June 2009 Hervey Allen.

Slides:



Advertisements
Similar presentations
Jump to Contents Instructor Tutorial essignments.com Paperless assignment submission system.
Advertisements

DIGIDOC A web based tool to Manage Documents. System Overview DigiDoc is a web-based customizable, integrated solution for Business Process Management.
With TimeCard appointments are tagged with information that converts them into time sheets. This way users can report time and expenses from their Outlook.
10 Years of Cacti and the Evolution of Plugins
Cacti Workshop Tony Roman Agenda What is Cacti? The Origins of Cacti Large Installation Considerations Automation The Current.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 1: Introduction to Windows Server 2003.
These materials are licensed under the Creative Commons Attribution-Noncommercial 3.0 Unported license (
These materials are licensed under the Creative Commons Attribution-Noncommercial 3.0 Unported license (
Bangkok, Thailand Smokeping & Cacti intERLab at AIT Workshop March – Bangkok, Thailand Hervey Allen.
Open Source Network Monitoring Tools Yasir Iqbal 22-May-2010.
PacNOG 6: Nadi, Fiji Installing Ubuntu Server 9.04 Hervey Allen Network Startup Resource Center.
Securing LAMP: Linux, Apache, MySQL and PHP Track 2 Workshop PacNOG 7 July 1, 2010 Pago Pago, American Samoa.
Working with SharePoint Document Libraries. What are document libraries? Document libraries are collections of files that you can share with team members.
SEEM4570: XAMPP, Eclipse, Summary of Html Kangfei Zhao Room 711,ERB
Students: Nadia Goshmir, Yulia Koretsky Supervisor: Shai Rozenrauch Industrial Project Advanced Tool for Automatic Testing Final Presentation.
This presentation will guide you though the initial stages of installation, through to producing your first report Click your mouse to advance the presentation.
Papeete, French Polynesia Measuring Delay with PacNOG5 – 17 June 2009 Papeete, French Polynesia Hervey Allen.
Danielle Baldwin, ITS Web Services CMS Administrator Application Overview and Joomla 1.5 RC 1 Highlights.
1 Network Statistic and Monitoring System Wayne State University Division of Computing and Information Technology Information Technology.
Reading Data in Web Pages tMyn1 Reading Data in Web Pages A very common application of PHP is to have an HTML form gather information from a website's.
OASIS V2+ Next Generation Open Access Server CSD 2006 / Team 12.
Deploying Experiments with Raven Scott Baker SB-Software John H. Hartman University of Arizona.
Cacti. Cacti is a complete network graphing solution designed to harness the power of RRDTool's data storage and graphing functionality. Cacti provides.
These materials are licensed under the Creative Commons Attribution-Noncommercial 3.0 Unported license (
1 Kaseya Advanced Workshop Developed by Kaseya University Powered by IT Scholars Kaseya Version 6.2 Last updated on June 25, 2012 DAY TWO.
About Dynamic Sites (Front End / Back End Implementations) by Janssen & Associates Affordable Website Solutions for Individuals and Small Businesses.
System Administration and Basic Functionality Version 4.0 – September 2007 Q-Advisor Quick Start.
Home Media Network Hard Drive Training for Update to 2.0 By Erik Collett Revised for Firmware Update.
Hsu Chun-Hung Network Benchmarking Lab
Taipei, Taiwan Smokeping & Cacti APRICOT 2008 Workshop February – Taipei, Taiwan Hervey Allen.
1 FreeBSD Installation ISOC/AfNOG Michuki Mwangi (Original materials by Hervey Allen – NSRC)
Tutorial for Instructors: How To Use Turnitin.com.
Network and Server Statistics using Cacti. Introduction A tool to monitor, store and present network and system/server statistics Designed around RRDTool.
Database Design and Management CPTG /23/2015Chapter 12 of 38 Functions of a Database Store data Store data School: student records, class schedules,
2008 Mérida, Venezuela 2010 Kuala Lumpur, Malaysia Network and Server Statistics using Cacti APRICOT 2010 Kuala Lumpur, Malaysia.
Imports. Odyssey Teacher and Student Import With the Odyssey Import tool, you can create or update teacher and student records directly from a comma‐separated.
Diagnostic Pathfinder for Instructors. Diagnostic Pathfinder Local File vs. Database Normal operations Expert operations Admin operations.
Graphing and statistics with Cacti AfNOG 11, Kigali/Rwanda.
New Delhi, India Smokeping/Cacti/Munin SANOG 10 Workshop August 29-Sep 2 – New Delhi, India Hervey Allen.
1 FreeBSD Installation AFNOG X Cairo, Egypt May 2009 Hervey Allen.
View and Manage corporate files from within Baan and ERP Ln Baan Hot Link Ver 6.2.
APRICOT 2010 Kuala Lumpur, Malaysia
How to use mrtg to monitor traffic on your wireless and wired network a bella mia company.
Apache, MySQL and PHP Installation and Configuration Chapter 2 MySQL Installation and Configuration.
The Diagnostic Pathfinder System Introduction Getting Started.
Database server Campus-Booster ID : ****** Copyright © SUPINFO. All rights reserved MySQL.
2008 Mérida, Venezuela 6 Nadi, Fiji Network and Server Statistics using Cacti PacNOG 6 November 2009 Hervey Allen Carlos Vicente.
1 FreeBSD Installation AFNOG Chix 2011 Blantyre, Malawi 31 st Oct - 4 th Nov 2011 Dorcas Muthoni and Evelyn Namara.
These materials are licensed under the Creative Commons Attribution-Noncommercial 3.0 Unported license (
Papeete Welcome! Linux Intro & Network Management Papeete, French Polynesia Instructors: Hervey Allen(Chile/USA) Phil Regnauld(France/Denmark)
1 A Look at the Application Authorized users can access Communicator! NXT from any Internet-capable computer via the Web.
Homework 5 DNS 、 HTTPD 、 SNMP. Requirements One dedicated domain name for yourself Setup DNS server with following records  SOA, NS, MX  Make them reasonable.
Installing a Moodle Test Site The painless and easy way.
Installing and Configuring Moodle. Download Download latest Windows Install package from Moodle.orgMoodle.org.
How to use Drupal Awdhesh Kumar (Team Leader) Presentation Topic.
2008 Mérida, Venezuela 2009 Manila, Philippines Network and Server Statistics using Cacti APRICOT February 2009 Hervey Allen.
'08 Rabat Smokeping & Cacti Network Monitoring & Management Tutorial June 1, 2008 – AfNOG 2008 Hervey Allen.
CSCF Cacti Project
19 Copyright © 2008, Oracle. All rights reserved. Security.
Network and Server Statistics Using Cacti
Core ELN Training: Office Web Apps (OWA)
Installation The Intercompany Integration Solution for SAP Business One Version 2.0 for SAP Business One 9.1 Welcome to the course on the installation.
Essentials of UrbanCode Deploy v6.1 QQ147
Smokeping/Cacti/Munin
Section 15.1 Section 15.2 Identify Webmastering tasks
How to use mrtg to monitor traffic on your wireless and wired network
Network and Server Statistics using Cacti AfNOG May Hervey Allen
Installation The Intercompany Integration Solution for SAP Business One Version 2.0 for SAP Business One 9.1 Welcome to the course on the installation.
Ticketing Systems with RT
Presentation transcript:

Mérida, Venezuela Papeete, Tahiti Network and Server Statistics using Cacti PacNOG5 17 June 2009 Hervey Allen

Mérida, Venezuela Papeete, Tahiti Introduction A tool to monitor, store and present network and system/server statistics Designed around RRDTool with a special emphasis on the graphical interface Almost all of Cacti's functionality can be configured via the Web.

Mérida, Venezuela Papeete, Tahiti Introduction Cont. Cacti: Uses RRDtool, PHP and stores data in MySQL. It supports the use of SNMP and graphics with MRTG. “Cacti is a complete frontend to RRDTool, it stores all of the necessary information to create graphs and populate them with data in a MySQL database. The frontend is completely PHP driven. Along with being able to maintain Graphs, Data Sources, and Round Robin Archives in a database, cacti handles the data gathering. There is also SNMP support for those used to creating traffic graphs with MRTG.”

Mérida, Venezuela Papeete, Tahiti Advantages Graphics –Allows the use of all the functions of rrdgraph to define graphics and to automate some of them –Allows you to organize information in hierarchical trees. Date sources –Allows you to use all the rrdcreate and rrdupdate functions, including defining multiple data sources for RRD files Data collection –Data sources can be updated via SNMP or by defining scripts –SNMP support included using php-snmp or net-snmp –An optional component, cactid, implements SNMP routines in C with multi-threading for increased efficiency. This can be critical if you have lots of devices. Templates –You can create templates to reuse graphics definitions, data sources and devices. User management –You can manage authentication (locally or via LDAP) having distinct levels of authorization for users (if you so wish).

Mérida, Venezuela Papeete, Tahiti Installation: Ubuntu Server 8.1 –Available in RPMs and packages for Gentoo, Debian, etc. –It's necessary to install cactid separately if you wish to use it for faster SNMP calls. # apt-get install cacti

Mérida, Venezuela Papeete, Tahiti Installation:2 Use our class password

Mérida, Venezuela Papeete, Tahiti Installation:3 Use our class password, again

Mérida, Venezuela Papeete, Tahiti Installation:4 For your information. Generally not a problem.

Mérida, Venezuela Papeete, Tahiti Installation:5 We are using Apache2, be sure to choose this.

Mérida, Venezuela Papeete, Tahiti Installation:6 Choose “Yes”. If you choose “No”, then you will need to do database configuration by hand at a later time.

Mérida, Venezuela Papeete, Tahiti Installation:7 Use our class password. Same as earlier.

Mérida, Venezuela Papeete, Tahiti Installation:8 Enter the class password, again.

Mérida, Venezuela Papeete, Tahiti Installation:9 Enter the class password, one final time.

Mérida, Venezuela Papeete, Tahiti cacti: Installation Now, use your web browser and open: You'll see the following...

Mérida, Venezuela Papeete, Tahiti cacti: Installation Press “Next >>”

Mérida, Venezuela Papeete, Tahiti cacti: Installation Choose “New Install” and press “Next >>” again.

Mérida, Venezuela Papeete, Tahiti cacti: Installation Should screen should look like this. If not, ask for help from your instructor. Press “Finish”

Mérida, Venezuela Papeete, Tahiti cacti: First Login Log in the first time using: User Name:admin Password:admin

Mérida, Venezuela Papeete, Tahiti cacti: Password Change Now you must change the admin password. Please use the workshop password when you do this.

Mérida, Venezuela Papeete, Tahiti Add Devices Management -> Devices -> Add Specify device attributes –Select a device template and this will automatically provide you with several device templates as well as ask for information about the device. –You can add additional templates when/if you wish.

Mérida, Venezuela Papeete, Tahiti Add devices: 2

Mérida, Venezuela Papeete, Tahiti Add Devices Be sure you choose SNMP Version 2 for class. You can, of course, use SNMP Version 3 in your own environment.

Mérida, Venezuela Papeete, Tahiti Create graphics Go to the “Create graphs for this host” choice. Choose the graph templates and date queries you want, then press “Create”. You can change the default color schemes for the graphs if you wish, but the predefined ones seem pretty reasonable.

Mérida, Venezuela Papeete, Tahiti Create graphics: Step 1

Mérida, Venezuela Papeete, Tahiti Create graphics: Step 2

Mérida, Venezuela Papeete, Tahiti See the Graphics Place the new device on the tree hierarchy that corresponds to where it belongs. This is up to you, but, perhaps, draw this out on a sheet of paper first. –In Management -> Graph Trees select the default graph tree (or create your own)‏

Mérida, Venezuela Papeete, Tahiti Graph Trees First, press “Add” if you want a new graphing tree: Second, name your tree, choose the sorting order (author likes Natural Sorting and press “create”:

Mérida, Venezuela Papeete, Tahiti Graph Trees Third, add devices to your new tree: Once you click “Add” you can add “Headers” (separators), graphs or hosts. Now we'll add Hosts to our newly created graph tree:

Mérida, Venezuela Papeete, Tahiti Graph Tree with 2 Devices Our graph tree after our first two devices have been added. No graphs are displayed yet. This can take up to 5 minutes (remember the Cacti cron job?): Next a much larger example with graphs being displayed ==>

Mérida, Venezuela Papeete, Tahiti An Example...

Mérida, Venezuela Papeete, Tahiti Conclusions Cacti is very flexible due to the idea of templates. Once you understand the concepts behind RRDTool, then using Cacti should be intuitive. The hierarchical visualization of devices helps to organize and find devices very quickly. There are no (or very little) available statistics about the performance of cactid (anyone want to collect some?) It's not easy to do rediscovery of devices. To add lots of devices requires lots of time and effort. Tools like Netdot and Netdisco can help – or, home- grown MySQL scripts.

Mérida, Venezuela Papeete, Tahiti References Cacti web site: Forums.

Mérida, Venezuela Papeete, Tahiti

Mérida, Venezuela Papeete, Tahiti Configuration Cacti uses MySQL to store configurations. In older Ubuntu versions it was necessary to manually create the cacti MySQL database and set the permissions: $database_type = "mysql"; $database_default = "cacti"; $database_hostname = "localhost"; $database_username = "cactiuser"; $database_password = "cacti_pass"; $database_port = "3306"; # mysqladmin --user=root create cacti # mysql cacti < cacti.sql # mysql --user=root mysql mysql> GRANT ALL ON cacti.* TO IDENTIFIED BY ‘cacti_pass'; mysql> flush privileges; It was, also, sometimes necessary to manually specify the cacti connection parameters in /etc/cacti/db.php:

Mérida, Venezuela Papeete, Tahiti Configuration Make sure that there is a cron job that has been configured as well – Likely in /etc/cron.d/cacti. This will be something like: */5 * * * * www-data php /usr/share/cacti/site/poller.php >/dev/null \ 2>/var/log/cacti/poller-error.log This is not necessary with the Debian package in Ubuntu 8.10.

Mérida, Venezuela Papeete, Tahiti cactid # tar xvzf cacti-cactid tar.gz # cd cactid #./configure # make # make install # vi /usr/local/cactid/bin/cactid.conf DB_Host localhost DB_Database cacti DB_User cactiuser DB_Pass cacti_pass DB_Port 3306 In the web interface: Go to Configuration -> Settings -> Paths -> Cactid Poller File Path and specify the location of cactid Go to Poller and in Poller Type, select cactid