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.
cli—This
directory contains the Command Line Interface scripts that allow for console control over various aspects of Cacti. This can be likened to abin
directory.2.
docs—The
Cacti manual and help documents are available here.3.
images—These
are the images required by the Cacti GUI.4.
include—Cacti's
main configuration...