Book Image

Cacti 0.8 Beginner's Guide

By : Thomas Urban
Book Image

Cacti 0.8 Beginner's Guide

By: Thomas Urban

Overview of this book

Cacti is a performance measurement tool that provides easy methods and functions for gathering and graphing system data. You can use Cacti to develop a robust event management system that can alert on just about anything you would like it to. But to do that, you need to gain a solid understanding of the basics of Cacti, its plugin architecture, and automation concepts. Cacti 0.8 Beginner's Guide will introduce you to the wide variety of features of Cacti and will guide you on how to use them for maximum effectiveness. Advanced topics like the plugin architecture and Cacti automation using the command-line interface will help you build a professional performance measurement system.Designed as a beginner's guide, the book starts off with the basics of installing and using Cacti, and also covers the advanced topics that will show you how to customize and extend the core Cacti functionalities. The book offers essential tutorials for creating advanced graphs and using plugins to create enterprise-class reports to show your customers and colleagues. From data templates to input methods and plugin installation to creating your own customized plugins, this book provides you with a rich selection of step-by-step instructions to reach your goals. It covers all you need to know to implement professional performance measurement techniques with Cacti and ways to fully customize Cacti to fit your needs. By the end of the book, you will be able to implement and extend Cacti to monitor, display, and report the performance of your network exactly the way you want.
Table of Contents (23 chapters)
Cacti 0.8Beginner's Guide
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Pop Quiz Answers
Index

Time for action – starting the Windows setup


  1. Download the Windows Installer to the system on which you want to install Cacti. To retrieve the latest version, go to http://forums.cacti.net/viewtopic.php?t=14946 and click on the download link at the end of the first post. Save the installer to your desktop.

  2. Double-click on the setup file. The installer will check what has already been installed and give you a report. Click Next > after you have read the information.

  3. The next screen shows the GPL license. Accept it and click on Next >.

  4. Next comes the selection of the web server to be used. If you have IIS installed, you can select it here, otherwise Apache will be installed.

  5. In the next step you can choose the components to install. For now, you will only install the Cacti Core Files, so click on Next > without adding any additional components.

  6. Keep the defaults for the installation locations and click on Next >.

  7. The final step provides an overview of the paths to be created. Click on Install to start the installation process.

  8. Please note the default Cacti admin and MySQL root passwords.

  9. Open the Post-Install Instructions and follow the tasks.

What just happened?

You installed Cacti on Windows along with all the prerequisites.

Installing the Spine poller under Windows

Unlike Linux, where compilation from source is the preferred method, Cacti has pre-compiled binaries for Windows. You can download the latest versions from http://www.cacti.net. Click on Download under the Spine (Cactid) section and download the latest Windows binary from there. Extract the archive to the computer running Cacti and edit spine.conf to fit your database settings. In case you want to compile spine yourself, you will have to install a working copy of Cygwin. The following URL will provide you with some information on how to compile Spine using Cygwin:

http://www.cacti.net/spine_install_wincyg.php.