際際滷

際際滷Share a Scribd company logo
[??????????????????]openstack_monitoring_session
Openstack monitoring
???????
2018.03.12
????? ???
Contents
1. Openstack monitoring ??
2. Openstack Monitoring Architecture
3. ELASTIC stack
4. Zabbix
5. Grafana
6. DEMO
- Internal Use Only -
Openstack monitoring
Horizon dashboard
? ??? ??? ??? ??
? ??? ?? ?? ???
? ??? ?? ?? ???
? Alerting ???
- Internal Use Only -
Openstack monitoring
The USE Method
? utilization: the average time that the resource was busy servicing work
? saturation: the degree to which the resource has extra work which it can't service,
often queued
? errors: the count of error events
Ref : http://www.brendangregg.com/usemethod.html
- Internal Use Only -
Openstack monitoring
The USE Method
? utilization: the average time that the resource was busy servicing work
? ??? ?? ????(metric)
? saturation: the degree to which the resource has extra work which it can't service,
often queued
? ??? ??? ??? ? (metric)
? errors: the count of error events
? ??? ??? ???? (log)
Ref : http://www.brendangregg.com/usemethod.html
- Internal Use Only -
Openstack monitoring
metric
? ?? ??
? ??? ????
? ?????? ????
Ex) Nagios, cacti, zabbix ?
log
? ???? ?? ?? ???
? ??? ???
? ??? ??
? ?????? ??
Ex) Rsyslog, graylog, elastic stack ?
- Internal Use Only -
Openstack monitoring
RDBMS
(postgresql,mariadb)
Zabbix serverZabbix agent
Log, metric
User
agent node
Zabbix? ??? metric log ????
? Log,metric store,trigger
? Log??? ??? ???
- Internal Use Only -
Openstack monitoring
RDBMS
(postgresql,mariadb)
Zabbix serverZabbix agent
metric
User
agent node
Elastic stack? ??? log ????
? Log??? ??? ??
? 2?? dashboard ? ????????
Elasticsearch
Filebeat Logstash
log
Kibana
- Internal Use Only -
Openstack monitoring
RDBMS
(postgresql,mariadb)
Zabbix serverZabbix agent
metric
User
agent node
Grafana? ??? ?? dashboard
? Log,metric ?? ? trigger ?? ?? ??
Elasticsearch
Filebeat Logstash
log
Kibana
Grafana
- Internal Use Only -
Openstack monitoring(optionally)
Kibana
Elasticsearch
Grafana
Zabbix server
Zabbix agent
Filebeat Logstash
log
metric
User
agent node
Zabbix proxy
Redis
(Or kafka)
RDBMS
(postgresql,mariadb)
??? ??? ???
? ??/???? ?? ?? ??? ????
????? store ?? ??
redis, zabbix proxy? ?? buffer ??
- Internal Use Only -
Openstack monitoring
Kibana
Elasticsearch
beat
Logstash
??? RESTful ?? ? ?? ??
Easticsearch ???? ???
??? ??, ?? ? Stash(??)
?? ??? ?? ??? ???? ???
(????,???, ???? ??, ??? ?? , Audit ?)
Alerting, X-Pack Monitoring , Reporting ,Machine LearningX-pack(??)
Elastic stack
- Internal Use Only -
Openstack monitoring
Functionality Elastic Alternatives
Security X-Pack Security Sematext Cloud,SearchGuard, nginx
Alerting X-Pack Alerting Elastalert, Logagent
Reporting Skedler, Sentinl,
Machine Learning X-Pack Machine Learning Knowi
Ref: https://sematext.com/blog/x-pack-alternatives/
X-Pack Alternatives
? X-pack ???? ??? ?? ? ? ?? ?????? ?? ?? ??
- Internal Use Only -
Openstack monitoring
X-Pack Alternatives
X-Pack ??? ???? ?? ??? ??
?? ??(basic) ??? ????? ?? (2018? 3? ?? 6.2.2 Release)
https://www.elastic.co/blog/doubling-down-on-open
- Internal Use Only -
Openstack monitoring
Filebeat
? ??? ?? ???? ??? logstash ? ??? ?? ??
? Type? ?? ?? output target ?? ?? log? ??
? Filebeat ??
- Internal Use Only -
Openstack monitoring
logstash
? ??? ???? ?? logstash? grok filter? ???
???? ?? ??? ??
- Internal Use Only -
Openstack monitoring
GROK pettern
? Unstructured ? ?? ???? structured?? ?? ??? ??? ??
? ships with 120+ petterns
? Grok pettern ? ???? Grok Debugger? ?? ?? ??
- Internal Use Only -
Openstack monitoring
Kibana
? ??? ??? ???? Kibana ???? ???
- Internal Use Only -
Openstack monitoring
Elastalert(X-Pack Alternatives)
? ElastAlert ?? ?? ??? noti ??
Ref : https://github.com/Yelp/elastalert
- Internal Use Only -
Openstack monitoring
zabbix
? Classic monitoring system
? Server,proxy,agent
? ?? ????? ??? Metric ?? ?? ??
metric ???? trigger ?? ? Noti Action
??? ?? ????? ???? ?? ??
Zabbix frontend
- Internal Use Only -
Openstack monitoring
Zabbix Item
? ????? Metric? item?? ?? ?? ?? ,?? ?? ?? ?? metric?? ??
(active, passive ?? ????)
- Internal Use Only -
Openstack monitoring
Zabbix trigger
? ??? ???? ??? ?? ? ??? ??? ??? ?? ?? noti
?? ?? action ??? ??? ??? ??
(ex, web page ?? ?? -> ??? ?? -> ??? ??? )
- Internal Use Only -
Openstack monitoring
Supported Data Sources
Elasticsearch
CloudWatch
InfluxDB
OpenTSDB
Prometheus
MySQL
Postgres
Zabbix
Grafana
? ??? ??? ???(log,metirc,??? ??? ?)? ???
- Internal Use Only -
Openstack monitoring
Grafana
Grafana (ES data)
? lucene query ? ???? import ?? ES ???? ???
- Internal Use Only -
Openstack monitoring
Grafana (zabbix data)
? Zabbix metric ??? query ??? ???
- Internal Use Only -
Openstack monitoring
Grafana alerting
? ??? ??? data ? ??? ?? ?? (ES.zabbix data ?? ??)
- Internal Use Only -
Openstack monitoring
Zabbix vulnerable point
? ???? metric? rdbms ? ??? Read/write
? dbms ? read ? ???? ?????? ??? ????? write? ???
/WhaTapIO/ss-77983778?ref=http://tech.whatap.io/2017/07/19/cloudmonitoring_performance/
Zabbix ?? ?? database
? Oracle
? Postgresql
? Mysql
? db2
- Internal Use Only -
Openstack monitoring
Zabbix Elasticsearch as history storage(to be)
? zabbix metric? Elasticsearch ? store
- Internal Use Only -
Openstack monitoring
Kibana
Elasticsearch
Grafana
Zabbix server
Zabbix agent
Filebeat Logstash
log
metric
User
agent node
Zabbix proxy
redis
RDBMS
(postgresql,mariadb)
store metric
Zabbix Elasticsearch as history storage(to be)
- Internal Use Only -
Openstack monitoring
Kibana
Elasticsearch
Grafana
Zabbix server
Zabbix agent
Filebeat Logstash
log
metric
User
agent node
Zabbix proxy
redis
RDBMS
(postgresql,mariadb)
Openstack Monitoring Architecture
Dashboard
monitoring
metric
noti
log
noti
- Internal Use Only -
DEMO
Ceph osd down ??? grafana , trigger??
- Internal Use Only -
DEMO
Error log ??? ?? grafana ? elastalert
Thank you.

