How To Install Cacti On Ubuntu 14.04/14.10

by anismaj

Cacti is an open source web based network monitoring tool front-end for the data logging tool called RRDtool. It’s allow users to check the services at an interval of time and resulting in the graph format. For more information about Cacti refer the official website.

The object of this article is to guide you how to install and setup Cacti on Ubuntu 14.04.

Before installing cacti you need to make sure to install all dependencies.

1 – Lamp server

First step is to install Lamp server (Apache, Mysql, PHP)

sudo apt-get install apache2 mysql-server php5 libapache2-mod-php5

2 – RRDtools

A useful open source tool for storage and retrieval of time series data.

sudo apt-get -y install rrdtool

3 – SNMP and SNMPd

If you want to monitor the localhost where cacti is installed you need to install and configure the service snmpd.

sudo apt-get -y install snmp snmpd

Now after installing all dependencies we start the installation of cacti.

4 – Cacti and Spine

If you want a faster way to poll servers for information than the default php script cmd.php, you need to install cacti-spine.

sudo apt-get -y install cacti cacti-spine

Popup message will appear like this just select OK and move on.

Now it will ask you for a webserver that you will use it, we choose Apache2 since that’s what we installed in the  dependencies.

Next it will ask to configure the Cacti database, select Yes.

Now it will ask for your root password of MySQL database.

Before we start the web configuration part, we need to start the snmpd service.

sudo /etc/init.d/snmpd start

Now you can access http://ip-of-you-server/cacti after installation, the first login, the default account and password are “admin”.

Click Next.

Select new install and click Next

If everything is green, which it should be if you followed all the steps, click Next.

Now you need to type the login and password, the default account and password are “admin”.

Then you will be prompted to change the password.

After login in to Cacti you should see similar to the following screen.

5 – Setup spine

In Console -> Cacti Settings -> Poller, Change the poller Type from comd.php to spine.

6 – Rebuild Poller Cache

Whenever the Poller Interval is changed, the cache must be emptied. To do this, click “System Utilities” under the Utilities heading on the left-hand navigation panel.Click on “Rebuild Poller Cache” to empty the cache.

In about 5 minutes you’ll see the first graphs of localhost server start populating under the graphs tab.

Done!

How To Install Cacti On Ubuntu 14的更多相关文章

  1. install cinnamon on ubuntu 14.04

    emotion: I feel not comfortable with ubuntu 14.04 default desktop unity,i still look for a alternati ...

  2. Ubuntu 14.04 – How to install xrdp in Ubuntu 14.04

    http://c-nergy.be/blog/?p=5305 Hello World, Ubuntu 14.04 has been released on April 17th 2014 and we ...

  3. install Matlab2016b on Ubuntu 14.04

    From Download Download the install file from Download MATLAB, Simulink, Stateflow, and Other MathWor ...

  4. [Django] Setting up Django Development Environment in Ubuntu 14.04

    1. Python Of course you will need Python. Still Python 2.7 is preferred, however if you would like t ...

  5. Ubuntu 14.04 在桌面上双击运行shell 脚本文件

    http://askubuntu.com/questions/465531/how-to-make-a-shell-file-execute-by-double-click up vote7down ...

  6. 开始ubuntu 14.04 的装X模式---终端模式下中文输入,听歌,上irc 开启framebuffer看电影 截图

    先上图吧 卡卡的全是在tty1 下的操作,看电影,听歌,截图 ,看图  ,上irc 等等,相当适合在小白面前装屁! 需要安装的软件: 为了能正常显示中文:安装fbterm sudo apt-get i ...

  7. Ubuntu 14.04下java开发环境的搭建--3--Tomcat及MySQL的安装

    前面两篇文章,已经说明了JDK和Eclipse 的安装方法,下面简单说一下,Tomcat及MySQL的安装方法. Tomcat的安装. 在合适的地方解压apache-tomcat-6.0.39.tar ...

  8. Install Google Pinyin on Ubuntu 14.04

    Install Google Pinyin on Ubuntu 14.04 I've been spending more and more time on Ubuntu and I'm not us ...

  9. How To Install Tinc and Set Up a Basic VPN on Ubuntu 14.04

    Introduction In this tutorial, we will go over how to use Tinc, an open source Virtual Private Netwo ...

随机推荐

  1. github访问慢加速访问

    实测从1kb到了1m多 方法: 登录 https://www.ipaddress.com/ 输入github.com得到一个或两个IP地址 输入github.global.ssl.fastly.net ...

  2. LOJ2229. 「BJOI2014」想法(随机化)

    题目链接 https://loj.ac/problem/2229 题解 评分标准提示我们可以使用随机化算法. 首先,我们为每一道编号在 \([1, m]\) 以内的题目(这些题目也对应了 \(m\) ...

  3. create-react-app安装出错问题解决

    在用create-react-app的时候 报错 错误如下图: 在SF上查到说是或许是因为国内npm拉去资源,拉去不到的问题,可以试着从解决创建create-react-app慢的方法着手: 解决方法 ...

  4. 安装nagios出现的错误

    最近安装nagios时,检查的的状态都没有什么问题,就是监控系统的状态显示不出来 检测的结果如下: [root@lb02 ~]# /etc/init.d/httpd start Starting ht ...

  5. poj 2796 Feel Good单调栈

    Feel Good Time Limit: 3000MS   Memory Limit: 65536K Total Submissions: 20408   Accepted: 5632 Case T ...

  6. python3.6.4没有raw_input

    之前是一直在用Python2.7版本,2.7里面raw_input()和input个人认为区别在于raw_input()可以输入字符串和中文,而input()只接受数字,输入字符串就会报错. 现在用的 ...

  7. OPENERP 中自定义模块 找不到的问题

    问题的前提是你写的模块本身没有问题,我自己碰到的情况是在本机运行可以,但是上传到服务器上以后却无论怎么重启服务都找不到模块. 问题的根源在上传的文件权限设置不对: 假设自定义模块为rainsoft_p ...

  8. 不依赖JQuery的入门Ajax代码

    今天看了head first ajax这本书里ajax的实例,讲的很好,这本书觉着很不错,推荐下. Ajax (Asynchronous Javascript and XML)即异步Javascrip ...

  9. 对 BOIS 的一些介绍

    BIOS里不可调节CPU将在64/32位系统下工作 知识点延伸1,一般CPU要想在64位状态下运行必须具备两个条件: 1)安装64位操作系统 2)CPU本身就支持64位指令集 知识点延伸2有必要了解B ...

  10. SVD总结

    1.概述 我们先从实数域R开始说起,再延伸到复数域C上去,先列出一个表格,把实数域以及复数域中常见的矩阵及其性质概括如下: 表1 常见矩阵及其性质 我们知道实对称矩阵正交相似于对角阵,从而将一个方阵对 ...