• 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 » OpenStack Monitoring Tool (For HP Cloud)

By Abhishek Ghosh January 19, 2015 11:51 pm Updated on January 20, 2015

OpenStack Monitoring Tool (For HP Cloud)

Advertisement

Less Known but there is OpenStack Monitoring Tool For HP Cloud, rather HP Cloud Monitoring Tool for Checking the Nova Instances via GUI. The most advanced OpenStack Monitoring Tool is definitely created by Racksapce with the broader name Cloud Monitoring Tool (RAXMON) but is not compatible with the other vendors. But, ongoing efforts on HP Cloud Monitoring Tool actually exists. As we have pointed before, HP Cloud has anything a user will need, but they are difficult to find. In order to make HP Cloud Monitoring Tool somewhat like Rackspace Cloud Monitoring Tool basically need :

 

  1. A monitoring agent, preferably written in Python to broadcast the metrics (Exists)
  2. Function of HP Cloud to interpret the data send from the instances (Exists)
  3. Advanced Graphical Tool as Web App to Monitor the usage in Real Time with graphs, assisted by either artificial intelligence or fuzzy logic (Does Not Exist, too primitive)

 

STATUTORY WARNING : DO NOT DO THESE ON YOUR PRODUCTION SERVER IF YOU ARE DOING FOR THE FIRST TIME IN LIFE. SPIN AN INSTANCE AND DO. IF WORKS THEN ON DO ON YOUR PRODUCTION SERVER ELSEIF DIE.

We do not know the target of HP Public Cloud. If they want that, community develops (read users develop) the Free Softwares, they should give backup to the participating party (client) and continue to provide them some Free Tier of Usage per month. After initial free trial is over, none will waste own money to Develop Free softwares. If they want official development, HP should recruit more employees towards the development and pay higher. OpenStack is quite difficult than it appears, it is a moral sin to blame the few employees who are developing the tools. Speed will be like snail.

Advertisement

---

Rackspace has one step down quality of hardware versus HP but has immense number of employees. It is a joke, if one person work for developing a tool. The problem is NOT only of HP Cloud, but of OpenStack too. Rackspace, practically vendor locks their own tools. Heroku, OpenShift PaaS winning the match with the free layer of usage. OpenShift PaaS has more documentation, maintains social media networking quite interactively. Partnership is closed sourced option.

 

OpenStack Monitoring Tool (For HP Cloud) : Resources to Install Properly

 

Here is the official repository of HP Cloud Monitoring Tool, really it is OpenStack Monitoring Tool, can be used with any vendor :

Vim
1
https://github.com/hpcloud-mon/mon-agent

Direct OpenStack Monitoring Tool’s name is Monasca :

Vim
1
https://github.com/stackforge/monasca-notification

HP Cloud Started from this :

Vim
1
https://github.com/hpcloud-mon/mon-ceilometer

Like Rackspace, HP Cloud will modify the tools according to their need. It is preferable to use the OpenStack one or test both (who is reading to install). As we will develop for HP Cloud, we will consider the both. There are ready to use Third Party Tools like Nagios, Ganglia, Cacti and Zabbix which near completely satisfies our all the 03 points.

OpenStack Monitoring Tool (For HP Cloud)

Imagine that, you are installing RAXMON on Rackspace. The steps are same. SSH as the user who has write permissions to /usr/local/bin on your instance. To install the mon-agent package, you need the python pip command. If you need access to that tool, enter these commands:

Vim
1
2
3
4
5
6
7
8
9
10
11
12
13
# deb linux
apt-get install python-pip
apt-get install -y python-setuptools
apt-get install build-essential autoconf libtool pkg-config python-opengl python-imaging python-pyrex python-pyside.qtopengl idle-python2.7 qt4-dev-tools qt4-designer libqtgui4 libqtcore4 libqt4-xml libqt4-test libqt4-script libqt4-network libqt4-dbus python-qt4 python-qt4-gl libgle3 python-dev
# rpm linux
yum install python-pip
yum install -y python-setuptools
yum install build-essential autoconf libtool pkg-config python-opengl python-imaging python-pyrex python-pyside.qtopengl idle-python2.7 qt4-dev-tools qt4-designer libqtgui4 libqtcore4 libqt4-xml libqt4-test libqt4-script libqt4-network libqt4-dbus python-qt4 python-qt4-gl libgle3 python-dev  
# common for both
easy_install pip  
# test for errors, if ansible throws errors, you are in trouble
sudo pip install ansible
sudo pip install mon-agent

You’ll get Syntax Error type of errors, that is why; so we wrote so much about HP Cloud and OpenStack.
cd to /usr/local/bin and run ls to check what are installed. I can give you warranty, if you do not read the next paragraph, it will take at least 48 hours to understand, what to do the next! Read this guide first – HP Cloud CDN Upload.

There is written, how to Download the OpenStack RC file. If the file name is foo.sh, run cat foo.sh to view the content. This is the URL of all the API stuffs :

Vim
1
2
3
4
5
6
7
8
9
10
https://horizon.hpcloud.com/project/access_and_security/
 
mon-setup -u DASHBOARD_USERNAME -p DASHBOARD_PASSWORD --project_name OS_TENANT_NAME -s mini-mon --keystone_url OS_AUTH_URL --mon_url Hpext:Monitoring
 
# WHERE
# DASHBOARD_USERNAME = YOUR USERNAME TO HP CLOUD OR OPENSTACK INSTANCE, WRITTEN IN RC FILE
# DASHBOARD_PASSWORD = YOUR PASSWORD TO HP CLOUD OR OPENSTACK INSTANCE, WRITTEN IN RC FILE
# OS_TENANT_NAME = WRITTEN IN RC FILE
# OS_AUTH_URL = WRITTEN IN RC FILE
# Hpext:Monitoring = THIS IS A URL, WHICH IS NAMED Hpext:Monitoring IN Access & Security > API ACCESS > API Endpoints

