Install and use Ganglia API and gangliaapi

Source: Internet
Author: User

Install and use Ganglia API and gangliaapi
Ganglia monitoring does not provide APIs for external programs to call. However, according to the principle of ganglia monitoring, you can analyze the xml of gmetad port to directly obtain metrics.
Guardian has released such a python program on Github. You can query metric directly through the restful API.
Https://github.com/guardian/ganglia-api
Installation requirements:
Virtualenv
Tornado
Python2.6 or above
Ganlgia API is an independent program that can be installed anywhere
Change import settings in the ganglia-api.py file to import dev_settings
Start
Virtualenv ve
Source ve/bin/activate
Python ganglia/ganglia_api.py
Note:
1. the/etc/ganglia/gmetad-*. conf file must exist. * can be replaced by other characters.
2. tornado installation requires dependent packages:
Backports. ssl_match_hostname
Certifi
For other usage and installation instructions, see README. md in Github or source code.


Has anyone installed the ganglia monitoring tool in windows and compiled ganglia with cygwin?

What is ganglia? Is it a package?
 
Help me monitor other host information with ganglia

It is not easy for you to change the software .... Yescloud network management software ~~ Meixin cloud network management mini edition is the first permanent free enterprise-level network management software in China that has been honed by major customers,
Provides the following powerful functions:

1. Supports monitoring 10 Windows, Linux servers, and network devices, or 50 PING and URL entries;

2. Monitoring content includes: CPU, memory, disk, Nic, process, port, directory, file, log, port up/down, traffic,
Bandwidth, packet loss rate, error packet rate, network availability, URL download time, anti-tampering on webpages, and other hundreds of metric parameters;

3. Supports email, short messages, sound and remote sound alarms;

4. Supports multiple reports, including health reports, indicator reports, and comparison reports;

5. Supports multiple views including status statistics, my dashboard, management objects, and monitoring points.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.