{"id":7166,"date":"2020-10-28T22:36:24","date_gmt":"2020-10-28T19:36:24","guid":{"rendered":"https:\/\/kifarunix.com\/?p=7166"},"modified":"2024-03-14T23:20:59","modified_gmt":"2024-03-14T20:20:59","slug":"easily-install-and-setup-cacti-on-ubuntu-20-04","status":"publish","type":"post","link":"https:\/\/kifarunix.com\/easily-install-and-setup-cacti-on-ubuntu-20-04\/","title":{"rendered":"Easily Install and Setup Cacti on Ubuntu 20.04"},"content":{"rendered":"\n<p>In this tutorial, you will learn how to easily install and setup Cacti on Ubuntu 20.04. <em><a aria-label=\" (opens in a new tab)\" href=\"https:\/\/www.cacti.net\/what_is_cacti.php\" target=\"_blank\" rel=\"noreferrer noopener\" class=\"rank-math-link\">Cacti<\/a> is a complete frontend to RRDTool. <\/em>RRDTool is a time-series data storage and display system. It stores and display time-series data (e.g. network bandwidth, machine-room temperature, server load average) in a database. It stores the data in Round Robin Databases (RRDs), a very compact way that will not expand over time. RRDtool processes the extracted data to enforce a certain data density, allowing for useful graphical representation of data values. The Cacti<em> frontend is completely PHP driven. Along with being able to maintain Graphs, Data Sources, and Round Robin Archives in a database, cacti handles the data gathering. There is also SNMP support for those used to creating traffic graphs with MRTG<\/em>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Cacti Feature Highlights<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Remote data collectors (Pollers)<\/li>\n\n\n\n<li>Network discovery and automation<\/li>\n\n\n\n<li>Device management automation<\/li>\n\n\n\n<li>Expanded color sets<\/li>\n\n\n\n<li>Enhanced user, group and domain management<\/li>\n\n\n\n<li>User interface enhancements<\/li>\n\n\n\n<li>Additional RRDtool graph option support<\/li>\n\n\n\n<li>Multiple poller intervals<\/li>\n\n\n\n<li>Merged almost 20 plugins into core<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Installing Cacti on Ubuntu 20.04<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Prerequisites<\/h3>\n\n\n\n<p>Below are the requirements for setting up Cacti;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>RRDTool&nbsp;1.0.49 or greater, 1.4+ recommended<\/li>\n\n\n\n<li>MySQL&nbsp;5.x or greater<\/li>\n\n\n\n<li>PHP&nbsp;5.1 or greater<\/li>\n\n\n\n<li>Web Server that supports PHP&nbsp;e.g. Apache, Nginx<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Run System Update<\/h3>\n\n\n\n<p>To begin with, ensure your system package cache is up-to-date;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>apt update<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"install-rrdtool-ubuntu-20.04\"><a href=\"#install-rrdtool-ubuntu-20.04\" class=\"rank-math-link\">Install RRDTool on Ubuntu 20.04<\/a><\/h3>\n\n\n\n<p>As stated in the requirements section above, RRDTool 1.4+ is recommended for use with Cacti. In the default Ubuntu 20.04 repos, RRDTool 1.7.2 is available.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>apt-cache policy rrdtool<\/code><\/pre>\n\n\n\n<pre class=\"scroll-box\"><code>\nrrdtool:\n  Installed: (none)\n  Candidate: 1.7.2-3build2\n  Version table:\n     1.7.2-3build2 500\n        500 http:\/\/ke.archive.ubuntu.com\/ubuntu focal\/main amd64 Packages\n<\/code><\/pre>\n\n\n\n<p>Therefore, you can install RRDTool on Ubuntu 20.04 by running the command below;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>apt install rrdtool -y<\/code><\/pre>\n\n\n\n<p>You also need to install SNMP by running the command below;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>apt install snmpd snmp snmp-mibs-downloader libsnmp-dev<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"install-mariadb-ubuntu-20.04\"><a href=\"#install-mariadb-ubuntu-20.04\" class=\"rank-math-link\">Install and Setup MySQL\/MariaDB Database on Ubuntu 20.04<\/a><\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">Install MariaDB 10.5 on Ubuntu 20.04<\/h4>\n\n\n\n<p>In this setup, we will use MariaDB 10.5 as our database backend. Thus, run the commands below to install and setup MariaDB 10.5 on Ubuntu 20.04;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>apt-key adv --fetch-keys 'https:\/\/mariadb.org\/mariadb_release_signing_key.asc'<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>add-apt-repository 'deb [arch=amd64] http:\/\/mariadb.mirror.globo.tech\/repo\/10.5\/ubuntu focal main'<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>apt update<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>apt install mariadb-server mariadb-client<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Securing MariaDB<\/h4>\n\n\n\n<p>MariaDB ships with initial security script which can be run to remove test databases, disallow remote root login, remove anonymous users.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>mysql_secure_installation<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Create Cacti Database and Database User<\/h4>\n\n\n\n<p>Login to MariaDB and create the Cacti database and database user. Be sure to replace the database name and the username and password accordingly.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>mysql<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>create database rrdtooldb CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>grant all on rrdtooldb.* to rrdtooladmin@localhost identified by 'RRDTOOLDB_pass';<\/code><\/pre>\n\n\n\n<p>Reload privileges table and exit the database;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>flush privileges;\nquit<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Fine-tune MariaDB Database for Cacti<\/h4>\n\n\n\n<p>Open the <code><strong>\/etc\/mysql\/mariadb.conf.d\/50-server.cnf<\/strong><\/code> file and add the following lines under the <code><strong>[mysqld]<\/strong><\/code> section to optimize the database for Cacti.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>vim \/etc\/mysql\/mariadb.conf.d\/50-server.cnf<\/code><\/pre>\n\n\n\n<pre class=\"scroll-box\"><code>\n...\n# utf8 4-byte character set. See also client.cnf\ncharacter-set-server  = utf8mb4\ncharacter_set_client  = utf8mb4\ncollation-server      = utf8mb4_unicode_ci\n...\n...\nmax_heap_table_size=128M\ntmp_table_size=128M\njoin_buffer_size=256M\ninnodb_file_format=Barracuda\ninnodb_large_prefix=1\ninnodb_buffer_pool_size=2048M\ninnodb_flush_log_at_timeout=3\ninnodb_read_io_threads=32\ninnodb_write_io_threads=16\ninnodb_buffer_pool_instances=17\ninnodb_io_capacity=5000\ninnodb_io_capacity_max=10000\n...\n<\/code><\/pre>\n\n\n\n<p>Save and exit the file and restart MariaDB;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>systemctl restart mariadb<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Install PHP and Other Required Modules<\/h3>\n\n\n\n<p>Run the command below to install PHP and other required modules;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>apt install php php-mysql php-curl php-net-socket php-gd php-intl php-pear php-imap php-memcache libapache2-mod-php php-pspell php-tidy php-xmlrpc php-snmp php-mbstring gettext php-gmp php-json php-xml php-ldap<\/code><\/pre>\n\n\n\n<p>Set the PHP timezone;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>vim \/etc\/php\/7.4\/apache2\/php.ini<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;Date]\n; Defines the default timezone used by the date functions\n; http:\/\/php.net\/date.timezone\ndate.timezone = Asia\/Qatar<\/code><\/pre>\n\n\n\n<p>Maximum execution time;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>...\n; Maximum execution time of each script, in seconds\n; http:\/\/php.net\/max-execution-time\n; Note: This directive is hardcoded to 0 for the CLI SAPI\nmax_execution_time = 60\n...<\/code><\/pre>\n\n\n\n<p>Set the Memory limit;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>...\n; Maximum amount of memory a script may consume (128MB)\n; http:\/\/php.net\/memory-limit\nmemory_limit = 400M\n...<\/code><\/pre>\n\n\n\n<p>Similarly, set the timezone on PHP INI CLI configuration.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>vim \/etc\/php\/7.4\/cli\/php.ini<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;Date]\n; Defines the default timezone used by the date functions\n; http:\/\/php.net\/date.timezone\ndate.timezone = \"Asia\/Qatar\"<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Install Apache Web Server on Ubuntu 20.04<\/h3>\n\n\n\n<p>In this setup, we are using Apache HTTP Server with Cacti. Note that when you install PHP, Apache gets installed along with it. If not already installed, then you can install it as follows;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>apt install apache2<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Install Cacti<\/h3>\n\n\n\n<p>Next, install Cacti. As much as the package is available on the default Ubuntu Universe repos, it is the latest stable release.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>apt-cache policy cacti<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>cacti:\n  Installed: (none)\n  Candidate: 1.2.10+ds1-1ubuntu1\n  Version table:\n     1.2.10+ds1-1ubuntu1 500\n        500 http:\/\/ke.archive.ubuntu.com\/ubuntu focal\/universe amd64 Packages<\/code><\/pre>\n\n\n\n<p>As of this writing, the latest stable version is&nbsp;<strong>1.2.14<\/strong>, released 08\/02\/20.<\/p>\n\n\n\n<p>Hence, download and extract Cacti tarball archive to your default Web root directory.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>wget https:\/\/www.cacti.net\/downloads\/cacti-latest.tar.gz<\/code><\/pre>\n\n\n\n<p>In this setup, am gonna use \/var\/www\/html\/cacti as the web root directory for Cacti;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>mkdir \/var\/www\/html\/cacti<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>tar xzf cacti-latest.tar.gz -C \/var\/www\/html\/cacti --strip-components=1<\/code><\/pre>\n\n\n\n<p>Set the ownership of the Cacti web root directory to Apache HTTP server user;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>chown -R www-data: \/var\/www\/html\/cacti\/<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Import the default Cacti database<\/h4>\n\n\n\n<p>Import the default Cacti database from the extracted web root directory to the new database created above for Cacti;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>mysql -u rrdtooladmin -p -D rrdtooldb &lt; \/var\/www\/html\/cacti\/cacti.sql<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Import timezone data into MariaDB database<\/h4>\n\n\n\n<p>Import the timezone data into MariaDB database and grant Cacti database user SELECT right access to <code>mysql.time_zone_name<\/code> table;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>mysql -u root -p mysql &lt; \/usr\/share\/mysql\/mysql_test_data_timezone.sql<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>mysql -u root<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>grant select on mysql.time_zone_name to rrdtooladmin@localhost;<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>quit<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Configure Cacti Database Connection details<\/h4>\n\n\n\n<p>Once the import is done, open the Cacti configuration file, <code><strong>\/var\/www\/html\/cacti\/include\/config.php<\/strong><\/code>, and define the database connection details.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>vim \/var\/www\/html\/cacti\/include\/config.php<\/code><\/pre>\n\n\n\n<pre class=\"scroll-box\"><code>\n...\n\/*\n * Make sure these values reflect your actual database\/host\/user\/password\n *\/\n\n$database_type     = 'mysql';\n$database_default  = 'rrdtooldb';\n$database_hostname = 'localhost';\n$database_username = 'rrdtooladmin';\n$database_password = 'RRDTOOLDB_pass';\n$database_port     = '3306';\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Create Cacti Apache Configuration<\/h3>\n\n\n\n<p>Next, create an Apache configuration for Cacti;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>vim \/etc\/apache2\/conf-available\/cacti.conf<\/code><\/pre>\n\n\n\n<pre class=\"scroll-box\"><code>\nAlias \/cacti    \/var\/www\/html\/cacti\n\n&lt;Directory \/var\/www\/html\/cacti\/&gt;\n        &lt;IfModule mod_authz_core.c&gt;\n                Require all granted\n        &lt;\/IfModule&gt;\n&lt;\/Directory&gt;\n<\/code><\/pre>\n\n\n\n<p>Save and exit the file.<\/p>\n\n\n\n<p>Check Apache configuration syntax;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>apachectl configtest<\/code><\/pre>\n\n\n\n<p>If you get, <code><strong>Syntax OK<\/strong><\/code>, output, restart Apache. Otherwise fix any would be errors.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>systemctl restart apache2<\/code><\/pre>\n\n\n\n<p>Open Apache on UFW, if at all UFW is running;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>ufw allow \"Apache Full\"<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Finalize installation and Setup of Cacti on Ubuntu 20.04<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">Accessing Cacti Web Interface<\/h4>\n\n\n\n<p>You can now access Cacti Web interface via the URL, <code><strong>http:\/\/server-IP\/cacti<\/strong><\/code> as per our setup.<\/p>\n\n\n\n<p>Login using the default credentials, <strong><code>admin:admin<\/code><\/strong> for both username and password.<\/p>\n\n\n\n<div><a href=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/10\/cacti-login.png\" class=\"td-modal-image\"><figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1170\" height=\"539\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/10\/cacti-login.png\" alt=\"\" class=\"wp-image-7175\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/10\/cacti-login.png?v=1603912867 1170w, https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/10\/cacti-login-768x354.png?v=1603912867 768w\" sizes=\"(max-width: 1170px) 100vw, 1170px\" \/><\/figure><\/a><\/div>\n\n\n\n<p>Upon login, you are prompted to reset your password. Please reset and proceed.<\/p>\n\n\n\n<p>Accept End User License Agreement;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1134\" height=\"854\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/10\/eula.png\" alt=\"\" class=\"wp-image-7176\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/10\/eula.png?v=1603912894 1134w, https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/10\/eula-768x578.png?v=1603912894 768w\" sizes=\"(max-width: 1134px) 100vw, 1134px\" \/><\/figure>\n\n\n\n<p>Click Begin to perform Pre-installation checks. If any error, please fix before you can proceed.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1145\" height=\"328\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/10\/pre-installation-checks.png\" alt=\"\" class=\"wp-image-7177\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/10\/pre-installation-checks.png?v=1603912959 1145w, https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/10\/pre-installation-checks-768x220.png?v=1603912959 768w\" sizes=\"(max-width: 1145px) 100vw, 1145px\" \/><\/figure>\n\n\n\n<p>Installation type<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1133\" height=\"428\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/10\/install-type.png\" alt=\"\" class=\"wp-image-7178\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/10\/install-type.png?v=1603912996 1133w, https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/10\/install-type-768x290.png?v=1603912996 768w\" sizes=\"(max-width: 1133px) 100vw, 1133px\" \/><\/figure>\n\n\n\n<p>Directory Permission Checks<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1146\" height=\"354\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/10\/dir-perms-check.png\" alt=\"\" class=\"wp-image-7179\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/10\/dir-perms-check.png?v=1603913027 1146w, https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/10\/dir-perms-check-768x237.png?v=1603913027 768w\" sizes=\"(max-width: 1146px) 100vw, 1146px\" \/><\/figure>\n\n\n\n<p>Critical Binary Locations and Versions.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1141\" height=\"607\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/10\/binary-locations.png\" alt=\"\" class=\"wp-image-7180\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/10\/binary-locations.png?v=1603913062 1141w, https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/10\/binary-locations-768x409.png?v=1603913062 768w\" sizes=\"(max-width: 1141px) 100vw, 1141px\" \/><\/figure>\n\n\n\n<p>Input Validation Whitelist Protection<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1140\" height=\"463\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/10\/input-validation.png\" alt=\"\" class=\"wp-image-7181\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/10\/input-validation.png?v=1603913082 1140w, https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/10\/input-validation-768x312.png?v=1603913082 768w\" sizes=\"(max-width: 1140px) 100vw, 1140px\" \/><\/figure>\n\n\n\n<p>Default Profile and Automation Network<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1140\" height=\"540\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/10\/profile-net-auto.png\" alt=\"\" class=\"wp-image-7182\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/10\/profile-net-auto.png?v=1603913127 1140w, https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/10\/profile-net-auto-768x364.png?v=1603913127 768w\" sizes=\"(max-width: 1140px) 100vw, 1140px\" \/><\/figure>\n\n\n\n<p>Template Setup<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1135\" height=\"473\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/10\/template-setup.png\" alt=\"\" class=\"wp-image-7183\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/10\/template-setup.png?v=1603913149 1135w, https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/10\/template-setup-768x320.png?v=1603913149 768w\" sizes=\"(max-width: 1135px) 100vw, 1135px\" \/><\/figure>\n\n\n\n<p>Server, Database collation and Table Setup.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1136\" height=\"815\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/10\/server-db-collation-tbl-setup.png\" alt=\"\" class=\"wp-image-7184\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/10\/server-db-collation-tbl-setup.png?v=1603913183 1136w, https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/10\/server-db-collation-tbl-setup-768x551.png?v=1603913183 768w\" sizes=\"(max-width: 1136px) 100vw, 1136px\" \/><\/figure>\n\n\n\n<p>Cacti Installation: Select <strong>Confirm<\/strong> <strong>Installation<\/strong> and click <strong>install<\/strong> to install Cacti on Ubuntu 20.04.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1146\" height=\"225\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/10\/cacti-installation.png\" alt=\"\" class=\"wp-image-7185\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/10\/cacti-installation.png?v=1603913222 1146w, https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/10\/cacti-installation-768x151.png?v=1603913222 768w\" sizes=\"(max-width: 1146px) 100vw, 1146px\" \/><\/figure>\n\n\n\n<p>Once the installation completes, click Get started to access Cacti web interface.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1136\" height=\"340\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/10\/installation-complete.png\" alt=\"\" class=\"wp-image-7186\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/10\/installation-complete.png?v=1603913246 1136w, https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/10\/installation-complete-768x230.png?v=1603913246 768w\" sizes=\"(max-width: 1136px) 100vw, 1136px\" \/><\/figure>\n\n\n\n<p>Cacti Web Console;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1918\" height=\"653\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/10\/cacti-console.png\" alt=\"Install and Setup Cacti on Ubuntu 20.04\" class=\"wp-image-7187\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/10\/cacti-console.png?v=1603913283 1918w, https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/10\/cacti-console-768x261.png?v=1603913283 768w, https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/10\/cacti-console-1536x523.png?v=1603913283 1536w\" sizes=\"(max-width: 1918px) 100vw, 1918px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Reference<\/h3>\n\n\n\n<p><a aria-label=\"Installing Cacti Under Unix (opens in a new tab)\" href=\"https:\/\/www.cacti.net\/downloads\/docs\/html\/unix_configure_cacti.html\" target=\"_blank\" rel=\"noreferrer noopener\" class=\"rank-math-link\">Installing Cacti Under Unix<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Other Related Tutorials<\/h3>\n\n\n\n<p><a aria-label=\" (opens in a new tab)\" href=\"https:\/\/kifarunix.com\/install-zabbix-4-x-from-sources-on-debian-10-buster\/\" target=\"_blank\" rel=\"noreferrer noopener\" class=\"rank-math-link\">Install Zabbix 4.x from Sources on Debian 10 Buster<\/a><\/p>\n\n\n\n<p><a aria-label=\" (opens in a new tab)\" href=\"https:\/\/kifarunix.com\/install-elastic-elk-stack-on-ubuntu-20-04\/\" target=\"_blank\" rel=\"noreferrer noopener\" class=\"rank-math-link\">Install ELK Stack on Ubuntu 20.04<\/a><\/p>\n\n\n\n<p><a aria-label=\" (opens in a new tab)\" href=\"https:\/\/kifarunix.com\/install-and-setup-nagios-core-on-ubuntu-20-04\/\" target=\"_blank\" rel=\"noreferrer noopener\" class=\"rank-math-link\">Install and Setup Nagios Core on Ubuntu 20.04<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/install-nagios-nrpe-agent-on-centos-8\/\" target=\"_blank\" aria-label=\" (opens in a new tab)\" rel=\"noreferrer noopener\" class=\"rank-math-link\">Install Nagios NRPE Agent on CentOS 8<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, you will learn how to easily install and setup Cacti on Ubuntu 20.04. Cacti is a complete frontend to RRDTool. RRDTool is<\/p>\n","protected":false},"author":1,"featured_media":7167,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_lock_modified_date":false,"footnotes":""},"categories":[72,121],"tags":[2859,2857,2860,2858,1050,1200],"class_list":["post-7166","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-monitoring","category-howtos","tag-cacti","tag-install-cacti-ubuntu-20-04","tag-rrdtool","tag-setup-cacti-ubuntu-20-04","tag-snmp-monitoring","tag-ubuntu-20-04","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-50","resize-featured-image"],"_links":{"self":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/7166"}],"collection":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/comments?post=7166"}],"version-history":[{"count":11,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/7166\/revisions"}],"predecessor-version":[{"id":21525,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/7166\/revisions\/21525"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/media\/7167"}],"wp:attachment":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/media?parent=7166"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/categories?post=7166"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/tags?post=7166"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}