Let's look at the default directory structure of Cacti and some of the important sub directories:
The Cacti directory structure
The cache directory
The cache directory contains all files and directories which are created on a temporary basis. With the inclusion of boost, real time, and other plugins, this directory now provides a common place for these files.
The cli directory
The cli directory contains all cli scripts used to manage Cacti from the command line. The scripts within this directory will help you to fix database issues or simply add new devices or users...