More Related Content

What's hot (20)

PDF
AWS Summit Seoul 2015 -CloudFront? Route53 ?? ??? ?? ?? (GS???-???)
Amazon Web Services Korea
?
PDF
?????? ??? ???? (???) - AWS ??? ??? 2015
Amazon Web Services Korea
?
PDF
Snowflake SnowPro Certification Exam Cheat Sheet
Jeno Yamma
?
PDF
Alexei vladishev - Open Source Monitoring With Zabbix
Andr└ D└o
?
PDF
Introducing the Apache Unomi Project
Jahia Solutions Group
?
PDF
Cloud frontの古勣と娠侭
Kei Hirata
?
PDF
Amazon Elasticache - Fully managed, Redis & Memcached Compatible Service (Lev...
Amazon Web Services Korea
?
PPTX
AWSでのバ`スト D GP2 T2 ごB初Y創
Rasmus Ekman
?
PPTX
AWS Control Tower introduces Terraform account provisioning and customization
Dhaval Soni
?
PDF
promgen - prometheus managemnet tool / simpleclient_java hacks @ Prometheus c...
Tokuhiro Matsuno
?
PDF
Zabbix monitoring in 5 pictures
Nicola Mauri
?
PPTX
Windows Azure Service Bus
Return on Intelligence
?
PDF
[2018] NHN ????? ??? ?? for ??? ????
NHN FORWARD
?
PDF
Pentesting Rest API's by :- Gaurang Bhatnagar
OWASP Delhi
?
PDF
??????? ?? ?? AWS ?? ?? ??-AWS Summit Seoul 2017
Amazon Web Services Korea
?
PPTX
AWS Training For Beginners | AWS Certified Solutions Architect Tutorial | AWS...
Simplilearn
?
PPTX
ELK Stack
Phuc Nguyen
?
PDF
???? ??? ???_????, ??? ????)
IMQA
?
PDF
[Spring Camp 2018] 11?? Spring Cloud ?? MSA?? ?? : ?? 1??? ???
YongSung Yoon
?
PDF
Introducing Vault
Ramit Surana
?
AWS Summit Seoul 2015 -CloudFront? Route53 ?? ??? ?? ?? (GS???-???)
Amazon Web Services Korea
?
?????? ??? ???? (???) - AWS ??? ??? 2015
Amazon Web Services Korea
?
Snowflake SnowPro Certification Exam Cheat Sheet
Jeno Yamma
?
Alexei vladishev - Open Source Monitoring With Zabbix
Andr└ D└o
?
Introducing the Apache Unomi Project
Jahia Solutions Group
?
Cloud frontの古勣と娠侭
Kei Hirata
?
Amazon Elasticache - Fully managed, Redis & Memcached Compatible Service (Lev...
Amazon Web Services Korea
?
AWSでのバ`スト D GP2 T2 ごB初Y創
Rasmus Ekman
?
AWS Control Tower introduces Terraform account provisioning and customization
Dhaval Soni
?
promgen - prometheus managemnet tool / simpleclient_java hacks @ Prometheus c...
Tokuhiro Matsuno
?
Zabbix monitoring in 5 pictures
Nicola Mauri
?
Windows Azure Service Bus
Return on Intelligence
?
[2018] NHN ????? ??? ?? for ??? ????
NHN FORWARD
?
Pentesting Rest API's by :- Gaurang Bhatnagar
OWASP Delhi
?
??????? ?? ?? AWS ?? ?? ??-AWS Summit Seoul 2017
Amazon Web Services Korea
?
AWS Training For Beginners | AWS Certified Solutions Architect Tutorial | AWS...
Simplilearn
?
ELK Stack
Phuc Nguyen
?
???? ??? ???_????, ??? ????)
IMQA
?
[Spring Camp 2018] 11?? Spring Cloud ?? MSA?? ?? : ?? 1??? ???
YongSung Yoon
?
Introducing Vault
Ramit Surana
?

