• 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

This Article Has Been Shared 401 Times!

Facebook Twitter Pinterest
Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Orthopaedic 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)

  • How Private Cloud Works for a Company’s IT Infrastructure

    How Private Cloud Works for a Company’s IT Infrastructure ? Can Private Cloud work as like the traditional data center of a company? Do you need Private Cloud?

  • Cloud and SaaS : Is Cloud Based SaaS Becoming the Mainstream ?

    Cloud Computing is becoming the dominant global trend not only in enterprise IT but also in Private Small Sectors. Better,faster,cheaper is pushing Cloud ahead.

  • Public Cloud versus Private Cloud : Where is Security ?

    Public Cloud versus Private Cloud which is safer or rather which is promoted as safer option often confuses a consumer with very limited practical knowledge.

  • Redundancy in Computing

    Redundancy is the creation of functionally identical or comparable resources of a technical system for a trouble free fail safe operation.

  • Analysis of Cloud Computing Company : SAP

    Analysis of Cloud Computing Company is the latest addition in our Cloud Computing basket. This article analyzes the approach of SAP AG towards Cloud Computing.

Additionally, 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

You can subscribe to our Free Once a Day, Regular Newsletter by clicking the subscribe button below.

Click To Subscribe

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 (21K Followers)
  • Twitter (5.3k 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

  • What is Standard Software February 28, 2021
  • WordPress Link to text Fragment February 27, 2021
  • How to Protect IP Cameras From Hackers February 25, 2021
  • 6 Sectors That Have Undergone Revamps in Digital Landscape February 24, 2021
  • What You Can Control with a Smartwatch and ESP32 February 23, 2021

 

About This Article

Cite this article as: Abhishek Ghosh, "Install Cacti To Monitor Server (Ubuntu, Nginx, HP Cloud)," in The Customize Windows, April 9, 2015, March 2, 2021, https://thecustomizewindows.com/2015/04/install-cacti-to-monitor-server-ubuntu-nginx-hp-cloud/.

Source:The Customize Windows, JiMA.in

 

This website uses cookies. If you do not want to allow us to use cookies and/or non-personalized Ads, kindly clear browser cookies after closing this webpage.

Read Cookie Policy.

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

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

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