Cacti is an open source web-based network monitoring tool designed as the front end application for the RRDtool (Round-Robin database tool), it allows a user to poll the services at an interval of time and resulting in the graph format. Cacti is generally used to get a graph data for the cpu and network bandwidth utilization, it monitors the network traffic by polling a router or switch via snmp. Here is the small tutorial about installing Cacti on Install Cacti: Install MySQL or MariaDB and other tools. Zypper install apache2 php5 php5-mysql php5-snmp mysql-community-server mysql-community-server-client net-snmp rrdtool Install Cacti and PHP extension. Zypper install cacti cacti-spine php5-xmlrpc php5-sockets php5-ldap php5-gd apache2-modphp5 Start the following services. Systemctl start apache2.service systemctl start snmpd.service systemctl start mysql.service Database: Create a database for Cacti, if you are configuring the MySQL for the first time; take a look. Mysql -u root -p Welcome to the MySQL monitor.
Commands end with; or g. Your MySQL connection id is 12 Server version: 5.6.17 openSUSE package Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or ' h' for help.
Type ' c' to clear the current input statement. Mysql Create Cacti database. Create database cacti; Grant permission to the newly created database.
GRANT ALL ON cacti. TO cactiuser@localhost IDENTIFIED BY 'cactipassword'; flush privileges; Configure Cacti: Import the default database to the cacti database./5. cacti php /srv/www/cacti/poller.php /dev/null 2&1 If you want Cacti to the default server, edit the file /etc/sysconfig/apache2 # vi /etc/sysconfig/ Add CACTI as a server flag. APACHESERVERFLAGS='CACTI' Edit apache configuration file to perform the remote installation. In apache 2.4, authorization is handled by modauthz.
Vi /etc/apache2/conf.d/cacti.conf Remove first directory stanza, Options None order deny,allow deny from all allow from localhost Place the following stanza. # httpd 2.4 Require all granted # httpd 2.2 Order deny,allow Allow from all Restart the services. Systemctl restart apache2.service systemctl restart snmpd.service systemctl restart mysql.service Enable services to start at system start-up. Systemctl enable apache2.service systemctl enable snmpd.service systemctl enable mysql.service Install Cacti: Visit the following url to start the installation of cacti.
Click on Next to continue. OpenSUSE 13.2 – Cacti Installation Main Page Scroll down for the options, please select New Install for the new installation and then click Next. OpenSUSE 13.2 – Cacti Installation Type It will show you, if there is any package is missing which is mandatory for the cacti. OpenSUSE 13.2 – Cacti Installation Package List Enter User Name and Password (Default admin / admin). OpenSUSE 13.2 – Cacti Installation User Login You must change the default password.
OpenSUSE 13.2 – Cacti Installation Change Password The following shows the dashboard of the cacti. OpenSUSE 13.2 – Cacti Console Now you can start configuring the Cacti to monitor your devices. More documentation can be found. We welcome your comments, please post your valuable comments below.