Similar to [??????????????????]openstack_monitoring_session (20)

PDF
[???????]MySQL Monitoring
Ji-Woong Choi
?
PDF
Accelerate spring boot application with apache ignite
YEON BOK LEE
?
PDF
[???????]?????? ??
Open Source Consulting
?
PPTX
Elastic Search Performance Optimization - Deview 2014
Gruter
?
PDF
Monitoring System Targeting OpenStack, Baremetal, and Network Fabric
Jaesuk Ahn
?
PDF
Elastic Stack & Data pipeline (1?)
Jongho Woo
?
PDF
?????? ????????? ???? ???? ????? ???????
Yeonhee Kim
?
PDF
Real-time Big Data Analytics Practice with Unstructured Data
Ted Won
?
PDF
[???????] ???? ??? ??? 2020
Ji-Woong Choi
?
PPTX
?????? ????????? ????? ???? ????? - Realtime log monitoring platform-PMon??? ...
Jemin Huh
?
PPTX
DeView2013 Big Data Platform Architecture with Hadoop - Hyeong-jun Kim
Gruter
?
PDF
???? ??? ?? ???? ???? ??? ???? : ???
NAVER D2
?
PDF
??????? ? ?? ????? : Tajo on AWS
Gruter
?
PDF
[???????]??? WAS ????? ???- Athena Dolly
Ji-Woong Choi
?
PPTX
Open source apm scouter? ?? ?? ?? jadecross ??? ??
uEngine Solutions
?
PPTX
Bigquery? airflow? ??? ??? ?? ??? ?? v1 ????(?) ??? 20170912
Yooseok Choi
?
PDF
??? ??? ??? ???? node.js ?? ??? - Playnode 2015
Goonoo Kim
?
PDF
Big data analysis with R and Apache Tajo (in Korean)
Gruter
?
PPTX
[??] I'mcloud information
startupkorea
?
PDF
??? (??? ???? ???) 5G IoT ??? ?? ???
ksdc2019
?
[???????]MySQL Monitoring
Ji-Woong Choi
?
Accelerate spring boot application with apache ignite
YEON BOK LEE
?
[???????]?????? ??
Open Source Consulting
?
Elastic Search Performance Optimization - Deview 2014
Gruter
?
Monitoring System Targeting OpenStack, Baremetal, and Network Fabric
Jaesuk Ahn
?
Elastic Stack & Data pipeline (1?)
Jongho Woo
?
?????? ????????? ???? ???? ????? ???????
Yeonhee Kim
?
Real-time Big Data Analytics Practice with Unstructured Data
Ted Won
?
[???????] ???? ??? ??? 2020
Ji-Woong Choi
?
?????? ????????? ????? ???? ????? - Realtime log monitoring platform-PMon??? ...
Jemin Huh
?
DeView2013 Big Data Platform Architecture with Hadoop - Hyeong-jun Kim
Gruter
?
???? ??? ?? ???? ???? ??? ???? : ???
NAVER D2
?
??????? ? ?? ????? : Tajo on AWS
Gruter
?
[???????]??? WAS ????? ???- Athena Dolly
Ji-Woong Choi
?
Open source apm scouter? ?? ?? ?? jadecross ??? ??
uEngine Solutions
?
Bigquery? airflow? ??? ??? ?? ??? ?? v1 ????(?) ??? 20170912
Yooseok Choi
?
??? ??? ??? ???? node.js ?? ??? - Playnode 2015
Goonoo Kim
?
Big data analysis with R and Apache Tajo (in Korean)
Gruter
?
[??] I'mcloud information
startupkorea
?
??? (??? ???? ???) 5G IoT ??? ?? ???
ksdc2019
?
Ad

[??????????????????]openstack_monitoring_session

  • 3. Contents 1. Openstack monitoring ?? 2. Openstack Monitoring Architecture 3. ELASTIC stack 4. Zabbix 5. Grafana 6. DEMO
  • 4. - Internal Use Only - Openstack monitoring Horizon dashboard ? ??? ??? ??? ?? ? ??? ?? ?? ??? ? ??? ?? ?? ??? ? Alerting ???
  • 5. - Internal Use Only - Openstack monitoring The USE Method ? utilization: the average time that the resource was busy servicing work ? saturation: the degree to which the resource has extra work which it can't service, often queued ? errors: the count of error events Ref : http://www.brendangregg.com/usemethod.html
  • 6. - Internal Use Only - Openstack monitoring The USE Method ? utilization: the average time that the resource was busy servicing work ? ??? ?? ????(metric) ? saturation: the degree to which the resource has extra work which it can't service, often queued ? ??? ??? ??? ? (metric) ? errors: the count of error events ? ??? ??? ???? (log) Ref : http://www.brendangregg.com/usemethod.html
  • 7. - Internal Use Only - Openstack monitoring metric ? ?? ?? ? ??? ???? ? ?????? ???? Ex) Nagios, cacti, zabbix ? log ? ???? ?? ?? ??? ? ??? ??? ? ??? ?? ? ?????? ?? Ex) Rsyslog, graylog, elastic stack ?
  • 8. - Internal Use Only - Openstack monitoring RDBMS (postgresql,mariadb) Zabbix serverZabbix agent Log, metric User agent node Zabbix? ??? metric log ???? ? Log,metric store,trigger ? Log??? ??? ???
  • 9. - Internal Use Only - Openstack monitoring RDBMS (postgresql,mariadb) Zabbix serverZabbix agent metric User agent node Elastic stack? ??? log ???? ? Log??? ??? ?? ? 2?? dashboard ? ???????? Elasticsearch Filebeat Logstash log Kibana
  • 10. - Internal Use Only - Openstack monitoring RDBMS (postgresql,mariadb) Zabbix serverZabbix agent metric User agent node Grafana? ??? ?? dashboard ? Log,metric ?? ? trigger ?? ?? ?? Elasticsearch Filebeat Logstash log Kibana Grafana
  • 11. - Internal Use Only - Openstack monitoring(optionally) Kibana Elasticsearch Grafana Zabbix server Zabbix agent Filebeat Logstash log metric User agent node Zabbix proxy Redis (Or kafka) RDBMS (postgresql,mariadb) ??? ??? ??? ? ??/???? ?? ?? ??? ???? ????? store ?? ?? redis, zabbix proxy? ?? buffer ??
  • 12. - Internal Use Only - Openstack monitoring Kibana Elasticsearch beat Logstash ??? RESTful ?? ? ?? ?? Easticsearch ???? ??? ??? ??, ?? ? Stash(??) ?? ??? ?? ??? ???? ??? (????,???, ???? ??, ??? ?? , Audit ?) Alerting, X-Pack Monitoring , Reporting ,Machine LearningX-pack(??) Elastic stack
  • 13. - Internal Use Only - Openstack monitoring Functionality Elastic Alternatives Security X-Pack Security Sematext Cloud,SearchGuard, nginx Alerting X-Pack Alerting Elastalert, Logagent Reporting Skedler, Sentinl, Machine Learning X-Pack Machine Learning Knowi Ref: https://sematext.com/blog/x-pack-alternatives/ X-Pack Alternatives ? X-pack ???? ??? ?? ? ? ?? ?????? ?? ?? ??
  • 14. - Internal Use Only - Openstack monitoring X-Pack Alternatives X-Pack ??? ???? ?? ??? ?? ?? ??(basic) ??? ????? ?? (2018? 3? ?? 6.2.2 Release) https://www.elastic.co/blog/doubling-down-on-open
  • 15. - Internal Use Only - Openstack monitoring Filebeat ? ??? ?? ???? ??? logstash ? ??? ?? ?? ? Type? ?? ?? output target ?? ?? log? ?? ? Filebeat ??
  • 16. - Internal Use Only - Openstack monitoring logstash ? ??? ???? ?? logstash? grok filter? ??? ???? ?? ??? ??
  • 17. - Internal Use Only - Openstack monitoring GROK pettern ? Unstructured ? ?? ???? structured?? ?? ??? ??? ?? ? ships with 120+ petterns ? Grok pettern ? ???? Grok Debugger? ?? ?? ??
  • 18. - Internal Use Only - Openstack monitoring Kibana ? ??? ??? ???? Kibana ???? ???
  • 19. - Internal Use Only - Openstack monitoring Elastalert(X-Pack Alternatives) ? ElastAlert ?? ?? ??? noti ?? Ref : https://github.com/Yelp/elastalert
  • 20. - Internal Use Only - Openstack monitoring zabbix ? Classic monitoring system ? Server,proxy,agent ? ?? ????? ??? Metric ?? ?? ?? metric ???? trigger ?? ? Noti Action ??? ?? ????? ???? ?? ?? Zabbix frontend
  • 21. - Internal Use Only - Openstack monitoring Zabbix Item ? ????? Metric? item?? ?? ?? ?? ,?? ?? ?? ?? metric?? ?? (active, passive ?? ????)
  • 22. - Internal Use Only - Openstack monitoring Zabbix trigger ? ??? ???? ??? ?? ? ??? ??? ??? ?? ?? noti ?? ?? action ??? ??? ??? ?? (ex, web page ?? ?? -> ??? ?? -> ??? ??? )
  • 23. - Internal Use Only - Openstack monitoring Supported Data Sources Elasticsearch CloudWatch InfluxDB OpenTSDB Prometheus MySQL Postgres Zabbix Grafana ? ??? ??? ???(log,metirc,??? ??? ?)? ???
  • 24. - Internal Use Only - Openstack monitoring Grafana Grafana (ES data) ? lucene query ? ???? import ?? ES ???? ???
  • 25. - Internal Use Only - Openstack monitoring Grafana (zabbix data) ? Zabbix metric ??? query ??? ???
  • 26. - Internal Use Only - Openstack monitoring Grafana alerting ? ??? ??? data ? ??? ?? ?? (ES.zabbix data ?? ??)
  • 27. - Internal Use Only - Openstack monitoring Zabbix vulnerable point ? ???? metric? rdbms ? ??? Read/write ? dbms ? read ? ???? ?????? ??? ????? write? ??? /WhaTapIO/ss-77983778?ref=http://tech.whatap.io/2017/07/19/cloudmonitoring_performance/ Zabbix ?? ?? database ? Oracle ? Postgresql ? Mysql ? db2
  • 28. - Internal Use Only - Openstack monitoring Zabbix Elasticsearch as history storage(to be) ? zabbix metric? Elasticsearch ? store
  • 29. - Internal Use Only - Openstack monitoring Kibana Elasticsearch Grafana Zabbix server Zabbix agent Filebeat Logstash log metric User agent node Zabbix proxy redis RDBMS (postgresql,mariadb) store metric Zabbix Elasticsearch as history storage(to be)
  • 30. - Internal Use Only - Openstack monitoring Kibana Elasticsearch Grafana Zabbix server Zabbix agent Filebeat Logstash log metric User agent node Zabbix proxy redis RDBMS (postgresql,mariadb) Openstack Monitoring Architecture Dashboard monitoring metric noti log noti
  • 31. - Internal Use Only - DEMO Ceph osd down ??? grafana , trigger??
  • 32. - Internal Use Only - DEMO Error log ??? ?? grafana ? elastalert

