How To Install Cacti On Ubuntu 14
How To Install Cacti On Ubuntu 14.04/14.10
by anismaj
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的更多相关文章
- install cinnamon on ubuntu 14.04
emotion: I feel not comfortable with ubuntu 14.04 default desktop unity,i still look for a alternati ...
- 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 ...
- install Matlab2016b on Ubuntu 14.04
From Download Download the install file from Download MATLAB, Simulink, Stateflow, and Other MathWor ...
- [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 ...
- Ubuntu 14.04 在桌面上双击运行shell 脚本文件
http://askubuntu.com/questions/465531/how-to-make-a-shell-file-execute-by-double-click up vote7down ...
- 开始ubuntu 14.04 的装X模式---终端模式下中文输入,听歌,上irc 开启framebuffer看电影 截图
先上图吧 卡卡的全是在tty1 下的操作,看电影,听歌,截图 ,看图 ,上irc 等等,相当适合在小白面前装屁! 需要安装的软件: 为了能正常显示中文:安装fbterm sudo apt-get i ...
- Ubuntu 14.04下java开发环境的搭建--3--Tomcat及MySQL的安装
前面两篇文章,已经说明了JDK和Eclipse 的安装方法,下面简单说一下,Tomcat及MySQL的安装方法. Tomcat的安装. 在合适的地方解压apache-tomcat-6.0.39.tar ...
- 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 ...
- 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 ...
随机推荐
- windows phpinfo上不能找到memcache扩展 php版本5.6
我的memcache用的我是memcached-win64-1.4.4-14.zip这个版本memcache扩展库下载地址:http://windows.php.net/downloads/pecl/ ...
- jedis 整合 Spring
一, 单机版整合spring 1. 使用默认配置文件进行配置 <bean id="redisClient" class="redis.clients.jedis ...
- 搜索引擎原理和SEO
搜索引擎原理 通常是指收集了万维网上几千万到十几亿网页病对网页的每个词(即关键词)进行索引,建立搜索引擎数据库的全文搜索引擎. 当用户每次查询某个关键词的时候,所有在页面内容包含了该关键词的网页都作为 ...
- 使用wireshark出现Couldn't run /usr/bin/dumpcap in child process: Permission denied解决办法
sudo apt-get install libcap2-bin wireshark sudo chgrp myusername /usr/bin/dumpcap # myusername是你使用wi ...
- WPF EventAggregator(基于EventAggregator的事件发布及订阅)
一.EventAggregator简介 EventAggregator是Prism中专门处理ViewModel与ViewModel之间事件传递的类对象,它提供了针对事件的发布方法和订阅方法,所以可以非 ...
- MapReduce原理——分而治之
一.MapReduce简介 二.MapReduce并行处理的基本过程 三.MapReduce实际处理流程 四.一个job的运行流程 一.MapReduce简介 MapReduce是一种并行可扩展计算模 ...
- InnoDB的哈希算法
InnoDB存储引擎中自适应哈希索引使用的是散列表(Hash Table)的数据结构.但是散列表不只存在于自适应哈希中,在每个数据库中都存在.设想一个问题,当前我的内存为128G,我怎么得到内存中的某 ...
- 用canvas和原生js写的一个笨鸟先飞的小游戏(暂时只有一个关卡)
其中一个画布背景是一张图片,还有小鸟,两个管子的图片.暂时不知道怎么附上去就不添加了.这里只有源代码,css和js都是在html写着的,感觉比他们的容易吧,hah <!DOCTYPE html& ...
- 如何去组织你的CSS代码
1.Object Oriented CSS (OOCSS) 面向对象的 CSS.OOCSS 的想法首先要明白 CSS 的 “Object” 是个毛线玩意. CSS的样式是需要应用到页面的结构上的.通俗 ...
- hadoop学习笔记(二):简单启动
一.hadoop组件依赖关系 二.hadoop日志格式: 两种日志,分别以out和log结尾: 1 以log结尾的日志:通过log4j日志记录格式进行记录的日志,采用日常滚动文件后缀策略来命名日志文件 ...