Agent for Monasca
Go to file
Tomasz Trębski af806edd55 Intergrate with osc-lib based client
Commits integrates monasca-agent with monascaclient,
that is currently using osc-lib. That requires some
changes in the initialization model of the client.

Details:
* no need to check if token has expired (underlying library
[osc-lib] will request new token if it is about to expire
* initializing the client happens once therefore keystone.Keystone
instance can be created lazily (it is singleton, so it might happen
it is already available)

Extra:
* marked all variables as private

Depends-On: I1712a24739438e2d8331a495f18f357749a633c5
Depends-On: Iec97e50089ed31ae7ad8244b37cec128817871a5
Depends-On: I579f6bcd5975a32af2a255be41c9b6c4043fa1dc

Change-Id: Ifee5b88ccb632222310aafb1081ecb9c9d085150
2017-07-12 06:42:45 +02:00
conf.d Merge "Add prometheus client plugin" 2017-06-29 18:30:04 +00:00
docs Integrate with keystoneauth 2017-07-11 09:02:34 +02:00
monasca_agent Intergrate with osc-lib based client 2017-07-12 06:42:45 +02:00
monasca_setup Integrate with keystoneauth 2017-07-11 09:02:34 +02:00
packaging Check status on agent stop and wait if not stopped 2016-12-13 14:57:51 -07:00
tests Integrate with keystoneauth 2017-07-11 09:02:34 +02:00
tests_to_fix Replace six.iteritems() with .items() 2017-04-03 22:52:26 +08:00
tools Update psutil version to >= 3.0.1 2017-02-01 18:37:57 -07:00
.gitignore Extend CI for monasca-agent 2017-03-30 06:33:59 +02:00
.gitreview Added detection check to find process by service command. 2016-07-01 16:30:14 +01:00
.testr.conf Extend CI for monasca-agent 2017-03-30 06:33:59 +02:00
agent.yaml.template Configurable logrotate in agent 2017-05-02 13:25:10 -07:00
bindep.txt Move other-requirements.txt to bindep.txt 2016-08-25 06:43:35 +00:00
LICENSE Add HPE copyright 2016-02-02 10:34:10 -07:00
mkdocs.yml Add HPE copyright 2016-02-02 10:34:10 -07:00
README.md Optimize the link address 2017-04-11 14:00:19 +05:30
requirements.txt Integrate with keystoneauth 2017-07-11 09:02:34 +02:00
setup.cfg Check OVS dependencies for python-novaclient 2017-06-26 09:14:31 +02:00
setup.py Add HPE copyright 2016-02-02 10:34:10 -07:00
test-requirements.txt Extend CI for monasca-agent 2017-03-30 06:33:59 +02:00
tox.ini Integrate with keystoneauth 2017-07-11 09:02:34 +02:00

Team and repository tags

Team and repository tags

Table of Contents

Introduction

The Monasca Agent is a modern Python monitoring agent for gathering metrics and sending them to the Monasca API. The Agent supports collecting metrics from a variety of sources as follows:

  • System metrics such as cpu and memory utilization.
  • Nagios plugins. The Monasca Agent can run Nagios plugins and send the status code returned by the plugin as a metric to the Monasca API.
  • Statsd. The Monasca Agent supports an integrated Statsd daemon which can be used by applications via a statsd client library.
  • Host alive. The Monasca Agent can perform active checks on a host to determine if it is alive using ping (ICMP) or SSH.
  • Process checks. The Monasca Agent can check a process and return several metrics on the process such as number of instances, memory, io and threads.
  • Http Endpoint checks. The Monasca Agent can perform active checks on http endpoints by sending an HTTP request to an API.
  • Service checks. The Agent can check service such as MySQL, RabbitMQ, and many more.
  • OpenStack metrics. The agent can perform checks on OpenStack processes.
  • The Agent can automatically detect and setup checks on certain processes and resources.

The Agent is extensible through configuration of additional plugins, written in Python.

Detailed Documentation

For an introduction to the Monasca Agent, including a complete list of the metrics that the Agent supports, see the "Agent" detailed documentation.

The Agent is extensible through configuration of additional check and setup plugins, written in Python. See the "Agent Customizations" detailed documentation.

Agent github.com/openstack/monasca-agent/blob/master/docs/Agent.md

Agent Customizations github.com/openstack/monasca-agent/docs/Customizations.md

Monasca Metrics github.com/openstack/monasca-agent/docs/MonascaMetrics.md

Agent Plugin details github.com/openstack/monasca-agent/docs/Plugins.md

License

(C) Copyright 2015 Hewlett Packard Enterprise Development Company LP