This document provides instructions on how to install and configure Cacti, an open source network and system monitoring tool, on a Linux server. It involves installing key packages like Apache, MySQL, PHP, SNMP, and RRDTool. The steps include configuring the services, creating a MySQL database for Cacti, importing the Cacti data tables, and configuring Apache to access Cacti. Finally, it covers initial Cacti setup like identifying versions, completing the installation wizard, resetting the admin password, and creating initial graphs.
Wireless LAN Controllers commonly recognized as WLC is regarded as one of the many important areas of a wireless network that is quick and effective. With the particular help of wireless networking devices, data of two various types can be "cable" on the network: the very first one is the data over the data aircraft, this is the data that is being to a wireless customer and received through the same and the 2nd one is the information over the control plane. Here the complete management of the data will be done which is often used for producing the wireless networks work properly. If there is no control plane, then there is absolutely no possibility of the centrally managed system plus hence no coordination.
Wireless LAN Controllers commonly recognized as WLC is regarded as one of the many important areas of a wireless network that is quick and effective. With the particular help of wireless networking devices, data of two various types can be "cable" on the network: the very first one is the data over the data aircraft, this is the data that is being to a wireless customer and received through the same and the 2nd one is the information over the control plane. Here the complete management of the data will be done which is often used for producing the wireless networks work properly. If there is no control plane, then there is absolutely no possibility of the centrally managed system plus hence no coordination.
7 Key Problems to Avoid in ISO 27001 ImplementationPECB
What are 7 key problems that we should avoid when implementing ISO 27001? What are the most common causes for these problems? How can we reduce or avoid these problems without reducing the quality of the implementation?
Main points covered:
• Learn what the most common causes of the ISO 27001 project failures are
• See what the steps to overcome these problems are
• Learn how to speed up your implementation without reducing the quality of the implementation
Our presenter for this webinar was Mr. Dejan Kosutic who is the main ISO 27001 expert Advisera. He has extensive working experience both as a tutor and as a consultant – he is an Approved Tutor for ISMS Lead Auditor courses and delivers various ISO 27001 in-person courses throughout Europe as well as online courses via webinars. In his consulting career, he works with clients from the financial sector, government, and small and medium-sized business including IT companies.
Link of the recorded session published on YouTube: https://youtu.be/QD6kWvD76p4
7 Key Problems to Avoid in ISO 27001 ImplementationPECB
What are 7 key problems that we should avoid when implementing ISO 27001? What are the most common causes for these problems? How can we reduce or avoid these problems without reducing the quality of the implementation?
Main points covered:
• Learn what the most common causes of the ISO 27001 project failures are
• See what the steps to overcome these problems are
• Learn how to speed up your implementation without reducing the quality of the implementation
Our presenter for this webinar was Mr. Dejan Kosutic who is the main ISO 27001 expert Advisera. He has extensive working experience both as a tutor and as a consultant – he is an Approved Tutor for ISMS Lead Auditor courses and delivers various ISO 27001 in-person courses throughout Europe as well as online courses via webinars. In his consulting career, he works with clients from the financial sector, government, and small and medium-sized business including IT companies.
Link of the recorded session published on YouTube: https://youtu.be/QD6kWvD76p4
Search and Society: Reimagining Information Access for Radical FuturesBhaskar Mitra
The field of Information retrieval (IR) is currently undergoing a transformative shift, at least partly due to the emerging applications of generative AI to information access. In this talk, we will deliberate on the sociotechnical implications of generative AI for information access. We will argue that there is both a critical necessity and an exciting opportunity for the IR community to re-center our research agendas on societal needs while dismantling the artificial separation between the work on fairness, accountability, transparency, and ethics in IR and the rest of IR research. Instead of adopting a reactionary strategy of trying to mitigate potential social harms from emerging technologies, the community should aim to proactively set the research agenda for the kinds of systems we should build inspired by diverse explicitly stated sociotechnical imaginaries. The sociotechnical imaginaries that underpin the design and development of information access technologies needs to be explicitly articulated, and we need to develop theories of change in context of these diverse perspectives. Our guiding future imaginaries must be informed by other academic fields, such as democratic theory and critical theory, and should be co-developed with social science scholars, legal scholars, civil rights and social justice activists, and artists, among others.
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...DanBrown980551
Do you want to learn how to model and simulate an electrical network from scratch in under an hour?
Then welcome to this PowSyBl workshop, hosted by Rte, the French Transmission System Operator (TSO)!
During the webinar, you will discover the PowSyBl ecosystem as well as handle and study an electrical network through an interactive Python notebook.
PowSyBl is an open source project hosted by LF Energy, which offers a comprehensive set of features for electrical grid modelling and simulation. Among other advanced features, PowSyBl provides:
- A fully editable and extendable library for grid component modelling;
- Visualization tools to display your network;
- Grid simulation tools, such as power flows, security analyses (with or without remedial actions) and sensitivity analyses;
The framework is mostly written in Java, with a Python binding so that Python developers can access PowSyBl functionalities as well.
What you will learn during the webinar:
- For beginners: discover PowSyBl's functionalities through a quick general presentation and the notebook, without needing any expert coding skills;
- For advanced developers: master the skills to efficiently apply PowSyBl functionalities to your real-world scenarios.
GraphRAG is All You need? LLM & Knowledge GraphGuy Korland
Guy Korland, CEO and Co-founder of FalkorDB, will review two articles on the integration of language models with knowledge graphs.
1. Unifying Large Language Models and Knowledge Graphs: A Roadmap.
https://arxiv.org/abs/2306.08302
2. Microsoft Research's GraphRAG paper and a review paper on various uses of knowledge graphs:
https://www.microsoft.com/en-us/research/blog/graphrag-unlocking-llm-discovery-on-narrative-private-data/
UiPath Test Automation using UiPath Test Suite series, part 4DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 4. In this session, we will cover Test Manager overview along with SAP heatmap.
The UiPath Test Manager overview with SAP heatmap webinar offers a concise yet comprehensive exploration of the role of a Test Manager within SAP environments, coupled with the utilization of heatmaps for effective testing strategies.
Participants will gain insights into the responsibilities, challenges, and best practices associated with test management in SAP projects. Additionally, the webinar delves into the significance of heatmaps as a visual aid for identifying testing priorities, areas of risk, and resource allocation within SAP landscapes. Through this session, attendees can expect to enhance their understanding of test management principles while learning practical approaches to optimize testing processes in SAP environments using heatmap visualization techniques
What will you get from this session?
1. Insights into SAP testing best practices
2. Heatmap utilization for testing
3. Optimization of testing processes
4. Demo
Topics covered:
Execution from the test manager
Orchestrator execution result
Defect reporting
SAP heatmap example with demo
Speaker:
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
Key Trends Shaping the Future of Infrastructure.pdfCheryl Hung
Keynote at DIGIT West Expo, Glasgow on 29 May 2024.
Cheryl Hung, ochery.com
Sr Director, Infrastructure Ecosystem, Arm.
The key trends across hardware, cloud and open-source; exploring how these areas are likely to mature and develop over the short and long-term, and then considering how organisations can position themselves to adapt and thrive.
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Jeffrey Haguewood
Sidekick Solutions uses Bonterra Impact Management (fka Social Solutions Apricot) and automation solutions to integrate data for business workflows.
We believe integration and automation are essential to user experience and the promise of efficient work through technology. Automation is the critical ingredient to realizing that full vision. We develop integration products and services for Bonterra Case Management software to support the deployment of automations for a variety of use cases.
This video focuses on the notifications, alerts, and approval requests using Slack for Bonterra Impact Management. The solutions covered in this webinar can also be deployed for Microsoft Teams.
Interested in deploying notification automations for Bonterra Impact Management? Contact us at sales@sidekicksolutionsllc.com to discuss next steps.
Connector Corner: Automate dynamic content and events by pushing a buttonDianaGray10
Here is something new! In our next Connector Corner webinar, we will demonstrate how you can use a single workflow to:
Create a campaign using Mailchimp with merge tags/fields
Send an interactive Slack channel message (using buttons)
Have the message received by managers and peers along with a test email for review
But there’s more:
In a second workflow supporting the same use case, you’ll see:
Your campaign sent to target colleagues for approval
If the “Approve” button is clicked, a Jira/Zendesk ticket is created for the marketing design team
But—if the “Reject” button is pushed, colleagues will be alerted via Slack message
Join us to learn more about this new, human-in-the-loop capability, brought to you by Integration Service connectors.
And...
Speakers:
Akshay Agnihotri, Product Manager
Charlie Greenberg, Host
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualityInflectra
In this insightful webinar, Inflectra explores how artificial intelligence (AI) is transforming software development and testing. Discover how AI-powered tools are revolutionizing every stage of the software development lifecycle (SDLC), from design and prototyping to testing, deployment, and monitoring.
Learn about:
• The Future of Testing: How AI is shifting testing towards verification, analysis, and higher-level skills, while reducing repetitive tasks.
• Test Automation: How AI-powered test case generation, optimization, and self-healing tests are making testing more efficient and effective.
• Visual Testing: Explore the emerging capabilities of AI in visual testing and how it's set to revolutionize UI verification.
• Inflectra's AI Solutions: See demonstrations of Inflectra's cutting-edge AI tools like the ChatGPT plugin and Azure Open AI platform, designed to streamline your testing process.
Whether you're a developer, tester, or QA professional, this webinar will give you valuable insights into how AI is shaping the future of software delivery.
Neuro-symbolic is not enough, we need neuro-*semantic*Frank van Harmelen
Neuro-symbolic (NeSy) AI is on the rise. However, simply machine learning on just any symbolic structure is not sufficient to really harvest the gains of NeSy. These will only be gained when the symbolic structures have an actual semantics. I give an operational definition of semantics as “predictable inference”.
All of this illustrated with link prediction over knowledge graphs, but the argument is general.
State of ICS and IoT Cyber Threat Landscape Report 2024 previewPrayukth K V
The IoT and OT threat landscape report has been prepared by the Threat Research Team at Sectrio using data from Sectrio, cyber threat intelligence farming facilities spread across over 85 cities around the world. In addition, Sectrio also runs AI-based advanced threat and payload engagement facilities that serve as sinks to attract and engage sophisticated threat actors, and newer malware including new variants and latent threats that are at an earlier stage of development.
The latest edition of the OT/ICS and IoT security Threat Landscape Report 2024 also covers:
State of global ICS asset and network exposure
Sectoral targets and attacks as well as the cost of ransom
Global APT activity, AI usage, actor and tactic profiles, and implications
Rise in volumes of AI-powered cyberattacks
Major cyber events in 2024
Malware and malicious payload trends
Cyberattack types and targets
Vulnerability exploit attempts on CVEs
Attacks on counties – USA
Expansion of bot farms – how, where, and why
In-depth analysis of the cyber threat landscape across North America, South America, Europe, APAC, and the Middle East
Why are attacks on smart factories rising?
Cyber risk predictions
Axis of attacks – Europe
Systemic attacks in the Middle East
Download the full report from here:
https://sectrio.com/resources/ot-threat-landscape-reports/sectrio-releases-ot-ics-and-iot-security-threat-landscape-report-2024/
Epistemic Interaction - tuning interfaces to provide information for AI supportAlan Dix
Paper presented at SYNERGY workshop at AVI 2024, Genoa, Italy. 3rd June 2024
https://alandix.com/academic/papers/synergy2024-epistemic/
As machine learning integrates deeper into human-computer interactions, the concept of epistemic interaction emerges, aiming to refine these interactions to enhance system adaptability. This approach encourages minor, intentional adjustments in user behaviour to enrich the data available for system learning. This paper introduces epistemic interaction within the context of human-system communication, illustrating how deliberate interaction design can improve system understanding and adaptation. Through concrete examples, we demonstrate the potential of epistemic interaction to significantly advance human-computer interaction by leveraging intuitive human communication strategies to inform system design and functionality, offering a novel pathway for enriching user-system engagements.
When stars align: studies in data quality, knowledge graphs, and machine lear...
How to Install and Configure Cacti on Linux
1. How To Install and Configure Cacti on Linux
i | P a g e
Contents
Overview.......................................................................................................................................................1
Applies To......................................................................................................................................................1
Slideshare Documentation – Screenshots ....................................................................................................1
Cacti NNM – Pre-requisites...........................................................................................................................1
Query – Packages Installed ...........................................................................................................................1
Step 1: Install Packages.................................................................................................................................2
Install Apache2..........................................................................................................................................2
Install MySQL ............................................................................................................................................3
Install Net-SNMP.......................................................................................................................................4
Install PHP .................................................................................................................................................5
Install PHP SNMP ..................................................................................................................................6
List PHP – Configuration Files Loaded.......................................................................................................7
Install RRDTool..........................................................................................................................................7
Step 2: Configure Apache Service (HTTPD)...................................................................................................7
Apache Service - Status.............................................................................................................................7
Apache Service - OS Startup Status...........................................................................................................8
Apache Service – Modify OS Startup Status .............................................................................................8
Starting Apache Webserver......................................................................................................................8
Configure Apache - ServerName...............................................................................................................8
Step 3: Configure MySQL Service (mysqld)...................................................................................................9
MySQL Service - Status .............................................................................................................................9
MySQL Service - OS Startup Status ...........................................................................................................9
MySQL Service – Modify OS Startup Status..............................................................................................9
Setup MySQL Database Server .................................................................................................................9
Connect MySQL Database...................................................................................................................10
Set MySQL root password...................................................................................................................10
MySQL Login – Root User....................................................................................................................10
Step 4: Configure SNMP Service .................................................................................................................11
Default SNMP Configuration...................................................................................................................11
Counting SNMP Line – Default Config.................................................................................................11
Minimal SNMP Configuration .................................................................................................................11
2. How To Install and Configure Cacti on Linux
ii | P a g e
Create SNMP Configuration File .........................................................................................................11
Test SNMP Configuration....................................................................................................................11
Counting SNMP Line – Customized Config..........................................................................................11
SNMP Service - Status.............................................................................................................................12
SNMP Service - OS Startup Status...........................................................................................................12
SNMP Service – Modify OS Startup Status..............................................................................................12
Starting SNMP service.............................................................................................................................12
Step 4: Install RRDTool Package..................................................................................................................12
Step 5: Install Cacti Package........................................................................................................................13
Configure MySQL for Cacti......................................................................................................................13
Create and Configure cacti User .........................................................................................................13
Test MySQL connection – Cacti User ..................................................................................................13
Find Cacti SQL Script ...........................................................................................................................14
Import Cacti Database Table Script.....................................................................................................14
Verify Cacti Database Import Status...................................................................................................14
Configure cacti DB Connection Parameters........................................................................................14
Edit DB Connection Parameters..........................................................................................................14
Configure Apache for Cacti .................................................................................................................15
Restart httpd Service ..........................................................................................................................15
Set Cron job for cacti pooling..............................................................................................................16
Step 6: Cacti Monitoring Setup...................................................................................................................16
Tool Information.....................................................................................................................................16
Identify SNMP & RRDTool Versions....................................................................................................17
Launch Cacti Application.........................................................................................................................17
App Step 1 – Welcome screen ............................................................................................................17
App Step 2 – Installation Type ............................................................................................................17
App Step 3 – Executables Path............................................................................................................18
App Step 4 – First Login.......................................................................................................................19
App Step 5 – Reset Password (admin) ................................................................................................19
App Step 6 – Create Graphs................................................................................................................19
3. How To Install and Configure Cacti
1 | P a g e
Overview
Cacti tool is an open source web based network monitoring and system monitoring graphing solution for
IT business.
Cacti enables a user to poll services status, performance of different devices viz., system, network,
processes, etc. At regular intervals to create graphs on resulting data using RRDtool. By default data is
pooled every 5 minutes.
Applies To
CentOS 6.x / RHEL 6.x
Slideshare Documentation – Screenshots
This documentation is available with screenshots at http://slideshare.net
Cacti NNM – Pre-requisites
Few of the major pre-requisites are;
Apache A Web server to display network graphs created by PHP and RRDTool.
MySQL A Database server to store cacti information.
PHP A script module to create graphs using RRDTool.
PHP-SNMP A PHP extension for SNMP to access data.
NET-SNMP A SNMP (Simple Network Management Protocol) is used to manage
network.
RRDTool A database tool to manage and retrieve time series data like CPU load,
Network Bandwidth etc.
Query – Packages Installed
rpm -qa | grep ^httpd*
rpm -qa | grep ^mysql*
rpm -qa | grep ^net*
rpm -qa | grep ^php-*
rpm -qa | grep ^rrd*
4. How To Install and Configure Cacti
2 | P a g e
Step 1: Install Packages
Apache2 yum install httpd httpd-devel
MySQL yum install mysql mysql-server
PHP yum install php-mysql php-pear php-common php-gd php-devel php php-mbstring php-cli
SNMP yum install net-snmp-utils php-snmp net-snmp-libs php-pear-Net-SMTP
RRD yum install rrdtool
Install Apache2
Install the Apache2 package using yum and dependent packages.
yum install httpd httpd-devel
5. How To Install and Configure Cacti
3 | P a g e
Install MySQL
Install the MySQL package using yum and dependent packages.
yum install mysql mysql-server
6. How To Install and Configure Cacti
4 | P a g e
Install Net-SNMP
Install the Net-SNMP package using yum and dependent packages.
yum install net-snmp-utils php-snmp net-snmp-libs php-pear-NET-SMTP
7. How To Install and Configure Cacti
5 | P a g e
Install PHP
Install the PHP package using yum and dependent packages.
yum install php-mysql php-pear php-common php-gd php-devel php php-mbstring php-cli
8. How To Install and Configure Cacti
6 | P a g e
Install PHP SNMP
To install php snmp packages using yum and dependent packages.
yum install net-snmp-utils php-snmp net-snmp-libs php-pear-NET-SMTP
9. How To Install and Configure Cacti
7 | P a g e
List PHP – Configuration Files Loaded
After installation, you can list the php configurations loaded, execute the command “php --ini”"
Output:
Install RRDTool
Install the RRDTool package using yum and dependent packages.
yum install rrdtool
Step 2: Configure Apache Service (HTTPD)
Apache Service - Status
Check the status of httpd, execute the command
service httpd status
Output:
httpdd service status:
httpd is stopped
10. How To Install and Configure Cacti
8 | P a g e
Apache Service - OS Startup Status
Check the OS startup status of apache web server service, execute the command
chkconfig httpd --list
Output:
httpd service start-up setting:
httpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
Apache Service – Modify OS Startup Status
Modify OS startup status of apache web server; service to auto-start at levels (3, 4, 5) execute the
command
chkconfig httpd on
Output:
httpd service start-up setting:
httpd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
Starting Apache Webserver
service httpd start
Output:
Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using
192.168.2.92 for ServerName
[ OK ]
Configure Apache - ServerName
vi /etc/httpd/conf/httpd.conf
Find and replace attribute value of “ServerName” to respective hostname or FQDN of the host and restart
httpd service.
Example:
ServerName etpl01nm01pr.ftech.com
service httpd restart
Output:
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
After restarting httpd service, access in browser access the URL http://vcp01tst02pr.ftech.com/ or
http://<IP Address> default apache page should be displayed.
11. How To Install and Configure Cacti
9 | P a g e
Step 3: Configure MySQL Service (mysqld)
MySQL Service - Status
Check the status of mysql database, execute the command
service mysqld status
Output:
mysqld service status:
mysqld is stopped
MySQL Service - OS Startup Status
Check the OS startup status of mysql database service, execute the command
chkconfig mysqld --list
Output:
mysqld service start-up setting:
mysqld 0:off 1:off 2:off 3:off 4:off 5:off 6:off
MySQL Service – Modify OS Startup Status
Modify OS startup of MySQL Database server; service to auto-start at levels (3, 4, 5) execute the command
chkconfig --levels 345 mysqld on
Output:
mysqld service start-up setting:
mysqld 0:off 1:off 2:off 3:on 4:on 5:on 6:off
Setup MySQL Database Server
When you start the mysqld daemon for the first time, default database would be created and further
hardening can be considered later on.
service mysqld start
Output:
mysqld service starting:
Initializing MySQL database: Installing MySQL system tables...
OK
Filling help tables...
OK
To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system
12. How To Install and Configure Cacti
10 | P a g e
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h vcp01tst02pr password 'new-password'
Alternatively you can run:
/usr/bin/mysql_secure_installation
which will also give you the option of removing the test
databases and anonymous user created by default. This is
strongly recommended for production servers.
See the manual for more instructions.
You can start the MySQL daemon with:
cd /usr ; /usr/bin/mysqld_safe &
You can test the MySQL daemon with mysql-test-run.pl
cd /usr/mysql-test ; perl mysql-test-run.pl
Please report any problems with the /usr/bin/mysqlbug script!
[ OK ]
Starting mysqld: [ OK ]
Connect MySQL Database
By default no password is set, you will be logged into mysql prompt. You can test by executing command;
since we have already configured with root password. Without passing password to mysql command it
will fail to connect.
mysql
mysql> q
Set MySQL root password
To set MySQL root user password; execute the command
/usr/bin/mysqladmin -u root -h localhost password 'your-new-password'
or
/usr/bin/mysqladmin -u root -h vcp01tst02pr password 'your-new-password'
MySQL Login – Root User
mysql -uroot -proot123$
mysql> q
13. How To Install and Configure Cacti
11 | P a g e
Step 4: Configure SNMP Service
Default SNMP Configuration
No configuration changes are needed “/etc/snmp/snmpd.conf” file; to test execute the command
snmpwalk -v 1 -c public -O e 127.0.0.1 | head -1
Output:
SNMPv2-MIB::sysDescr.0 = STRING: Linux vcp01tst02pr 2.6.32-358.23.2.el6.x86_64 #1 SMP Wed
Oct 16 18:37:12 UTC 2013 x86_64
Counting SNMP Line – Default Config
snmpwalk -v 1 -c public -O e 127.0.0.1 | wc -l
Output:
33
Minimal SNMP Configuration
Optionally, if you would like to customize or minimal configuration;
mv /etc/snmp/snmpd.conf /etc/snmp/snmpd.conf.original
Create SNMP Configuration File
vi /etc/snmp/snmpd.conf
Add the below lines;
rocommunity public
syslocation "VCP, Bangalore"
syscontact mvcp@domain.com
Test SNMP Configuration
snmpwalk -v 1 -c public -O e 127.0.0.1 | head -1
Output:
SNMPv2-MIB::sysDescr.0 = STRING: Linux vcp01tst02pr 2.6.32-358.23.2.el6.x86_64 #1 SMP Wed
Oct 16 18:37:12 UTC 2013 x86_64
Counting SNMP Line – Customized Config
snmpwalk -v 1 -c public -O e 127.0.0.1 | wc -l
Output:
3304
14. How To Install and Configure Cacti
12 | P a g e
SNMP Service - Status
Check the status of snmp service, execute the command
service snmpd status
Output:
snmpd service status:
snmpd is stopped
SNMP Service - OS Startup Status
Check the OS startup status of apache web server service, execute the command
chkconfig snmpd --list
Output:
snmpd service start-up setting:
snmpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
SNMP Service – Modify OS Startup Status
Modify OS startup status of snmp; service to auto-start at levels (3, 4, 5) execute the command
chkconfig --levels 345 snmpd on
Output:
snmpd service start-up setting:
snmpd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
Starting SNMP service
service snmpd start
Output:
snmpd service starting:
Starting snmpd: [ OK ]
Step 4: Install RRDTool Package
yum install rrdtool
15. How To Install and Configure Cacti
13 | P a g e
Step 5: Install Cacti Package
yum install cacti
Configure MySQL for Cacti
In order to cacti to work, configuration have to be done, the steps are listed below.
Create and Configure cacti User
mysql -uroot -proot123$
mysql> create database cacti;
mysql> use cacti;
mysql> grant all privileges on *.* to cacti@localhost identified by 'cacti123$';
mysql> grant all privileges on *.* to cacti@vcp01tst02pr identified by 'cacti123$';
mysql> flush privileges;
mysql> q
Test MySQL connection – Cacti User
mysql -ucacti -pcacti123$
mysql>
mysql> q
16. How To Install and Configure Cacti
14 | P a g e
Find Cacti SQL Script
rpm -ql cacti | grep "cacti.sql"
Output:
/usr/share/doc/cacti-0.8.8b/cacti.sql
Import Cacti Database Table Script
mysql -ucacti -pcacti123$ cacti < /usr/share/doc/cacti-0.8.8b/cacti.sql
Verify Cacti Database Import Status
mysql -ucacti -pcacti123$ -hlocalhost cacti
mysql> show tables;
Note: show tables; query should list 52 rows (tables).
Configure cacti DB Connection Parameters
To configure cacti application database connection parameters, update MySQL database connection
parameters settings in the file
vi /etc/cacti/db.php
Edit DB Connection Parameters
/* 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 = "cacti123$";
$database_port = "3306";
$database_ssl = false;
17. How To Install and Configure Cacti
15 | P a g e
Configure Apache for Cacti
In order to access cacti on web, edit and append below configuration lines the in file
vi /etc/httpd/conf.d/cacti.conf
Sample Configuration snippet:
#
# Add cacti alias and point the directory where cacti is installed.
#
Alias /cacti /usr/share/cacti
#
# Add cacti access restrictions from specific IP range / subnet
#
<Directory /usr/share/cacti/>
Order Deny,Allow
Deny from all
Allow from 192.168.1.0/24
Allow from 192.168.2.0/24
</Directory>
Restart httpd Service
service httpd restart
Output:
Apache Service Restart:
Stopping httpd: [ OK ]
Starting httpd: [Fri Mar 18 21:15:23 2014] [warn] The Alias directive in
/etc/httpd/conf.d/cacti.conf at line 59 will probably never match because it overlaps an earlier
Alias.
[ OK ]
Note: In this case there are duplicate alias for “cacti”; so remove one of the aliases for defined
cacti, save and restart apache service.
18. How To Install and Configure Cacti
16 | P a g e
Set Cron job for cacti pooling
Cacti pools data every 5 minutes once, for pooling data cron job has be created, add the crontab entry as
per the below line.
crontab -e
*/5 * * * * cacti /usr/bin/php /usr/share/cacti/poller.php > /dev/null 2>&1
crontab -l
Note: data pooling is done via snmp; ensure SNMP is configured for the device / server that needs to be
monitored on cacti.
Step 6: Cacti Monitoring Setup
Before you launch Cacti monitoring application, make sure you have installed all the required packages
and their respective binaries exists.
For NET-SNMP & RRDTool identify the versions installed on the server, you can query for package
installed, check “App Step 3 - Executables Path” section in “Launching Cacti”.
This information is required while configuring cacti application.
Tool Information
Tool Binary Find Default Path
RRDTool Rrdtool which rrdtool /usr/bin/
PHP Php which php /usr/bin/
SNMP Walk snmpwalk which snmpwalk /usr/bin/
SNMP Get snmpget which snmpget /usr/bin/
SNMP Bulk Walk snmpbulkwalk which snmpbulkwalk /usr/bin/
SNMP Get Next snmpgetnext which snmpgetnext /usr/bin/
Cacti Logger cacti.log ls /usr/share/cacti/log /usr/share/cacti/log
19. How To Install and Configure Cacti
17 | P a g e
Identify SNMP & RRDTool Versions
SNMP Utility Version
rpm -qa | grep net-snmp
RRDTool Version
rpm -qa | grep rrdtool
Launch Cacti Application
To launch and configure cacti; in the browser access the URL http://<Your Cacti Host>/cacti/ or
http://<Cacti Host IP Address>/cacti/;
App Step 1 – Welcome screen
First run; initial setup screen; click on “Next” button.
App Step 2 – Installation Type
Choose the option whether the installation is a “New Install” or “upgrade”
20. How To Install and Configure Cacti
18 | P a g e
App Step 3 – Executables Path
From the “Tool Information” section the collated information should be validated.
21. How To Install and Configure Cacti
19 | P a g e
App Step 4 – First Login
In Login Screen, enter default username as “admin” and password as “admin”
App Step 5 – Reset Password (admin)
You need to reset the default password to a new password
App Step 6 – Create Graphs
Upon launching, click on “Create Graphs” and choose the host that you would like to get generate the
graphs.