Presentation is loading. Please wait.

Presentation is loading. Please wait.

Cacti. Cacti is a complete network graphing solution designed to harness the power of RRDTool's data storage and graphing functionality. Cacti provides.

Similar presentations


Presentation on theme: "Cacti. Cacti is a complete network graphing solution designed to harness the power of RRDTool's data storage and graphing functionality. Cacti provides."— Presentation transcript:

1 Cacti

2 Cacti is a complete network graphing solution designed to harness the power of RRDTool's data storage and graphing functionality. Cacti provides a fast poller, advanced graph templating, multiple data acquisition methods, and user management features out of the box. All of this is wrapped in an intuitive, easy to use interface that makes sense for LAN-sized installations up to complex networks with hundreds of devices.

3 Why Cacti ? Nice user interface Easy to install Easy to setup

4 Prerequisited Apache2 webserver PHP support MySQL database

5 Install #apt-get install cacti #groupadd cacti #useradd -g cacti cacti #cd /var/lib/cacti #chown -R cacti rra/ log/

6 Configure MySQL #mysql -u root If necessary create a password for your mysql root account. mysql>SET PASSWORD FOR root@localhost = PASSWORD ('your_password_here'); mysql>FLUSH PRIVILEGES; Create the database : mysql>CREATE DATABASE cacti;mysql>GRANT ALL ON cacti.* TO cacti_user@localhost IDENTIFIED BY‘ ‘your_password_here’; mysql>FLUSH PRIVILEGES; quit

7 Include/config.php /* make sure these values reflect your actual database/host/user/password */ $database_type = "mysql"; $database_default = "cacti"; $database_hostname = "localhost"; $database_username = "cacti"; $database_password = "your_password"; $database_port = "3306";

8 Add a crontab #su – cacti $crontab -e add this line to your crontab # m h dom mon dow command */5 * * * * /usr/bin/php -q /usr/share/cacti/site/poller.php > /dev/null 2>&1

9 Finish him ! http://localhost/cacti Follow instructions

10 Prerequisites for adding a host Make sure to at least have the following : Hostname IP Version set to v2 (remember snmp lesson) The right snmp community

11 Adding a host to cacti

12

13

14 Finish the host If this is ok, you can start enabling what you want to monitor. Edit your device and start adding the necessary graph templates or Data Queries. After this you need to generate the graphs. You can do this by clicking the Url “Create graphs for this host” on the upper right.


Download ppt "Cacti. Cacti is a complete network graphing solution designed to harness the power of RRDTool's data storage and graphing functionality. Cacti provides."

Similar presentations


Ads by Google