• 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 217 Times!

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)

  • 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

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

  • What is Voice User Interface (VUI) January 31, 2023
  • Proxy Server: Design Pattern in Programming January 30, 2023
  • Cyberpunk Aesthetics: What’s in it Special January 27, 2023
  • How to Do Electrical Layout Plan for Adding Smart Switches January 26, 2023
  • What is a Data Mesh? January 25, 2023

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, January 31, 2023, https://thecustomizewindows.com/2015/04/install-cacti-to-monitor-server-ubuntu-nginx-hp-cloud/.

Source:The Customize Windows, JiMA.in

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

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT