no check left behind · 2019-10-25 · grafana’s zabbix datasource zabbix →grafana 15 nagios is...
TRANSCRIPT
![Page 1: No Check Left Behind · 2019-10-25 · Grafana’s Zabbix datasource Zabbix →Grafana 15 Nagios is a free and open source monitoring tool plugins - scripts to check and report Nagios](https://reader036.vdocuments.net/reader036/viewer/2022062402/5ecdacaae6a6dc1a70663f95/html5/thumbnails/1.jpg)
![Page 2: No Check Left Behind · 2019-10-25 · Grafana’s Zabbix datasource Zabbix →Grafana 15 Nagios is a free and open source monitoring tool plugins - scripts to check and report Nagios](https://reader036.vdocuments.net/reader036/viewer/2022062402/5ecdacaae6a6dc1a70663f95/html5/thumbnails/2.jpg)
![Page 3: No Check Left Behind · 2019-10-25 · Grafana’s Zabbix datasource Zabbix →Grafana 15 Nagios is a free and open source monitoring tool plugins - scripts to check and report Nagios](https://reader036.vdocuments.net/reader036/viewer/2022062402/5ecdacaae6a6dc1a70663f95/html5/thumbnails/3.jpg)
No Check Left Behind
Claudio Pisa - GARR
Rome
OpenInfraDays 2019
![Page 4: No Check Left Behind · 2019-10-25 · Grafana’s Zabbix datasource Zabbix →Grafana 15 Nagios is a free and open source monitoring tool plugins - scripts to check and report Nagios](https://reader036.vdocuments.net/reader036/viewer/2022062402/5ecdacaae6a6dc1a70663f95/html5/thumbnails/4.jpg)
●Italian NREN (National Research and Education Network)○nonprofit organization○connected to GÉANT●High speed network○1000+ locations○~4.5 million users■teachers, researchers, students○15,000 km of optical fiber○380 Petabyte Yearly Traffic
Consortium GARR
4
![Page 5: No Check Left Behind · 2019-10-25 · Grafana’s Zabbix datasource Zabbix →Grafana 15 Nagios is a free and open source monitoring tool plugins - scripts to check and report Nagios](https://reader036.vdocuments.net/reader036/viewer/2022062402/5ecdacaae6a6dc1a70663f95/html5/thumbnails/5.jpg)
5
GARR Computing and Storage
![Page 6: No Check Left Behind · 2019-10-25 · Grafana’s Zabbix datasource Zabbix →Grafana 15 Nagios is a free and open source monitoring tool plugins - scripts to check and report Nagios](https://reader036.vdocuments.net/reader036/viewer/2022062402/5ecdacaae6a6dc1a70663f95/html5/thumbnails/6.jpg)
![Page 7: No Check Left Behind · 2019-10-25 · Grafana’s Zabbix datasource Zabbix →Grafana 15 Nagios is a free and open source monitoring tool plugins - scripts to check and report Nagios](https://reader036.vdocuments.net/reader036/viewer/2022062402/5ecdacaae6a6dc1a70663f95/html5/thumbnails/7.jpg)
●Tool for the deployment, configuration and management of services on public and private cloud infrastructures●Free and open source●Exposes a high-level declarative language●Charms○script collections○can be written in any scripting/programming language○collected on the Juju store●Juju orchestrates the deployment, composition and scaling of Charms
Juju
7
![Page 8: No Check Left Behind · 2019-10-25 · Grafana’s Zabbix datasource Zabbix →Grafana 15 Nagios is a free and open source monitoring tool plugins - scripts to check and report Nagios](https://reader036.vdocuments.net/reader036/viewer/2022062402/5ecdacaae6a6dc1a70663f95/html5/thumbnails/8.jpg)
●Different monitoring systems:○Nagios■OpenStack services○Zabbix■Ceph■Hardware sensors●Some systems not monitored
Monitoring - day 0 (one year ago)
8
![Page 9: No Check Left Behind · 2019-10-25 · Grafana’s Zabbix datasource Zabbix →Grafana 15 Nagios is a free and open source monitoring tool plugins - scripts to check and report Nagios](https://reader036.vdocuments.net/reader036/viewer/2022062402/5ecdacaae6a6dc1a70663f95/html5/thumbnails/9.jpg)
![Page 10: No Check Left Behind · 2019-10-25 · Grafana’s Zabbix datasource Zabbix →Grafana 15 Nagios is a free and open source monitoring tool plugins - scripts to check and report Nagios](https://reader036.vdocuments.net/reader036/viewer/2022062402/5ecdacaae6a6dc1a70663f95/html5/thumbnails/10.jpg)
![Page 11: No Check Left Behind · 2019-10-25 · Grafana’s Zabbix datasource Zabbix →Grafana 15 Nagios is a free and open source monitoring tool plugins - scripts to check and report Nagios](https://reader036.vdocuments.net/reader036/viewer/2022062402/5ecdacaae6a6dc1a70663f95/html5/thumbnails/11.jpg)
Objective:build a unified comprehensive
dashboard
Objective
11
State of the art:Grafana
![Page 12: No Check Left Behind · 2019-10-25 · Grafana’s Zabbix datasource Zabbix →Grafana 15 Nagios is a free and open source monitoring tool plugins - scripts to check and report Nagios](https://reader036.vdocuments.net/reader036/viewer/2022062402/5ecdacaae6a6dc1a70663f95/html5/thumbnails/12.jpg)
●Existing monitoring systems seem to be doing their job well○the right tool for the right job●What is missing is just a single viewpoint●Grafana seems to have what we need
Considerations
12
![Page 13: No Check Left Behind · 2019-10-25 · Grafana’s Zabbix datasource Zabbix →Grafana 15 Nagios is a free and open source monitoring tool plugins - scripts to check and report Nagios](https://reader036.vdocuments.net/reader036/viewer/2022062402/5ecdacaae6a6dc1a70663f95/html5/thumbnails/13.jpg)
●Grafana is a platform for data visualization, querying and alerting●Several pluggable data sources:○Zabbix○PNP (Nagios)○Prometheus○Gnocchi○Monasca○JSON (general purpose)○MySQL / PostgreSQL (general purpose)●Data from heterogeneous sources can be mixed in the same dashboard
Grafana
13
![Page 14: No Check Left Behind · 2019-10-25 · Grafana’s Zabbix datasource Zabbix →Grafana 15 Nagios is a free and open source monitoring tool plugins - scripts to check and report Nagios](https://reader036.vdocuments.net/reader036/viewer/2022062402/5ecdacaae6a6dc1a70663f95/html5/thumbnails/14.jpg)
![Page 15: No Check Left Behind · 2019-10-25 · Grafana’s Zabbix datasource Zabbix →Grafana 15 Nagios is a free and open source monitoring tool plugins - scripts to check and report Nagios](https://reader036.vdocuments.net/reader036/viewer/2022062402/5ecdacaae6a6dc1a70663f95/html5/thumbnails/15.jpg)
●Zabbix○“batteries included” free and open source monitoring tool○auto discovery○XML based templates○remote agents○Good Ceph integration○Good multiuser support●Straightforward integration with Grafana○Grafana’s Zabbix datasource
Zabbix → Grafana
15
![Page 16: No Check Left Behind · 2019-10-25 · Grafana’s Zabbix datasource Zabbix →Grafana 15 Nagios is a free and open source monitoring tool plugins - scripts to check and report Nagios](https://reader036.vdocuments.net/reader036/viewer/2022062402/5ecdacaae6a6dc1a70663f95/html5/thumbnails/16.jpg)
![Page 17: No Check Left Behind · 2019-10-25 · Grafana’s Zabbix datasource Zabbix →Grafana 15 Nagios is a free and open source monitoring tool plugins - scripts to check and report Nagios](https://reader036.vdocuments.net/reader036/viewer/2022062402/5ecdacaae6a6dc1a70663f95/html5/thumbnails/17.jpg)
●Nagios is a free and open source monitoring tool○plugins - scripts to check and report○Nagios remote plugin executor (NRPE) - for remote hosts○known especially for alerting○FAQ: how do you pronounce Nagios?■the author pronounces it as “nah-ghee-ose”■but “you can pronounce it however the heck you'd like”■even “nachos”
Nagios
17
![Page 18: No Check Left Behind · 2019-10-25 · Grafana’s Zabbix datasource Zabbix →Grafana 15 Nagios is a free and open source monitoring tool plugins - scripts to check and report Nagios](https://reader036.vdocuments.net/reader036/viewer/2022062402/5ecdacaae6a6dc1a70663f95/html5/thumbnails/18.jpg)
●Nagios is very well integrated in Juju○Nagios charm○NRPE charm○Canonical OpenStack charms come with handy Nagios configuration options
Nagios
18
![Page 19: No Check Left Behind · 2019-10-25 · Grafana’s Zabbix datasource Zabbix →Grafana 15 Nagios is a free and open source monitoring tool plugins - scripts to check and report Nagios](https://reader036.vdocuments.net/reader036/viewer/2022062402/5ecdacaae6a6dc1a70663f95/html5/thumbnails/19.jpg)
●PNP is an addon to Nagios which analyzes performance data provided by Nagios plugins and stores them automatically into Round Robin Databases (RRD)○and there is a PNP Grafana datasource
PNP my Nagios
19
![Page 20: No Check Left Behind · 2019-10-25 · Grafana’s Zabbix datasource Zabbix →Grafana 15 Nagios is a free and open source monitoring tool plugins - scripts to check and report Nagios](https://reader036.vdocuments.net/reader036/viewer/2022062402/5ecdacaae6a6dc1a70663f95/html5/thumbnails/20.jpg)
![Page 21: No Check Left Behind · 2019-10-25 · Grafana’s Zabbix datasource Zabbix →Grafana 15 Nagios is a free and open source monitoring tool plugins - scripts to check and report Nagios](https://reader036.vdocuments.net/reader036/viewer/2022062402/5ecdacaae6a6dc1a70663f95/html5/thumbnails/21.jpg)
●The Nagios Charm monitors the OpenStack services○but not what is happening inside OpenStack●Simple idea: write a set of Nagios plugins which collect metrics from the OpenStack API○number of projects○number of servers○floating IP address usage○volume usage○OpenStack APIs reachability○…
OpenStack → Nagios
21
![Page 22: No Check Left Behind · 2019-10-25 · Grafana’s Zabbix datasource Zabbix →Grafana 15 Nagios is a free and open source monitoring tool plugins - scripts to check and report Nagios](https://reader036.vdocuments.net/reader036/viewer/2022062402/5ecdacaae6a6dc1a70663f95/html5/thumbnails/22.jpg)
![Page 23: No Check Left Behind · 2019-10-25 · Grafana’s Zabbix datasource Zabbix →Grafana 15 Nagios is a free and open source monitoring tool plugins - scripts to check and report Nagios](https://reader036.vdocuments.net/reader036/viewer/2022062402/5ecdacaae6a6dc1a70663f95/html5/thumbnails/23.jpg)
![Page 24: No Check Left Behind · 2019-10-25 · Grafana’s Zabbix datasource Zabbix →Grafana 15 Nagios is a free and open source monitoring tool plugins - scripts to check and report Nagios](https://reader036.vdocuments.net/reader036/viewer/2022062402/5ecdacaae6a6dc1a70663f95/html5/thumbnails/24.jpg)
●A new kid on the block: Kubernetes○container platform○inspired by Google Borg●Prometheus○open source monitoring tool○inspired by the Google Borg Monitor○powerful query language (PromQL)○alerting○white-box monitoring●Kubernetes supports Prometheus natively●Grafana supports Prometheus natively
Kubernetes → Prometheus → Grafana
24
![Page 25: No Check Left Behind · 2019-10-25 · Grafana’s Zabbix datasource Zabbix →Grafana 15 Nagios is a free and open source monitoring tool plugins - scripts to check and report Nagios](https://reader036.vdocuments.net/reader036/viewer/2022062402/5ecdacaae6a6dc1a70663f95/html5/thumbnails/25.jpg)
![Page 26: No Check Left Behind · 2019-10-25 · Grafana’s Zabbix datasource Zabbix →Grafana 15 Nagios is a free and open source monitoring tool plugins - scripts to check and report Nagios](https://reader036.vdocuments.net/reader036/viewer/2022062402/5ecdacaae6a6dc1a70663f95/html5/thumbnails/26.jpg)
![Page 27: No Check Left Behind · 2019-10-25 · Grafana’s Zabbix datasource Zabbix →Grafana 15 Nagios is a free and open source monitoring tool plugins - scripts to check and report Nagios](https://reader036.vdocuments.net/reader036/viewer/2022062402/5ecdacaae6a6dc1a70663f95/html5/thumbnails/27.jpg)
![Page 28: No Check Left Behind · 2019-10-25 · Grafana’s Zabbix datasource Zabbix →Grafana 15 Nagios is a free and open source monitoring tool plugins - scripts to check and report Nagios](https://reader036.vdocuments.net/reader036/viewer/2022062402/5ecdacaae6a6dc1a70663f95/html5/thumbnails/28.jpg)
28
●Nagios (vs. Prometheus)○Nagios has no query language■but it is very easy to develop new plugins○Nagios (+PNP) uses RRD based storage■not suitable for highly dynamic environments●e.g. cloud-native applications■but suitable for infrastructure monitoring●Grafana performance (time to render graphs)○very good with Nagios+PNP○OK with Zabbix○can be slow with Prometheus
Considerations / Takeaways
![Page 29: No Check Left Behind · 2019-10-25 · Grafana’s Zabbix datasource Zabbix →Grafana 15 Nagios is a free and open source monitoring tool plugins - scripts to check and report Nagios](https://reader036.vdocuments.net/reader036/viewer/2022062402/5ecdacaae6a6dc1a70663f95/html5/thumbnails/29.jpg)
●Self healing○react to well known bugs○with well known recipes○with some hysteresis / guard time●AIOps - Artificial Intelligence for Operations○collect many many metrics○annotate incidents/events○train an AI using the collected data○profit!
Future Work
29