Monitoring: различия между версиями

Материал из noname.com.ua
Перейти к навигацииПерейти к поиску
Строка 15: Строка 15:
 
* InfluxDB/Grafana – Time-Series Event Recording and Analysis
 
* InfluxDB/Grafana – Time-Series Event Recording and Analysis
 
* LMA Nagios – Alerting for LMA Infrastructure
 
* LMA Nagios – Alerting for LMA Infrastructure
(more details about MOS fuel plugins: https://www.mirantis.com/products/openstack-drivers-and-plugins/fuel-plugins/)
+
(more details about MOS fuel plugins: [https://www.mirantis.com/products/openstack-drivers-and-plugins/fuel-plugins/) MOS Plugins overview]
 
<BR>
 
<BR>
 
It is possible to use LMA-related plugins separately but the are designed to be used in complex. In this document all examples are from cloud where all 4 plugins are installed and configured.
 
It is possible to use LMA-related plugins separately but the are designed to be used in complex. In this document all examples are from cloud where all 4 plugins are installed and configured.
Строка 22: Строка 22:
 
LMA is complex system and contains the follwing parts:
 
LMA is complex system and contains the follwing parts:
   
* Collectd - data collecting http://collectd.org/
+
* [http://collectd.org/ Collectd] - data collecting
* Heka - data collecting and aggregation http://hekad.readthedocs.org
+
* [http://hekad.readthedocs.org Heka] - data collecting and aggregation
* InluxDB - non-SQL database for time-based data, in LMA it is is used for charts in Grafana https://influxdata.com/
+
* [https://influxdata.com/ InluxDB] - non-SQL database for time-based data, in LMA it is is used for charts in Grafana
* ElasticSearch - non-SQL database, in LMA it is used to save logs. https://www.elastic.co/
+
* [https://www.elastic.co/ ElasticSearch - non-SQL database, in LMA it is used to save logs.
* Grafana - Graph and dashboard builder http://grafana.org/
+
* [http://grafana.org/ Grafana] - Graph and dashboard builder
* Kibana - Analytics and visualization platform https://www.elastic.co/products/kibana
+
* [https://www.elastic.co/products/kibana Kibana] - Analytics and visualization platform
* Nagios - Monitoring system https://www.nagios.org/
+
* [https://www.nagios.org/ Nagios] - Monitoring system
 
<PRE>
 
<PRE>
 
+--------------------------------+ Grafana dashboard Kibana Dashboard
 
+--------------------------------+ Grafana dashboard Kibana Dashboard

Версия 17:30, 9 февраля 2016

Monitorimg

Any complicated system need to be monitored. LMA (Logging Monitoring Alerting) Fuel Plugins provides complex logging, monitoring and alerting system for Mirantis Openstack. LMA use open-source products and can be also integrated with currently existing monitoring systems.
In this manual will be described complex configuration include 4 plugins:

  • ElasticSearch/Kibana – Log Search, Filtration and Analysis
  • LMA Collector – LMA Toolchain Data Aggregation Client
  • InfluxDB/Grafana – Time-Series Event Recording and Analysis
  • LMA Nagios – Alerting for LMA Infrastructure

(more details about MOS fuel plugins: MOS Plugins overview
It is possible to use LMA-related plugins separately but the are designed to be used in complex. In this document all examples are from cloud where all 4 plugins are installed and configured.

LMA DataFlow

LMA is complex system and contains the follwing parts:

  • Collectd - data collecting
  • Heka - data collecting and aggregation
  • InluxDB - non-SQL database for time-based data, in LMA it is is used for charts in Grafana
  • [https://www.elastic.co/ ElasticSearch - non-SQL database, in LMA it is used to save logs.
  • Grafana - Graph and dashboard builder
  • Kibana - Analytics and visualization platform
  • Nagios - Monitoring system
+--------------------------------+                                                                                   Grafana dashboard                      Kibana Dashboard
|Node N (compute or controller)  |                                                                                  -------------------                 ----------------------
|                                |                                                                                           ^                                       ^
|* collectd --->---+             |                                                                                           |                                       |          
|                  |             |                     +-<- Some data generated locally is looped to-<+                      |                                       |                
|                  |             |                     |    to be aggregated                          |                      |                                       |                
|*  hekad  <---<---+             |                     |                                              ^                      |                                       |                
|    |                           |       +-------------------------------------------+                |                      ^                                       |                
|    +------------->To Aggregator|------>| Heka on aggregator (Controller with VIP)  |---+------------+                      |                                       |                
|    |                           |       +-------------------------------------------+                                       |                                       |                     
|    |                           |               |to         |to            |to                                              |                                       |                   
|    |                           |               |Influx     |ElasticSearch |Nagios                                          |                                       |           
|    +---------------------------|->-------->--- +-------->--|------->------|--->---------->---------->--------------[ InfuxDB       ]                               ^
|    |                           |                           |              |                                                                                        |
|    |                           |                           |              |                                                                                        |
|    +---------------------------|------------------------>--+------->------|--->---------->---------->--------------[ ElasticSearch ]-------------------------------+
|                                |                                          |                                                                    
+--------------------------------+                                          |
                                                                            +----------------------------------------[ Nagios ]---> Alerts (e.g. email notifications)

Collectd

Collectd is collecting data, all details about collect are in separate document. Collectd in LMA detailed review

Heka

Heka is comolex tool so data flow in Heka is described in separate documents and divided on parts