Support:Cacti: Difference between revisions

From Arianne
Jump to navigation Jump to search
imported>Kymara
Created page with ""Cacti is designed to be a complete graphing solution based on the RRDTool's framework. Its goal is to make a network administrator's job easier by taking care of all the necessa..."
imported>Kymara
Created page with ""Cacti is designed to be a complete graphing solution based on the RRDTool's framework. Its goal is to make a network administrator's job easier by taking care of all the necessa..."
 
(No difference)

Latest revision as of 08:04, 7 June 2011

"Cacti is designed to be a complete graphing solution based on the RRDTool's framework. Its goal is to make a network administrator's job easier by taking care of all the necessary details necessary to create meaningful graphs."


Nagios Interface

Runs on an apache2 server, <servername>.

Documentation

Installation

apt-get install cacti

Installs cacti and sets up the GUI on Apache and the MySQL database on installation.

Cacti installation at /etc/cacti/
Cacti scripts at /usr/share/cacti/site/scripts

NetSNMP needs to be installed on each host that is to be monitored (comes installed with Ubuntu).

The SNMP Daemon also needs to be installed and configured to receive requests from the Cacti server.

apt-get install snmpd

Then edit the snmpd.conf file and restart the snmp daemon (/etc/init.d/snmpd restart)

Snmpd.conf

Adding Templates

To add a template that you have downloaded, click on the import templates option on the Cacti GUI and follow the instructions. Some templates will have a script associated with them, to run the data queries needed for the graphs. These scripts should be placed in /usr/share/cacti/site/scripts on <servername>.

Possible solutions if graphs stop updating

01/06/11 - Poller stopped updating, tried several solutions to fix issue. Unsure which one worked:

  • Ran php -q /usr/share/cacti/site/poller.php
  • Ran php -q /usr/share/cacti/site/cmd.php
  • Restarted Apache2
  • Restarted Mysql
  • Restarted Cron

Most likely the Cron restart that fixed it as it was complaining about Cron being out of sync, however not 100% sure on that.