• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here:Home » Install Cacti To Monitor Server (Ubuntu, Nginx, HP Cloud)

By Abhishek Ghosh April 9, 2015 10:47 am Updated on April 9, 2015

Install Cacti To Monitor Server (Ubuntu, Nginx, HP Cloud)

Advertisement

Here is How To Install Cacti To Monitor Server Resource Consumption and Usage. Example is Given With Ubuntu Instance With Nginx on HP Cloud. Yesterday, we were discussing about the OpenStack monitoring service on HP Cloud. It is better to install Cacti to monitor server in case of HP Cloud, at current situation.

 

What We Need To Install Cacti To Monitor Server

 

Cacti provides an easy to use system monitoring solution, the graphs are included by default includes load average and memory usage. You might not need to install MySQL and Nginx if you already have installed them on your server. You should take a snapshot of the image for HP Cloud before doing anything.

 

Steps To Install Cacti To Monitor Server

 

We already have Nginx installed, if you need to install Nginx, it is easy :

Advertisement

---

Vim
1
sudo apt-get install nginx

We need to install SNMPD Service as next step :

Vim
1
sudo apt-get install rrdtool snmp snmpd

Edit this file :

Vim
1
nano /etc/default/snmpd

Find (^ + W) the phrase export MIBS= and add ALL :

Vim
1
export MIBS=ALL

Write out (^ + O) and exit (^ + X). Open this file :

Vim
1
nano /etc/snmp/snmpd.conf

Find the commented out line :

Vim
1
#rocommunity public localhost  

Remove the hash, write out (^ + O) and exit (^ + X). Restart the service :

Vim
1
sudo service snmpd restart

This will initiate installation of Cacti. You must take a full backup if it is your only and main server.

Vim
1
sudo apt-get install cacti-spine

This is the prompt screen :

Install Cacti To Monitor Server (Ubuntu, Nginx, HP Cloud)

If we ran yes, you could not read this guide! Our MariaDB is on different server, but MariaDB is installed on this server too. It can not detect it. You can head to official website :

Vim
1
http://www.cacti.net/

and download the tar and install.

After running it, it will give text based interface like installing PHPMyAdmin for :

changing php path
select the web server (go with none)
Cacti database configurations
Cacti username password
database admin user password

Usually, the public files are at – /usr/share/cacti/site. So we need to symlink :

Vim
1
2
3
cd /usr/share/nginx/html
ln -s /usr/share/cacti/site cacti
sudo chown -R root:www-data /usr/share/nginx/html/cacti

Now, if you point towards :

Vim
1
http://your-IP/cacti/

simple PHP web interface will help you to install Cacti. Username admin and Password admin – in case the text based interface gave you no option. It is designed for Apache2, but actually works fine on Nginx – MariaDB. Installing on a test instance or not so important instance is better for first time installation. If you go to the cacti public files :

Vim
1
cacti/include

you’ll see config.php file, that is like any PHP-MySQL web software like WordPress. If polling does not work, add a cron. It is exactly like WordPress. Very easy, but gives minor initial pain.

Tagged With cacti nginx , cacti in nginx , cactii to nginx integration , cloud server monitor cactii , ubuntu nginx cacti
Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Install Cacti To Monitor Server (Ubuntu, Nginx, HP Cloud)

  • Nginx WordPress Installation Guide (All Steps)

    This is a Full Nginx WordPress Installation Guide With All the Steps, Including Some Optimization and Setup Which is Compatible With WordPress DOT ORG Example Settings For Nginx.

  • WordPress Multisite on Nginx on Ubuntu 14.04 on HP Cloud

    Here is a Step by Step Guide on Setting Up WordPress Multisite on Nginx on Ubuntu 14.04 on HP Cloud with All Commands and the Configuration.

  • Steps To Install Nginx Plus on Ubuntu Server (HP Cloud)

    Here Are the Steps To Install Nginx Plus on Ubuntu Server Running on HP Cloud. Nginx Plus is the Paid Version of Nginx with Extra Features.

  • How to Install WordPress : Ubuntu 16.04, Nginx, PHP7-FPM

    Here is Step by Step Guide on How to Install WordPress on Ubuntu 16.04, Nginx, PHP7-FPM, memcached & Percona MySQL 5.7 on Cloud Server or VPS.

performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Hybrid Multi-Cloud Environments Are Becoming UbiquitousJuly 12, 2023
  • Data Protection on the InternetJuly 12, 2023
  • Basics of BJT TransistorJuly 11, 2023
  • What is Confidential Computing?July 11, 2023
  • How a MOSFET WorksJuly 10, 2023
PC users can consult Corrine Chorney for Security.

Want to know more about us?

Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy