{"id":2590,"date":"2016-08-30T12:08:47","date_gmt":"2016-08-30T16:08:47","guid":{"rendered":"https:\/\/www.globo.tech\/learning-center\/?p=2590"},"modified":"2017-04-19T15:58:29","modified_gmt":"2017-04-19T19:58:29","slug":"install-cacti-ubuntu-14","status":"publish","type":"post","link":"https:\/\/www.globo.tech\/learning-center\/install-cacti-ubuntu-14\/","title":{"rendered":"How to Install Cacti on Ubuntu 14"},"content":{"rendered":"<p>Cacti is an RRDTool front-end that handles data collection and storage. With Cacti installed, you can retain network performance data and other metrics in a MySQL database for advanced querying and reporting. Cacti also handles data rotation, helping you to keep data long-term while continuing to access your most current data more quickly.<\/p>\n<p>In addition to its own standard commands for performance monitoring, Cacti lets you integrate external scripts, calling them via cron and feeding their results into any plots it generates. As such, it is a great monitoring solution for both standard and custom metrics. This guide will set up Cacti on your Ubuntu 14.04 LTS server, giving you a solid monitoring solution based on a reliable server platform with years of remaining support available.<\/p>\n<h2>Getting Started<\/h2>\n<p>To complete this guide, you will need the following:<br \/>\n\u2022 1 Remote server (<a href=\"https:\/\/www.globo.tech\/cloud-server-pricing\" target=\"_blank\">Cloud Server<\/a> or <a href=\"http:\/\/www.globo.tech\/dedicated-server-hosting\" target=\"_blank\">Dedicated Server<\/a>) running Ubuntu 14.<br \/>\n\u2022 All commands should be run as the root user<br \/>\n\u2022 A LAMP stack using Apache and PHP<\/p>\n<h2>Tutorial<\/h2>\n<p>Let&#8217;s get started. Cacti requires that you have a few additional packages in order for it to run. We&#8217;ll begin by ensuring that Cacti&#8217;s dependencies are available.<\/p>\n<p><code>apt-get install rrdtool snmp snmpd -y<\/code><\/p>\n<p>Having done this, it&#8217;s now time to install Cacti itself.<\/p>\n<p><code>apt-get install cacti cacti-spine -y<\/code><\/p>\n<p>The installation process prompts you to answer a few questions. We&#8217;ll go through these below.<\/p>\n<p>As you are running on a LAMP stack, Apache2 is your web server. Choose that when asked which server you are using.<\/p>\n<p>You&#8217;ll also need a database. The Cacti installer can set this up for you, so answer Yes when it prompts you to configure the database.<\/p>\n<p>The installer will need your MySQL root password to create the database, set up the schema, and add the necessary database user for Cacti to connect. Give it your root password in order for it to make the necessary changes.<\/p>\n<p>You&#8217;ll also need to choose a MySQL password for the Cacti database. Be sure to pick a good password and to record it in a safe place. You likely won&#8217;t use this much, but changing it later if it is forgotten will be a pain.<\/p>\n<p>Now you&#8217;ll want to start the snmpd service. This gives you a standard means of querying Cacti for the metrics it records.<\/p>\n<p><code>\/etc\/init.d\/snmpd start<\/code><\/p>\n<p>To finish the installation, visit Cacti&#8217;s web-based installer. Find it at http:\/\/your_ip\/cacti. The default credentials are as follows:<\/p>\n<p>login: admin<br \/>\npassword: admin<\/p>\n<p>Be sure to change these upon logging in. If you do not, anyone who finds your Cacti installation can connect and compromise it.<\/p>\n<h2>Conclusion<\/h2>\n<p>You now have a flexible, extensible monitoring system tracking your server&#8217;s statistics. Monitoring is an important aspect of any reliable network infrastructure, so share this article with anyone you know who might benefit from the features your new Cacti installation provides. If you found this article helpful, feel free to share it with your friends and let us know in the comments below!<\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>Cacti is an RRDTool front-end that handles data collection and storage. With Cacti installed, you can retain network performance data and other metrics in a MySQL database for advanced querying and reporting. Cacti also handles data rotation, helping you to keep data long-term while continuing to access your most current data more quickly. In addition<!-- AddThis Advanced Settings generic via filter on get_the_excerpt --><!-- AddThis Share Buttons generic via filter on get_the_excerpt --><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[61],"tags":[],"class_list":["post-2590","post","type-post","status-publish","format-standard","hentry","category-database","operating_system-ubuntu-14-04"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Install Cacti on Ubuntu 14 - Globo.Tech<\/title>\n<meta name=\"description\" content=\"This tutorial will show you how to install Cacti on your Ubuntu 14 server, giving you a solid monitoring solution based on a reliable server platform.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.globo.tech\/learning-center\/install-cacti-ubuntu-14\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install Cacti on Ubuntu 14 - Globo.Tech\" \/>\n<meta property=\"og:description\" content=\"This tutorial will show you how to install Cacti on your Ubuntu 14 server, giving you a solid monitoring solution based on a reliable server platform.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.globo.tech\/learning-center\/install-cacti-ubuntu-14\/\" \/>\n<meta property=\"og:site_name\" content=\"Globo.Tech\" \/>\n<meta property=\"article:published_time\" content=\"2016-08-30T16:08:47+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-04-19T19:58:29+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.globo.tech\/learning-center\/wp-content\/uploads\/2016\/09\/GloboTech-Logo.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"963\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"GloboTech Communications\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"GloboTech Communications\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/install-cacti-ubuntu-14\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/install-cacti-ubuntu-14\\\/\"},\"author\":{\"name\":\"GloboTech Communications\",\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/#\\\/schema\\\/person\\\/e17784b37f4a4f49b7bc611847912e87\"},\"headline\":\"How to Install Cacti on Ubuntu 14\",\"datePublished\":\"2016-08-30T16:08:47+00:00\",\"dateModified\":\"2017-04-19T19:58:29+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/install-cacti-ubuntu-14\\\/\"},\"wordCount\":497,\"commentCount\":0,\"articleSection\":[\"Database\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/install-cacti-ubuntu-14\\\/\",\"url\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/install-cacti-ubuntu-14\\\/\",\"name\":\"How to Install Cacti on Ubuntu 14 - Globo.Tech\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/#website\"},\"datePublished\":\"2016-08-30T16:08:47+00:00\",\"dateModified\":\"2017-04-19T19:58:29+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/#\\\/schema\\\/person\\\/e17784b37f4a4f49b7bc611847912e87\"},\"description\":\"This tutorial will show you how to install Cacti on your Ubuntu 14 server, giving you a solid monitoring solution based on a reliable server platform.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/install-cacti-ubuntu-14\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/install-cacti-ubuntu-14\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/install-cacti-ubuntu-14\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Cacti on Ubuntu 14\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/#website\",\"url\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/\",\"name\":\"Globo.Tech\",\"description\":\"Welcome to the Official Globo.Tech Learning Center\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/#\\\/schema\\\/person\\\/e17784b37f4a4f49b7bc611847912e87\",\"name\":\"GloboTech Communications\",\"sameAs\":[\"http:\\\/\\\/www.gtcomm.net\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install Cacti on Ubuntu 14 - Globo.Tech","description":"This tutorial will show you how to install Cacti on your Ubuntu 14 server, giving you a solid monitoring solution based on a reliable server platform.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.globo.tech\/learning-center\/install-cacti-ubuntu-14\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Cacti on Ubuntu 14 - Globo.Tech","og_description":"This tutorial will show you how to install Cacti on your Ubuntu 14 server, giving you a solid monitoring solution based on a reliable server platform.","og_url":"https:\/\/www.globo.tech\/learning-center\/install-cacti-ubuntu-14\/","og_site_name":"Globo.Tech","article_published_time":"2016-08-30T16:08:47+00:00","article_modified_time":"2017-04-19T19:58:29+00:00","og_image":[{"width":1920,"height":963,"url":"https:\/\/www.globo.tech\/learning-center\/wp-content\/uploads\/2016\/09\/GloboTech-Logo.png","type":"image\/png"}],"author":"GloboTech Communications","twitter_misc":{"Written by":"GloboTech Communications","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.globo.tech\/learning-center\/install-cacti-ubuntu-14\/#article","isPartOf":{"@id":"https:\/\/www.globo.tech\/learning-center\/install-cacti-ubuntu-14\/"},"author":{"name":"GloboTech Communications","@id":"https:\/\/www.globo.tech\/learning-center\/#\/schema\/person\/e17784b37f4a4f49b7bc611847912e87"},"headline":"How to Install Cacti on Ubuntu 14","datePublished":"2016-08-30T16:08:47+00:00","dateModified":"2017-04-19T19:58:29+00:00","mainEntityOfPage":{"@id":"https:\/\/www.globo.tech\/learning-center\/install-cacti-ubuntu-14\/"},"wordCount":497,"commentCount":0,"articleSection":["Database"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.globo.tech\/learning-center\/install-cacti-ubuntu-14\/","url":"https:\/\/www.globo.tech\/learning-center\/install-cacti-ubuntu-14\/","name":"How to Install Cacti on Ubuntu 14 - Globo.Tech","isPartOf":{"@id":"https:\/\/www.globo.tech\/learning-center\/#website"},"datePublished":"2016-08-30T16:08:47+00:00","dateModified":"2017-04-19T19:58:29+00:00","author":{"@id":"https:\/\/www.globo.tech\/learning-center\/#\/schema\/person\/e17784b37f4a4f49b7bc611847912e87"},"description":"This tutorial will show you how to install Cacti on your Ubuntu 14 server, giving you a solid monitoring solution based on a reliable server platform.","breadcrumb":{"@id":"https:\/\/www.globo.tech\/learning-center\/install-cacti-ubuntu-14\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.globo.tech\/learning-center\/install-cacti-ubuntu-14\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.globo.tech\/learning-center\/install-cacti-ubuntu-14\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.globo.tech\/learning-center\/"},{"@type":"ListItem","position":2,"name":"How to Install Cacti on Ubuntu 14"}]},{"@type":"WebSite","@id":"https:\/\/www.globo.tech\/learning-center\/#website","url":"https:\/\/www.globo.tech\/learning-center\/","name":"Globo.Tech","description":"Welcome to the Official Globo.Tech Learning Center","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.globo.tech\/learning-center\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.globo.tech\/learning-center\/#\/schema\/person\/e17784b37f4a4f49b7bc611847912e87","name":"GloboTech Communications","sameAs":["http:\/\/www.gtcomm.net"]}]}},"_links":{"self":[{"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/posts\/2590","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/comments?post=2590"}],"version-history":[{"count":4,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/posts\/2590\/revisions"}],"predecessor-version":[{"id":3041,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/posts\/2590\/revisions\/3041"}],"wp:attachment":[{"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/media?parent=2590"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/categories?post=2590"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/tags?post=2590"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}