How to install Cacti tools in Gentoo system

  
                

Cacti is a network traffic monitoring graphical analysis tool, which needs to be implemented in PHP language. When installing, you need to configure the database. So many people have encountered many problems during the installation. The following small series will introduce you to everyone. How to install Cacti on a Gentoo system.

cacti using a SQL database stores configuration information, using the cron scheduler poller.php, polling device information via SNMP, information stored rrdtool rra then show up in the form of an image management network system. Plug-in functionality can be extended, such as weathermap to draw beautiful network topology maps.

Located in the official portage tree of gentoo, you can view its information.

#eix cacti

[I] net-analyzer/cacti

Available versions:

(0.8.7i) 0.8.7i

(0.8.8a) ~0.8.8a

(0.8.8b) ~0.8.8b

(0.8.8b-r1) ~0.8.8b-r1

(0.8.8b-r2) 0.8.8b-r2

{{doc snmp vhosts}}

Installed versions: 0.8.8b-r2(0.8.8b-r2)(09:00 24 minutes 16 seconds October 03, 2013) (snmp -doc -vhosts)

Homepage: http://www.cacti.net/

Description: Cacti is a complete frontend to Rrdtool

The steps to install cacti are as follows:

0. Prepare: Configure php

#vim /etc/php/apache2-php5.4/php.ini

Modify

;date.timezone =

to

date.timezone = “Asia/Shanghai”

1. Install

#emerge cacti

2, Configure permissions

Create cacti group and cactiuser user

#groupadd cacti

#useradd -g cacti -G Cron ca Ctiuser

#cd /var/www/localhost/htdocs/cacti

#chown -R cactiuser rra/log/

This step is important if the image does not exist In the case of a red cross, it is generally not done at this step.
Previous12Next Total 2 Pages

Copyright © Windows knowledge All Rights Reserved