- #INSTALL CACTI ON FREENAS INSTALL#
- #INSTALL CACTI ON FREENAS SOFTWARE#
- #INSTALL CACTI ON FREENAS PASSWORD#
Neste exemplo usei o CentOS 6.3 64 bits, mas para outras distribuições o processo é semelhante, pois a instalação do Observium é feita por SVN.
#INSTALL CACTI ON FREENAS INSTALL#
É quase uma unanimidade, pela facilidade de utilização, por estar “empacotado” para as principais distribuições GNU/Linux, bastando um apt-get/yum install cacti e o sistema já está instalado. Quando se fala em “sistema de monitoramento de rede open source”, um nome vem a cabeça: Cacti. Tagged with: cacti, centOS, Configure, Graphing, Install, Network, RedHat, Tool
Here is sample graph from one my own box:įig.02: Cacti in Action – Memory, CPU and Network Usageįig.03: Cacti in Action Disk, Load average and User stats Further readings: Select a graph type (such as In/Out bytes with total bandwidth)įinally, click on Create button. How do I create SNMP graphs?Ĭlick on “Create Graphs for this Host” link on top right side. => Make sure SNMP options are selected as follows:įinally, click on Save button. SNMP can be used to monitor server traffic. Upon first login, you will be force to change the default password.
#INSTALL CACTI ON FREENAS PASSWORD#
The default username and password for cacti is admin / admin. Uncomment the line: */5 * * * * cacti /usr/bin/php /usr/share/cacti/poller.php > /dev/null 2>&1 # service httpd restart Setup cacti cronjob Type the following command to install cacti tables (you need to type the cacti user password):Īnother option is create /usr/share/cacti/.htaccess file and password protect the directory. Sample output: /usr/share/doc/cacti-0.8.7d/cacti.sql Type the following command to find out cacti.sql path: Type the following command to install cacti: IP-MIB::ipAdEntIfIndex.127.0.0.1 = INTEGER: 1 Install cactiįirst, make sure EPEL repo is enabled. IP-MIB::ipAdEntIfIndex.67.yy.zz.eee = INTEGER: 3 Sample ouptut: IP-MIB::ipAdEntIfIndex.10.10.29.68 = INTEGER: 2 # snmpwalk -v 1 -c public localhost IP-MIB::ipAdEntIfIndex
Make sure you are getting information from snmpd: # yum install net-snmp-utils php-snmp net-snmp-libsĬonfigure snmpd, open /etc/snmp/nfĪppend / modify it as follows (see nf man page for details): com2sec local localhost publicĪccess MyRWGroup "" any noauth exact all all none Type the following command to install net-snmpd # mysql -u root -p mysql> GRANT ALL ON cacti.* TO IDENTIFIED BY 'zYn95ph43zYtq' # mysql -u root -p -e 'create database cacti'Ĭreate a user called cacti with a password called zYn95ph43zYtq, enter: # mysqladmin -u root password NEWPASSWORD Create cacti MySQL database # yum install mysql-server mysql php-mysql php-pear php-common php-gd php-devel php php-mbstring php-cli php-snmp php-pear-Net-SMTP php-mysql httpd Configure MySQL server
#INSTALL CACTI ON FREENAS SOFTWARE#
You need to install the following software on RHEL / Fedora / CentOS Linux: There is also SNMP support for those used to creating traffic graphs with MRTG. Along with being able to maintain Graphs, Data Sources, and Round Robin Archives in a database, cacti handles the data gathering. How do I install and configure common options to collect SNMP data and various other data (such as system load, network link status, hard disk space, logged in users etc) into an RRD?Ĭacti is a complete frontend to RRDTool, it stores all of the necessary information to create graphs and populate them with data in a MySQL database.
Cacti is a network graphing tool similar to MRTG.