c9ee4d30d9
This is an import of the initial LMA PoC code. For now, it only covers the collection of logs (notifications will be added in a subsequent commit). There's been a bit of rewrite to: - decouple the Heka configuration from the LMA collector. - run the Heka service as non-root when possible (Ubuntu only for now due to file permission issues on CentOS [1]). - adapt to version 0.9 of Heka. [1] https://bugs.launchpad.net/fuel/+bug/1425954 Change-Id: I4472b49a25e18e06984b5b29bdce18f917137bc8 |
||
---|---|---|
deployment_scripts/puppet | ||
repositories | ||
specs | ||
.gitreview | ||
LICENSE | ||
README.md | ||
environment_config.yaml | ||
metadata.yaml | ||
pre_build_hook | ||
tasks.yaml |
README.md
Logging, Monitoring and Alerting collector Plugin for Fuel
Overview
The Logging, Monitoring & Alerting (LMA) collector is a service running on each OpenStack node that collects logs and notifications. This data is sent to an ElasticSearch server for diagnostic, troubleshooting and alerting purposes.
Requirements
Requirement | Version/Comment |
---|---|
Mirantis OpenStack compatility | 6.1 or higher |
A running ElasticSearch server | 1.4 or higher, the RESTful API must be enabled over port 9200 |
Limitations
The plugin is only compatible with environments using Neutron.
Installation Guide
ElasticSearch configuration
To install and configure ElasticSearch, you can refer to the ElasticSearch/Kibana plugin for Fuel.
You can also install the ElasticSearch server outside of Fuel as long as it meets the plugin's requirements.
LMA collector plugin installation
To install the LMA collector plugin, follow these steps:
- Download the plugin from the Fuel Plugins Catalog.
- Copy the plugin file to the Fuel Master node.
scp lma_collector-1.0.0.fp root@<IP address>:
- Install the plugin using the
fuel
command line:
fuel plugins --install lma_collector-1.0.0.fp
- Verify that the plugin is installed correctly:
fuel plugins --list
User Guide
LMA collector plugin configuration
- Create a new environment with the Fuel UI wizard.
- Click on the Settings tab of the Fuel web UI.
- Scroll down the page, select the LMA collector plugin checkbox and fill-in the required fields.
Exploring the data
Refer to the ElasticSearch/Kibana plugin for exploring and visualizing the collected data.
Troubleshooting
If you see no data in the ElasticSearch server, check the following:
- The LMA collector service is running
# On CentOS
/etc/init.d/lma_collector status
# On Ubuntu
status lma_collector
- Look for errors in the LMA collector log file (located at
/var/log/lma_collector.log
) on the different nodes. - Nodes are able to connect to the ElasticSearch server on port 9200.
Known issues
None
Release Notes
6.1.0
- Initial release of the plugin.
Contributors
- Guillaume Thouvenin gthouvenin@mirantis.com
- Simon Pasquier spasquier@mirantis.com
- Swann Croiset scroiset@mirantis.com