cigamit Resolving Issue #2207
Removing Graph Template does not Remove Data Query Associations
Latest commit 646fa9d Dec 11, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cache Removed un-needed php closing tag Aug 13, 2017
cli Resolving issue #2202 Dec 5, 2018
docs Add Support Menu Item Oct 1, 2018
formats Minor formats updates Aug 19, 2018
images Missing installer image (#1970) Sep 24, 2018
include Monor format issues in modern theme Dec 8, 2018
install Include flag icons into core Nov 17, 2018
lib Improve LDAP logging of connection type Dec 5, 2018
locales Updating language files Nov 21, 2018
log Add git ignore to make running Cacti from active development checkout… May 7, 2017
mibs Correct spelling of RRDtool (#1038) Oct 16, 2017
plugins Removed un-needed php closing tag Aug 13, 2017
resource Resolving Issue #2064 Oct 12, 2018
rra Manual merge of Pull Request #395 from @emeidi (Mario Aeby) Mar 12, 2017
scripts Remove extra logging Oct 10, 2018
tests/tools QA Updates for 2018-09-21 (#1957) Sep 21, 2018
.gitignore Added Mac DS_Store files to list of ignored files (#1490) Mar 23, 2018
.travis.yml Update Travis CI to configure database correctly and try the cli test… Sep 21, 2018
CHANGELOG Resolving Issue #2207 Dec 11, 2018
LICENSE Initial revision May 18, 2002
README.md Fix typo in README.md related to cli upgrade database command line Oct 7, 2018
about.php -issue: align attribute is deprecated, use class instead Nov 10, 2018
aggregate_graphs.php -issue: align attribute is deprecated, use class instead Nov 10, 2018
aggregate_items.php Alphabetize includes add missing lib/poller.php where applicable Oct 13, 2018
aggregate_templates.php Resolving Issue #2196 Dec 1, 2018
auth_changepassword.php Two minor issues in change password Oct 20, 2018
auth_login.php Remove extra output in LDAP name Nov 14, 2018
auth_profile.php Auth profile Return button does not always function well Nov 18, 2018
automation_devices.php Alphabetize includes add missing lib/poller.php where applicable Oct 13, 2018
automation_graph_rules.php Resolving Issue #1926 Sep 25, 2018
automation_networks.php Resolving Issue #1926 Sep 25, 2018
automation_snmp.php -issue: align attribute is deprecated, use class instead Nov 10, 2018
automation_templates.php Alphabetize includes add missing lib/poller.php where applicable Oct 13, 2018
automation_tree_rules.php Resolving Issue #2139 Nov 6, 2018
boost_rrdupdate.php Resolving issue #1920 (#1922) Sep 15, 2018
cacti.sql Partial fix resolving issue #2078 Oct 15, 2018
cdef.php -issue: align attribute is deprecated, use class instead Nov 10, 2018
clog.php Alphabetize includes add missing lib/poller.php where applicable Oct 13, 2018
clog_user.php Alphabetize includes add missing lib/poller.php where applicable Oct 13, 2018
cmd.php Resolving issue #2140 Nov 1, 2018
cmd_realtime.php Resolving issue #2140 Nov 1, 2018
color.php -issue: align attribute is deprecated, use class instead Nov 10, 2018
color_templates.php Resolving Issue #1926 Sep 25, 2018
color_templates_items.php -issue: align attribute is deprecated, use class instead Nov 10, 2018
data_debug.php Resolving issue #1920 (#1922) Sep 15, 2018
data_input.php Resolving issue #2138 Nov 1, 2018
data_queries.php Alphabetize includes add missing lib/poller.php where applicable Oct 13, 2018
data_source_profiles.php -issue: align attribute is deprecated, use class instead Nov 10, 2018
data_sources.php Resolving Issue #2173 Nov 21, 2018
data_templates.php Resolving Issue #2118 Nov 6, 2018
gprint_presets.php Resolving Issue #1926 Sep 25, 2018
graph.php Resolving Issue #2173 Nov 21, 2018
graph_image.php Resolving Issue #1428 May 11, 2018
graph_json.php Add a Timeout setting for Remote Agent calls Re Issue #1060 and #1604 Sep 25, 2018
graph_realtime.php -issue: align attribute is deprecated, use class instead Nov 10, 2018
graph_templates.php Resolving Issue #2207 Dec 11, 2018
graph_templates_inputs.php Resolving issue #1920 (#1922) Sep 15, 2018
graph_templates_items.php Resolving issue #1920 (#1922) Sep 15, 2018
graph_view.php Resolving Issue #2197 Dec 3, 2018
graph_xport.php -issue: align attribute is deprecated, use class instead Nov 10, 2018
graphs.php One additonal fixup for Orphan detection Nov 22, 2018
graphs_items.php Alphabetize includes add missing lib/poller.php where applicable Oct 13, 2018
graphs_new.php Alphabetize includes add missing lib/poller.php where applicable Oct 13, 2018
host.php Minor format change Nov 17, 2018
host_templates.php -issue: align attribute is deprecated, use class instead Nov 10, 2018
index.php Minor visual correction Sep 24, 2018
link.php Resolving issue #1920 (#1922) Sep 15, 2018
links.php Resolving Issue #1926 Sep 25, 2018
logout.php Consolidation for Issue #1305 Feb 5, 2018
managers.php Minor wording and format issues Dec 8, 2018
permission_denied.php -issue: align attribute is deprecated, use class instead Nov 10, 2018
plugins.php Uninstall should do a full page refreesh Dec 9, 2018
poller.php Resolving Issue #2111 Oct 23, 2018
poller_automation.php QA Language Corrections (#1960) Sep 22, 2018
poller_boost.php QA fix on log message Nov 13, 2018
poller_commands.php Missing default for poller_commands.php Oct 9, 2018
poller_dsstats.php More optimal query regarding #2175 (#2195) Dec 1, 2018
poller_maintenance.php Resolving Issue #2134 Nov 18, 2018
poller_realtime.php Resolving issue #1920 (#1922) Sep 15, 2018
poller_recovery.php More resolution to Issue #2070 Oct 13, 2018
poller_reports.php Resolving issue #1920 (#1922) Sep 15, 2018
poller_spikekill.php Resolving issue #1920 (#1922) Sep 15, 2018
pollers.php Remove year to reduce table size Oct 21, 2018
remote_agent.php Resolving Issue #2040 Oct 9, 2018
reports_admin.php Resolving Issue #1580 Apr 28, 2018
reports_user.php Resolving Issue #1580 Apr 28, 2018
rrdcleaner.php Resolving issue #1920 (#1922) Sep 15, 2018
script_server.php Minor typo in script server Oct 9, 2018
settings.php Settings replication not working Nov 18, 2018
sites.php Resolving Issue #1926 Sep 25, 2018
snmpagent_mibcache.php Resolving Issue #1824 (#1825) Aug 11, 2018
snmpagent_mibcachechild.php Resolving issue #1920 (#1922) Sep 15, 2018
snmpagent_persist.php Resolving issue #1920 (#1922) Sep 15, 2018
spikekill.php Resolving issue #1920 (#1922) Sep 15, 2018
templates_export.php Update copyright to 2018 Jan 6, 2018
templates_import.php Alphabetize includes add missing lib/poller.php where applicable Oct 13, 2018
tree.php QA on api changes Nov 10, 2018
user_admin.php Minor wording and format issues Dec 8, 2018
user_domains.php Alphabetize includes add missing lib/poller.php where applicable Oct 13, 2018
user_group_admin.php Minor wording and format issues Dec 8, 2018
utilities.php Minor tweak to logging Nov 18, 2018
vdef.php Resolving Issue #1926 Sep 25, 2018

README.md

Cacti TM

Build Status - Develop Project Status Average time to resolve an issue Percentage of open issues


Running Cacti from the develop Branch

IMPORTANT

When using source or by downloading the code directly from the repository, it is important to run the database upgrade script if you experience any errors referring to missing tables or columns in the database.

Changes to the database are committed to the cacti.sql file which is used for new installations and committed to the installer database upgrade for existing installations. Because the version number does not change until release in the develop branch, which will result in the database upgrade not running, it is important to either use the database upgrade script to force the current version or update the version in the database.

Running Database Upgrade Script

sudo -u cacti php -q cli/upgrade_database.php --forcever=`cat include/cacti_version`

Updating Cacti Version in Database

update version set cacti = '1.1.38';

Note: Change the above version to the correct version or risk the installer upgrading from a previous version.


About

Cacti is a complete network graphing solution designed to harness the power of RRDtool's data storage and graphing functionality providing the following features:

  • Remote and local data collectors
  • Device discovery
  • Automation of device and graph creation
  • Graph and device templating
  • Custom data collection methods
  • User, group and domain access controls

All of this is wrapped in an intuitive, easy to use interface that makes sense for both LAN-sized installations and complex networks with thousands of devices.

Developed in the early 2000's by Ian Berry as a high school project, it has been used by thousands of companies and enthusiasts to monitor and manage their Enterprise Networks and Data Centers.

Requirements

Cacti should be able to run on any Linux, UNIX, or Windows based operating system with the following requirements:

  • PHP 5.4+
  • MySQL 5.1+
  • RRDtool 1.3+, 1.5+ recommended
  • NET-SNMP 5.5+
  • Web Server with PHP support

PHP Must also be compiled as a standalone cgi or cli binary. This is required for data gathering via cron.

php-snmp

We mark the php-snmp module as optional. So long as you are not using ipv6 devices, or using snmpv3 engine id's or contexts, then using php-snmp should be safe. Otherwise, you should consider uninstalling the php-snmp module as it will create problems. We are aware of the problem with php-snmp and looking to get involved in the php project to resolve these issues.

RRDtool

RRDtool is available in multiple versions and a majority of them are supported by Cacti. Please remember to confirm your Cacti settings for the RRDtool version if you having problem rendering graphs.

Documentation

Documentation is available with the Cacti releases and also available for viewing on the Documentation Repository.

Contribute

Check out the main Cacti web site for downloads, change logs, release notes and more!

Community

Given the large scope of Cacti, the forums tend to generate a respectable amount of traffic. Doing your part in answering basic questions goes a long way since we cannot be everywhere at once. Contribute to the Cacti community by participating on the Cacti Community Forums.

Documentation

Get involved in creating and editing Cacti Documentation! Fork, change and submit a pull request to help improve the documentation on GitHub.

Development

Get involved in development of Cacti! Join the developers and community on GitHub!


Functionality

Data Sources

Cacti handles the gathering of data through the concept of data sources. Data sources utilize input methods to gather data from devices, hosts, databases, scripts, etc... The possibilities are endless as to the nature of the data you are able to collect. Data sources are the direct link to the underlying RRD files; how data is stored within RRD files and how data is retrieved from RRD files.

Graphs

Graphs, the heart and soul of Cacti, are created by RRDtool using the defined data sources definition.

Templating

Bringing it all together, Cacti uses and extensive template system that allows for the creation and consumption of portable templates. Graph, data source, and RRA templates allow for the easy creation of graphs and data sources out of the box. Along with the Cacti community support, templates have become the standard way to support graphing any number of devices in use in today computing and networking environments.

Data Collection (The Poller)

Local and remote data collection support with the ability to set collection intervals. Check out Data Source Profile with in Cacti for more information. Data Source Profiles can be applied to graphs at creation time or at the data template level.

Remote data collection has been made easy through replication of resources to remote data collectors. Even when connectivity to the main Cacti installation is lost from remote data collector, it will store collected data until connectivity is restored. Remote data collection only requires MySQL and HTTP/HTTPS access back to the main Cacti installation location.

Network Discovery and Automation

Cacti provides administrators a series of network automation functionality in order to reduce the time and effort it takes to setup and manage devices.

  • Multiple definable network discovery rules
  • Automation templates that specify how devices are configured

Plugin Framework

Cacti is more than a network monitoring system, it is an operations framework that allows the extension and augmentation of Cacti functionality. The Cacti Group continues to maintain an assortment of plugins. If you are looking to add features to Cacti, there is quite a bit of reference material to choose from on GitHub.

Dynamic Graph Viewing Experience

Cacti allows for many runtime augmentations while viewing graphs:

  • Dynamically loaded tree and graph view
  • Searching by string, graph and template types
  • Viewing augmentation
  • Simple time span adjustments
  • Convenient sliding time window buttons
  • Single click realtime graph option
  • Easy graph export to csv
  • RRA view with just a click

User, Groups and Permissions

Support for per user and per group permissions at a per realm (area of Cacti), per graph, per graph tree, per device, etc... The permission model in Cacti is role based access control (RBAC) to allow for flexible assignment of permissions. Support for enforcement of password complexity, password age and changing of expired passwords.

RRDtool Graph Options

Cacti supports more RRDtool Graph options including:

Graphs

  • Full right axis
  • Shift
  • Dash and dash offset
  • Alt y-grid
  • No grid fit
  • Units length
  • Tab width
  • Dynamic labels
  • Rules legend
  • Legend position

Graph Items

  • VDEF's
  • Stacked lines
  • User definable line widths
  • Text alignment

Copyright (c) 2018 - The Cacti Group, Inc.