You will get this output after running that command :

Vim
1
* Starting Monitoring Agent (using supervisord) mon-agent               [ OK ]

You can use the standard commands like (for Ubuntu) :

Vim
1
service mon-agent {start|stop|restart|status}

Run :

Vim
1
mon help

to test whether everything is fine or not.

Note that, this is the first time I ever installed the thing. It can happen that, I installed something before, which made it fully working! I know it sounds uncanny! But report me on Twitter or Google Plus, if you are facing errors.

There is OpenStack Style usage.

 

OpenStack Monitoring Tool (For HP Cloud) : Using Dashboard

 

If it is HP Cloud, go to :

Vim
1
https://horizon.hpcloud.com/project/monitoring_endpoints/

Go to Manage Monitoring and go to End Points. Create a New Endpoint. You’ll see a Pop up telling you :

Vim
1
Info: Endpoint "biggggggg-valueeeeee" was successfully created. Endpoint password is set to "ppaaassswooorrd?". Please record the password as it cannot be retrieved later.

We installed the agent using our “master” password and endpoint. If you want to use Dashboard app, then you should create this. Else delete it. I have no idea about cost. You will edit this file :

Vim
1
nano /etc/mon-agent/agent.conf

No where written, stolen knowledge of using Tablet Instances Rackspace 5 BDPC x 4 years.
Theoretically, go to Subscription > Subscriptions, fill it; then go to Notifications, fill it; then Alarms. You will see Subscription ID, Namespace, Dimensions. Now Create Alarm. The fun is that, there no docs – 404.

This is I wrote to give you the official method. You’ll edit that file with the right values, else will not work. You need to set your Router-Subnet stuffs rightly and set Ingress-Egrees policy, else will not work.

 

Using OpenStack Monitoring Tool (For HP Cloud) : Using Command Line Tool

 

Obviously, unless you are a moron, you understood creating everything on the same server has no value – if the node fails, how it will report you. The Command Line Tools are primitive, free way to check the things. Again, nothing written anywhere, cd to /etc/mon-agent and do ls. You’ll get :

Vim
1
agent.conf  conf.d  supervisor.conf

It has no value, just I have shown if you want to develop softwares. Now, we downloaded that OpenStack RC file, that needs to be uploaded on server. That guide HP Cloud CDN Upload is very important. By default, the password is not supplied there. So, you actually need to add that one. Simply, this will be a bash script :

Vim
1
2
3
4
5
6
7
8
9
#!/bin/bash
export OS_AUTH_URL=https://region-a.geo-1.identity.hpcloudsvc.com:35357/v2.0/
export MON_API_URL=https://region-a.geo-1.monaas.hpcloudsvc.com/v1.1
export OS_TENANT_ID=xxxxxxxxxxxxxxxxxx
export OS_TENANT_NAME="1234567890-Project"
export OS_USERNAME="User-Name-Put-Here"
export OS_PASSWORD="Paas-word-Here"
export OS_REGION_NAME="region-a.geo-1"
if [ -z "$OS_REGION_NAME" ]; then unset OS_REGION_NAME; fi

save it somewhere like in /opt with .sh extension. Now, you need to source it :

Vim
1
2
chmod +x openrc.sh
source openrc.sh

Now, if you run :

Vim
1
mon alarm-create cpu1alarm 'cpu1>10'

You can create alarm. So, in this way, we can both monitor from localhost and get alarm via HP Cloud’s service. The Python package is written so badly, there are so many syntax errors, typical mistake to avoid SSL related error of Python apps that, modifying the Rackspace’s one will be better.

Tagged With explain supervisord in openstack monasca agent , HP Cloud monitoring

This Article Has Been Shared 481 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 OpenStack Monitoring Tool (For HP Cloud)

  • Cloud Computing – Risks of Free Public Cloud you are using

    Cloud Computing, specially the free public cloud computing has potential risks. Most users are not even aware that they are actually using Cloud Computing.

  • Engine of Your Cloud is The Hypervisor

    Engine of Your Cloud is The Hypervisor. Cloud is extensive use of virtualization to create multiple virtual servers on a single physical server to handle the demands.

  • HSDPA/3G USB Modem Brands and Models : Non Vendor-locked

    HSDPA/3G USB Modem Brands and Models from reputed brands are Non Vendor-locked, are feature rich,offers choice more than bundled with Internet Service Provider.

  • CORS Header in Rackspace Cloud Files

    This guide shows how to set CORS Header in Rackspace Cloud Files to Allow or Restrict usage over HTTPS protocol and how to get the headers.

  • The Relationship Between API and Cloud Infrastructure

    HTTPS, JSON and many other protocols are not sufficient to describe the relationship between an app and its Cloud infrastructure. We need more.

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

  • The Importance of Voice and Style in Essay Writing April 1, 2023
  • What Online Casinos Have No Deposit Bonus in Australia March 30, 2023
  • Four Foolproof Tips To Never Run Out Of Blog Ideas For Your Website March 28, 2023
  • The Interactive Entertainment Serving as a Tech Proving Ground March 28, 2023
  • Is it Good to Run Apache Web server and MySQL Database on Separate Cloud Servers? March 27, 2023

About This Article

Cite this article as: Abhishek Ghosh, "OpenStack Monitoring Tool (For HP Cloud)," in The Customize Windows, January 19, 2015, April 1, 2023, https://thecustomizewindows.com/2015/01/openstack-monitoring-tool-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