Logging, Monitoring and Alerting (LMA) Collector Plugin for Fuel ================================================================ Overview -------- The Logging, Monitoring & Alerting (LMA) collector is a service running on each OpenStack node that collects logs and notifications. Those data are 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 OpenStack environments deployed with Neutron for networking. Installation Guide ================== Prior to installing the LMA Collector Plugin, you may want to install ElasticSearch and Kibana. To install ElasticSearch and Kibana automatically using Fuel, you can refer to the [ElasticSearch-Kibana Fuel Plugin ](https://github.com/stackforge/fuel-plugin-elasticsearch-kibana). You can install ElasticSearch and Kibana outside of Fuel as long as your installation meets the LMA Collector plugin's requirements defined above. **LMA collector plugin** installation ------------------------------------- To install the LMA Collector plugin, follow these steps: 1. Download the plugin from the [Fuel Plugins Catalog](https://software.mirantis.com/download-mirantis-openstack-fuel-plug-ins/). 2. Copy the plugin file to the Fuel Master node. ``` scp lma_collector-0.7-0.7.0-0.noarch.rpm root@: ``` 3. Install the plugin using the `fuel` command line: ``` fuel plugins --install lma_collector-0.7-0.7.0-0.noarch.rpm ``` 4. Verify that the plugin is installed correctly: ``` fuel plugins --list ``` Please refer to the [Fuel Plugins wiki](https://wiki.openstack.org/wiki/Fuel/Plugins) if you want to build the plugin by yourself, version 2.0.0 (or higher) of the Fuel Plugin Builder is required. User Guide ========== **LMA collector plugin** configuration -------------------------------------- 1. Create a new environment with the Fuel UI wizard. 2. Click on the Settings tab of the Fuel web UI. 3. 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](https://github.com/stackforge/fuel-plugin-elasticsearch-kibana) for exploring and visualizing the collected data. Troubleshooting --------------- If you see no data in the ElasticSearch server, check the following: 1. The LMA collector service is running ``` # On CentOS /etc/init.d/lma_collector status # On Ubuntu status lma_collector ``` 2. Look for errors in the LMA collector log file (located at `/var/log/lma_collector.log`) on the different nodes. 3. Nodes are able to connect to the ElasticSearch server on port 9200. Known issues ------------ None Release Notes ------------- **0.7.0** * Initial release of the plugin. This is a beta version. Contributors ------------ * Guillaume Thouvenin * Simon Pasquier * Swann Croiset