Book Image

Cacti 0.8 Network Monitoring

Book Image

Cacti 0.8 Network Monitoring

Overview of this book

Cacti is a network monitoring tool that provides graphic solutions to your everyday monitoring issues. It has a wide variety of features and misusing them can mean that you are not monitoring your network as closely as you think. This book takes you through all of the key features of Cacti and shows how to use them for maximum effectiveness. This book will teach you how to use Cacti effectively to monitor your network through its web interface leaving aside all the heavy chunks of code. You will be introduced to all the features of Cacti in an easy-to-understand format. This book introduces Cacti and goes through its complete installation and setup. After a quick look, it will teach you to use Cacti's amazing graph templating and user management features. You will learn to customize graphs and make them better looking and easier to understand. It will teach you to provide the paths to any external script or command using Cacti. Then it will take you through importing and managing new templates and also customizing them. Creating users and assigning permissions to them is the next step in this book. Towards the end, you will learn to take backups and restore the system.
Table of Contents (13 chapters)

Chapter 8. Cacti Management

In this chapter, we are going to learn some advanced topics like:

  • Cacti's directory structure.

  • Cacti's backup procedure.

  • Cacti's restore procedure.

  • Cacti's CLI features.

Although Cacti is primarily a web-based PHP application, there are several command line interface scripts that allow for command line control of various aspects of Cacti. At the end of this chapter, we will cover some of these utilities.

Directory structure

Cacti's directory structure looks like the following:

Cacti contains the following sub-directories within its main directory—unless you are fully aware of the implications of editing these files, it is best to avoid doing so.

  1. 1. cli—This directory contains the Command Line Interface scripts that allow for console control over various aspects of Cacti. This can be likened to a bin directory.

  2. 2. docs—The Cacti manual and help documents are available here.

  3. 3. images—These are the images required by the Cacti GUI.

  4. 4. include—Cacti's main configuration...