Editor's Notes

  • #5: ?? ???? ??? ????? ???? ?? ???? ????? ?? ?? ???? ???? ???? ????? ??? ??? ?? ???. ? ????? ??? ?? ??? ?? ???? ????, ?? ??? ?? ?? ???? ??? ?? ????. ??? ??? ??? ?? ??? ??? ??? ?? ?? ??? ??? ?? ???? cli ???? ?? ??? ?? ?? ???. ?? ??? ??? ???? ????? ??? ????? ??? ?? ? ? ?? ??? , ?? ??? ?? ?? ????????? ??? ?? ???. ??? ??? ????? ?????? ??? ??? ?? ????? ?? ???. ??? ??? ???? ??? ???? ?? ?? ?? ??? ????.
  • #6: ????? ???? ?? ??? ?? use method ? ????. Utilization ?? ?? ?? ? saturation ??? ?? ?? ???, ??? ??? ??? ???
  • #7: ?? ??? ??? ?? utilization ? ??? ??? ?? ??? ??, saturation ??? ??? ??? ??? ?? ??? ??? ???
  • #12: Redis ???? ??? ???? ?? ?? ? ??? ???? ??? ? ? ??
  • #22: ???:?? -> ???? -> ?? ???: ???? -> ?? ???? zabbix_agentd.conf? Server? ?? ??? ???? ?? ??? ???? ?? ??? ??? ?? 1???? 1???? ???? ????? ??? ?? ?? ???? ??? ????? ??? ??? ??