SlideShare una empresa de Scribd logo
1 de 31
Descargar para leer sin conexión
OMD 2016+
Nürnberg, 30.11.16
Seite
Worum geht‘s?
• Wie und wann entstand OMD?
• Erste Projekte nach der Gründung.
• OMD 2015 – Labs Edition.
• OMD 2016 – Was ist neu?
• Stand heute – Installationen und Technologien.
• OMD 2016+ - Was steht bevor?
05.12.2016 www.consol.de2
Seite
2010 Open Monitoring Distribution
05.12.2016 www.consol.de3
v.l.n.r
Lars Michelsen
Wolfgang Barth
Gerhard Laußer
Mathias Kettner
Jörg Linge
Sven Nierlein
Stefan Hösl
Seite
2010 installierte man ein Monitoring mit…
• Download nagios-x.y.z
• ./configure; make; make install
• Download nagios-plugins-x.y.z
• ./configure; make; make install
• Download pnp4nagios-x.y.z
• ./configure; make; make install
• Frickel
• Frickel
• Frickel
• Frickel
05.12.2016 www.consol.de4
Seite
Seit OMD installiert man ein Monitoring mit
• yum install omd-1.30
• omd create site
• omd start site
• Gaaaaanz wenig Frickel
• Gaaaaanz wenig Frickel
• Gaaaaanz wenig Frickel
05.12.2016 www.consol.de5
Seite
Erste nennenswerte Projekte mit OMD
• Landeshauptstadt München
– Monitoring sämtlicher IT-Komponenten
• Automobilhersteller
– Betriebssystemmonitoring aller Unix/Linux-Server
– Applikationsmonitoring mit Selbstbedienungsportal
– Datenbankmonitoring SaaS
• Deutsche Pfandbriefbank
– End-to-End-Monitoring mit Sakuli, SAP-Businessprozesse
• Lidl
– 200 Lagerhäuser, Geschäftsprozesse, Logistik
05.12.2016 www.consol.de6
Seite
Neue Technologien – mehr Tempo
Mehrere OMD-Addon-Pakete für diverse Kunden entstanden
Immer öfter tauchten auf der OSMC Tools wie Grafana oder
Graphite auf. Allerdings ohne einfache Integration.
Häufig verwendete bzw. sich schnell entwickelnde Plugins.
Die OMD-Labs-Edition entstand, damit über Nacht neue
Funktionen reingebracht werden konnten.
05.12.2016 www.consol.de7
Seite
OMD Labs-Edition
Nagios Icinga
Monitoring-Plugins
Jmx4Perl
Dokuwiki Thruk
Nagvis
PNP4Nagios
Shinken
MongoDB
MySQL
Apache
check_logfiles
check_mysql_health
check_oracle_health
check_multi
Mod-Gearman
check_webinject InfluxDB
Elastic Search
Icinga2
FreeTDS
check_mssql_health
Grafana
Naemon
check_nwc_health
coshsh
HTTPS
Seite
OMD Labs-Edition
Standard-OMD OMD-*-Add-on
OMD-*-Add-on
OMD-*-Add-on
Standard-OMD
Standard-OMD
OMD Labs-Edition OMD-*-Add-on
OMD-*-Add-on
OMD-*-Add-on
OMD Labs-Edition
OMD Labs-Edition
Best Practice
und
Gemeinsamkeiten
in den Add-ons
wandern in die
Labs-Edition.
Dadurch werden
die Add-ons
wartungsfreundlicher
und die Labs-Edition
praxiserprobter.
Seite
OMD Labs 2015 – Modernere Graphen
Als Alternative zu PNP4Nagios/RRD können Perfdaten
– in einer InfluxDB gespeichert
– und mit Grafana angezeigt werden
Einfach mit
omd config set influxdb on
omd config set grafana on
omd config set nagflux on
und Templates srv-perf und host-perf
05.12.2016 www.consol.de10
Seite
OMD Labs 2015 – Modernere Graphen
Als Popup
oder Dashboard
05.12.2016 www.consol.de11
Seite
OMD Labs 2015 – Modernere Graphen
Und weil in OMD nichts reinkommen soll, nur weil es cool ist,
sondern weil es einen Mehrwert bietet….
werden z.b.
• Downtimes ausgegraut
• tauchen ACK-Texte als
Popup auf
• werden Schwellwerte so
angezeigt, wie sie waren
05.12.2016 www.consol.de12
Seite
OMD 2016
• Die größte Installation umfasst 200 weltweite Standorte mit
jeweils eigenem OMD, zusammengefasst in 3 Thruk-Ebenen.
• Aufbau von Know How in Ansible, daher wurde Ansible 2.x in
OMD Labs aufgenommen.
Neuinstallation und Updates per Ansible.
Plugin-Verteilung per Ansible.
Inter-Site-Connections (ssh-Tunnel) per Ansible
05.12.2016 www.consol.de13
Seite
OMD 2016 – Installationen auf reiner Labs-Basis
Mittlerweile gehören zum Portfolio:
• Coshsh – Konfigurationsgenerator
• dataScryer – Prediction auf Basis von InfluxDB
• check_*_health
• check_nsc_web – Client für NSClient++ (https/Rest)
• Icinga2
Security-Audits sind kein Problem mehr, sämtliche
Kommunikation läuft über ssh und https.
05.12.2016 www.consol.de14
Seite
OMD 2016 – Sogar 2 Icinga2
Die Kunden wollten es halt….
Da aber jeder auf Thruk als GUI besteht, wurde gebastelt,
denn von Haus aus
braucht Thruk nagios.log
oder seine eigene DB
05.12.2016 www.consol.de15
Seite
OMD 2016 – LMD
Hunderte Backends hinter einem Thruk können sich zäh
anfühlen.
Tausende Backends sollen aber möglich sein.
Livestatus-Implementierungen sind unterschiedlich/buggy
Livestatus Multi Daemon ist ein
• Cache
• Aggregierer
• Sortierer
• Formatierer
05.12.2016 www.consol.de16
Seite
OMD 2016 – omd config set prometheus on
05.12.2016 www.consol.de17
Seite
OMD 2016 – Prometheus
Immer öfter trifft man auf Docker, Openstack, OpenShift,
Kubernetes, Mesos, etc., auch wenn man sich bisher in ganz
klassischen IT-Umgebungen aufgehalten hat.
Diese hochdynamischen Landschaften passen nicht zu
statischen Konfigurationsdateien und auch nicht zu Monitoring-
Systemen, die bei jedem Update durchgestartet werden
müssen bzw. deren GUI nicht aktuell gehalten werden kann.
Updates per API oder Hinterherhecheln mit coshsh passen
nicht.
05.12.2016 www.consol.de18
Seite
OMD 2016 – Prometheus
Die genannten Plattformen bringen bereits Prometheus-
Schnittstellen mit.
Software wird bewusst mit Prometheus-Instrumentierung
entwickelt.
Das Naheliegendste war, OMD um ein adäquates Tool zu
erweitern, um beide Welten aus einer Hand abdecken zu
können.
Prometheus breitet sich rasend schnell aus, dürfte der
Platzhirsch sein/werden und „fühlt“ sich richtig an.
05.12.2016 www.consol.de19
Seite
OMD 2016 – Prometheus
Bestandteil von OMD sind
• Prometheus
• Alertmanager
• node_exporter
• blackbox_exporter
• Pushgateway
Alles wie gehabt in eigenen Sites, mit gewohnten Kommandos
omd config set *** on
Hinter einem Thruk-Loginscreen mit https und Passwort.
05.12.2016 www.consol.de20
Seite
OMD 2016 – Erste POC-Installationen Prometheus
05.12.2016 www.consol.de21
Seite
OMD 2016+ – SNMP-Traps
Ganz aktuell entsteht eine neue Art der Verarbeitung von SNMP-Traps.
Die coshsh-Klasse weiß, welche Mibs dazugehören
class VNXStorageprocessor(coshsh.application.Application):
template_rules = [
coshsh.templaterule.TemplateRule(needsattr=None,
template="os_vnx_default"),
coshsh.templaterule.TemplateRule(needsattr='trap_events',
template="os_vnx_traps"),
]
implements_mibs = ['CLARIION-MIB']
05.12.2016 www.consol.de22
Seite
OMD 2016+ – SNMP-Traps
Die Mib wird mit snmptt konvertiert, Ausnahmen werden eingetragen
# Unisphere can no longer manage (SP B). This does not impact server I/O to the storage system
EVENT EventMonitorTrapError .1.3.6.1.4.1.1981.0.5 "Status Events" OK
FORMAT An Error EventMonitorTrap is generated in. Host is $1. $2, $4, $5 (identifier=$3) (severity=INFO)
MATCH $3: 743a
EVENT EventMonitorTrapError .1.3.6.1.4.1.1981.0.5 "Status Events" CRITICAL
FORMAT An Error EventMonitorTrap is generated in. Host is $1. $2, $4, $5 (identifier=$3) Event ID = $3
SDESC
An Error EventMonitorTrap is generated in
response to a user-specified event.
Details can be found in Variables data.
Variables:
1: hostName
2: deviceID
3: eventID
4: eventText
5: storageSystem
EDESC
05.12.2016 www.consol.de23
Seite
OMD 2016+ – SNMP-Traps
05.12.2016 www.consol.de24
Und coshsh generiert passive Services für jeden Trap, der in
dieser Mib vorkommt.
Ein snmptrapd schreibt in ein Logfile. Coshsh generiert einen
Service, der dieses Logfile liest und der Traps als passive
Checkresults richtig zustellt. (Neu: UDP-Paket-Multiplizierer)
Seite
OMD 2016+ Netzwerkgeräte
Derzeit wird evaluiert, wie man Portstatistiken von
Netzwerkgeräten mit dem SNMP-Exporter und Prometheus
sammelt.
Nur noch der Hardwarezustand und komplexere Abfragen
(BGP, OSPF mit mehreren Kontexten, Loadbalancer…) mit
check_nwc_health.
05.12.2016 www.consol.de25
Seite
OMD 2016+ Cloud-Infrastrukturen
Noch in der Schublade:
Coshsh-Klasse und –Template für OpenStack
generiert Nagios-Services für die Infrastrukturdienste
Nova/Cinder/….
05.12.2016 www.consol.de26
Seite
OMD 2016+ Mesos
Derzeit läuft auch eine Evaluierung von DC/OS (Mesos), um
analog zu OpenShift/Kubernetes eine Musterlösung auf Basis
von OMD zu erarbeiten.
05.12.2016 www.consol.de27
Seite
OMD 2016+ Notifications
Nagios kann auf tausend Arten Alarme verschicken.
Prometheus bringt einen mächtigen Alertmanager mit.
Wir haben noch keinen Plan, wie wir das unter einen Hut
bringen, aber es wird eine einheitliche Musterlösung geben.
05.12.2016 www.consol.de28
29Seite
Bewerben!
05.12.2016 www.consol.de
30Seite
Fragen?
05.12.2016 www.consol.de
31Seite www.consol.de
ConSol Software GmbH
Franziskanerstraße 38
D-81669 München
Tel: +49-89-45841-100
Fax: +49-89-45841-111
info@consol.de
www.consol.de
labs.consol.de
05.12.2016

Más contenido relacionado

Destacado

OSMC 2016 - Alerting with Time Series by Fabian Reinartz
OSMC 2016 - Alerting with Time Series by Fabian ReinartzOSMC 2016 - Alerting with Time Series by Fabian Reinartz
OSMC 2016 - Alerting with Time Series by Fabian ReinartzNETWAYS
 
OSMC 2016 - Hello Redfish, Goodbye IPMI - The future of Hardware Monitoring
OSMC 2016 - Hello Redfish, Goodbye IPMI - The future of Hardware MonitoringOSMC 2016 - Hello Redfish, Goodbye IPMI - The future of Hardware Monitoring
OSMC 2016 - Hello Redfish, Goodbye IPMI - The future of Hardware MonitoringNETWAYS
 
OSMC 2016 - NeDi update and more by Remo Rickli
OSMC 2016 - NeDi update and more by Remo RickliOSMC 2016 - NeDi update and more by Remo Rickli
OSMC 2016 - NeDi update and more by Remo RickliNETWAYS
 
OSMC 2016 - Monasca - Monitoring-as-a-Service (at-Scale) by Roland Hochmuth
OSMC 2016 - Monasca - Monitoring-as-a-Service (at-Scale) by Roland HochmuthOSMC 2016 - Monasca - Monitoring-as-a-Service (at-Scale) by Roland Hochmuth
OSMC 2016 - Monasca - Monitoring-as-a-Service (at-Scale) by Roland HochmuthNETWAYS
 
OSMC 2016 - The Engineer's guide to Data Analysis by Avishai Ish-Shalom
OSMC 2016 - The Engineer's guide to Data Analysis by Avishai Ish-ShalomOSMC 2016 - The Engineer's guide to Data Analysis by Avishai Ish-Shalom
OSMC 2016 - The Engineer's guide to Data Analysis by Avishai Ish-ShalomNETWAYS
 
OSMC 2016 - Soma - A Monitoring Configuration Management Database by Jörg Per...
OSMC 2016 - Soma - A Monitoring Configuration Management Database by Jörg Per...OSMC 2016 - Soma - A Monitoring Configuration Management Database by Jörg Per...
OSMC 2016 - Soma - A Monitoring Configuration Management Database by Jörg Per...NETWAYS
 
OSMC 2016: Security and Compliance Automation and Reports with Foreman by Shl...
OSMC 2016: Security and Compliance Automation and Reports with Foreman by Shl...OSMC 2016: Security and Compliance Automation and Reports with Foreman by Shl...
OSMC 2016: Security and Compliance Automation and Reports with Foreman by Shl...NETWAYS
 
OSMC 2016 - Ein Jahr mit dem Icinga Director by Thomas Gelf
OSMC 2016 - Ein Jahr mit dem Icinga Director by Thomas GelfOSMC 2016 - Ein Jahr mit dem Icinga Director by Thomas Gelf
OSMC 2016 - Ein Jahr mit dem Icinga Director by Thomas GelfNETWAYS
 
OSMC 2016 - Small things for monitoring by Jan-Piet Mens
OSMC 2016 - Small things for monitoring by Jan-Piet MensOSMC 2016 - Small things for monitoring by Jan-Piet Mens
OSMC 2016 - Small things for monitoring by Jan-Piet MensNETWAYS
 
OSMC 2016 - Friends and foes by Heinrich Hartmann
OSMC 2016 - Friends and foes by Heinrich HartmannOSMC 2016 - Friends and foes by Heinrich Hartmann
OSMC 2016 - Friends and foes by Heinrich HartmannNETWAYS
 
OSMC 2016 - Take care of your logs by Jan Doberstein
OSMC 2016 - Take care of your logs by Jan DobersteinOSMC 2016 - Take care of your logs by Jan Doberstein
OSMC 2016 - Take care of your logs by Jan DobersteinNETWAYS
 
OSMC 2016 - DNS Monitoring from Several Vantage Points by Stéphane Bortzmeyer
OSMC 2016 - DNS Monitoring from Several Vantage Points by Stéphane Bortzmeyer OSMC 2016 - DNS Monitoring from Several Vantage Points by Stéphane Bortzmeyer
OSMC 2016 - DNS Monitoring from Several Vantage Points by Stéphane Bortzmeyer NETWAYS
 
OSMC 2016 - Application Performance Management with Open-Source-Tooling by M...
OSMC 2016 -  Application Performance Management with Open-Source-Tooling by M...OSMC 2016 -  Application Performance Management with Open-Source-Tooling by M...
OSMC 2016 - Application Performance Management with Open-Source-Tooling by M...NETWAYS
 
OSMC 2016 - Komponenten Monitoring und Performance Management mit Icinga bei ...
OSMC 2016 - Komponenten Monitoring und Performance Management mit Icinga bei ...OSMC 2016 - Komponenten Monitoring und Performance Management mit Icinga bei ...
OSMC 2016 - Komponenten Monitoring und Performance Management mit Icinga bei ...NETWAYS
 
OSMC 2016: You like Nagios - You will love Centreon by Laurent Pinsivy & Maxi...
OSMC 2016: You like Nagios - You will love Centreon by Laurent Pinsivy & Maxi...OSMC 2016: You like Nagios - You will love Centreon by Laurent Pinsivy & Maxi...
OSMC 2016: You like Nagios - You will love Centreon by Laurent Pinsivy & Maxi...NETWAYS
 
OSMC 2016: Software Development seen from a #yolo^wdevop by Jan Wagner
OSMC 2016: Software Development seen from a #yolo^wdevop by Jan WagnerOSMC 2016: Software Development seen from a #yolo^wdevop by Jan Wagner
OSMC 2016: Software Development seen from a #yolo^wdevop by Jan WagnerNETWAYS
 
Modernes System-Management — Alles ist ein Stream
Modernes System-Management — Alles ist ein StreamModernes System-Management — Alles ist ein Stream
Modernes System-Management — Alles ist ein StreamSysDB Project
 
SDIC'16 - Best Practices für Smart Data Projekte
SDIC'16 - Best Practices für Smart Data ProjekteSDIC'16 - Best Practices für Smart Data Projekte
SDIC'16 - Best Practices für Smart Data ProjekteSmart Data Innovation Lab
 
SDIC'16 - Betrieb des Smart Data Innovation Labs - Vorstellung der Plattform
SDIC'16 - Betrieb des Smart Data Innovation Labs - Vorstellung der PlattformSDIC'16 - Betrieb des Smart Data Innovation Labs - Vorstellung der Plattform
SDIC'16 - Betrieb des Smart Data Innovation Labs - Vorstellung der PlattformSmart Data Innovation Lab
 

Destacado (19)

OSMC 2016 - Alerting with Time Series by Fabian Reinartz
OSMC 2016 - Alerting with Time Series by Fabian ReinartzOSMC 2016 - Alerting with Time Series by Fabian Reinartz
OSMC 2016 - Alerting with Time Series by Fabian Reinartz
 
OSMC 2016 - Hello Redfish, Goodbye IPMI - The future of Hardware Monitoring
OSMC 2016 - Hello Redfish, Goodbye IPMI - The future of Hardware MonitoringOSMC 2016 - Hello Redfish, Goodbye IPMI - The future of Hardware Monitoring
OSMC 2016 - Hello Redfish, Goodbye IPMI - The future of Hardware Monitoring
 
OSMC 2016 - NeDi update and more by Remo Rickli
OSMC 2016 - NeDi update and more by Remo RickliOSMC 2016 - NeDi update and more by Remo Rickli
OSMC 2016 - NeDi update and more by Remo Rickli
 
OSMC 2016 - Monasca - Monitoring-as-a-Service (at-Scale) by Roland Hochmuth
OSMC 2016 - Monasca - Monitoring-as-a-Service (at-Scale) by Roland HochmuthOSMC 2016 - Monasca - Monitoring-as-a-Service (at-Scale) by Roland Hochmuth
OSMC 2016 - Monasca - Monitoring-as-a-Service (at-Scale) by Roland Hochmuth
 
OSMC 2016 - The Engineer's guide to Data Analysis by Avishai Ish-Shalom
OSMC 2016 - The Engineer's guide to Data Analysis by Avishai Ish-ShalomOSMC 2016 - The Engineer's guide to Data Analysis by Avishai Ish-Shalom
OSMC 2016 - The Engineer's guide to Data Analysis by Avishai Ish-Shalom
 
OSMC 2016 - Soma - A Monitoring Configuration Management Database by Jörg Per...
OSMC 2016 - Soma - A Monitoring Configuration Management Database by Jörg Per...OSMC 2016 - Soma - A Monitoring Configuration Management Database by Jörg Per...
OSMC 2016 - Soma - A Monitoring Configuration Management Database by Jörg Per...
 
OSMC 2016: Security and Compliance Automation and Reports with Foreman by Shl...
OSMC 2016: Security and Compliance Automation and Reports with Foreman by Shl...OSMC 2016: Security and Compliance Automation and Reports with Foreman by Shl...
OSMC 2016: Security and Compliance Automation and Reports with Foreman by Shl...
 
OSMC 2016 - Ein Jahr mit dem Icinga Director by Thomas Gelf
OSMC 2016 - Ein Jahr mit dem Icinga Director by Thomas GelfOSMC 2016 - Ein Jahr mit dem Icinga Director by Thomas Gelf
OSMC 2016 - Ein Jahr mit dem Icinga Director by Thomas Gelf
 
OSMC 2016 - Small things for monitoring by Jan-Piet Mens
OSMC 2016 - Small things for monitoring by Jan-Piet MensOSMC 2016 - Small things for monitoring by Jan-Piet Mens
OSMC 2016 - Small things for monitoring by Jan-Piet Mens
 
OSMC 2016 - Friends and foes by Heinrich Hartmann
OSMC 2016 - Friends and foes by Heinrich HartmannOSMC 2016 - Friends and foes by Heinrich Hartmann
OSMC 2016 - Friends and foes by Heinrich Hartmann
 
OSMC 2016 - Take care of your logs by Jan Doberstein
OSMC 2016 - Take care of your logs by Jan DobersteinOSMC 2016 - Take care of your logs by Jan Doberstein
OSMC 2016 - Take care of your logs by Jan Doberstein
 
OSMC 2016 - DNS Monitoring from Several Vantage Points by Stéphane Bortzmeyer
OSMC 2016 - DNS Monitoring from Several Vantage Points by Stéphane Bortzmeyer OSMC 2016 - DNS Monitoring from Several Vantage Points by Stéphane Bortzmeyer
OSMC 2016 - DNS Monitoring from Several Vantage Points by Stéphane Bortzmeyer
 
OSMC 2016 - Application Performance Management with Open-Source-Tooling by M...
OSMC 2016 -  Application Performance Management with Open-Source-Tooling by M...OSMC 2016 -  Application Performance Management with Open-Source-Tooling by M...
OSMC 2016 - Application Performance Management with Open-Source-Tooling by M...
 
OSMC 2016 - Komponenten Monitoring und Performance Management mit Icinga bei ...
OSMC 2016 - Komponenten Monitoring und Performance Management mit Icinga bei ...OSMC 2016 - Komponenten Monitoring und Performance Management mit Icinga bei ...
OSMC 2016 - Komponenten Monitoring und Performance Management mit Icinga bei ...
 
OSMC 2016: You like Nagios - You will love Centreon by Laurent Pinsivy & Maxi...
OSMC 2016: You like Nagios - You will love Centreon by Laurent Pinsivy & Maxi...OSMC 2016: You like Nagios - You will love Centreon by Laurent Pinsivy & Maxi...
OSMC 2016: You like Nagios - You will love Centreon by Laurent Pinsivy & Maxi...
 
OSMC 2016: Software Development seen from a #yolo^wdevop by Jan Wagner
OSMC 2016: Software Development seen from a #yolo^wdevop by Jan WagnerOSMC 2016: Software Development seen from a #yolo^wdevop by Jan Wagner
OSMC 2016: Software Development seen from a #yolo^wdevop by Jan Wagner
 
Modernes System-Management — Alles ist ein Stream
Modernes System-Management — Alles ist ein StreamModernes System-Management — Alles ist ein Stream
Modernes System-Management — Alles ist ein Stream
 
SDIC'16 - Best Practices für Smart Data Projekte
SDIC'16 - Best Practices für Smart Data ProjekteSDIC'16 - Best Practices für Smart Data Projekte
SDIC'16 - Best Practices für Smart Data Projekte
 
SDIC'16 - Betrieb des Smart Data Innovation Labs - Vorstellung der Plattform
SDIC'16 - Betrieb des Smart Data Innovation Labs - Vorstellung der PlattformSDIC'16 - Betrieb des Smart Data Innovation Labs - Vorstellung der Plattform
SDIC'16 - Betrieb des Smart Data Innovation Labs - Vorstellung der Plattform
 

Similar a OSMC 2016: Open Monitoring Distribution 2016+ by Gerhard Laußer

Rapid Deploy von OS, Virtualsierung und Applikation
Rapid Deploy von OS, Virtualsierung und ApplikationRapid Deploy von OS, Virtualsierung und Applikation
Rapid Deploy von OS, Virtualsierung und ApplikationJomaSoft
 
Docker for Python Development
Docker for Python DevelopmentDocker for Python Development
Docker for Python DevelopmentMartin Christen
 
Development in der Cloud-Ära
Development in der Cloud-ÄraDevelopment in der Cloud-Ära
Development in der Cloud-ÄraAndreas Koop
 
Continuous Delivery für Cloud-native Anwendungen auf Cloud-nativer Infrastruktur
Continuous Delivery für Cloud-native Anwendungen auf Cloud-nativer InfrastrukturContinuous Delivery für Cloud-native Anwendungen auf Cloud-nativer Infrastruktur
Continuous Delivery für Cloud-native Anwendungen auf Cloud-nativer InfrastrukturQAware GmbH
 
C/ C++ for Notes & Domino Developers
C/ C++ for Notes & Domino DevelopersC/ C++ for Notes & Domino Developers
C/ C++ for Notes & Domino DevelopersUlrich Krause
 
German: Softwareprodukte aus einem Source Code mit Javascript
German: Softwareprodukte aus einem Source Code mit JavascriptGerman: Softwareprodukte aus einem Source Code mit Javascript
German: Softwareprodukte aus einem Source Code mit JavascriptRalf Schwoebel
 
SplunkLive! Frankfurt 2019: Splunk at Generali Insurance
SplunkLive! Frankfurt 2019: Splunk at Generali Insurance SplunkLive! Frankfurt 2019: Splunk at Generali Insurance
SplunkLive! Frankfurt 2019: Splunk at Generali Insurance Splunk
 
Cloud Native Computing
Cloud Native ComputingCloud Native Computing
Cloud Native ComputingAarno Aukia
 
Cloud Native Computing & DevOps
Cloud Native Computing & DevOpsCloud Native Computing & DevOps
Cloud Native Computing & DevOpsAarno Aukia
 
Das dreckige Dutzend - ADF Migration nach 12c in der IKB - DOAG 2014.
Das dreckige Dutzend - ADF Migration nach 12c in der IKB - DOAG 2014.Das dreckige Dutzend - ADF Migration nach 12c in der IKB - DOAG 2014.
Das dreckige Dutzend - ADF Migration nach 12c in der IKB - DOAG 2014.Torsten Kleiber
 
Back to Basics - Webinar 6: Produktivsetzung einer Anwendung
Back to Basics - Webinar 6: Produktivsetzung einer AnwendungBack to Basics - Webinar 6: Produktivsetzung einer Anwendung
Back to Basics - Webinar 6: Produktivsetzung einer AnwendungMongoDB
 
Wie baue ich eine KI, die besser als jeder Mensch ein Problem und dessen Ursa...
Wie baue ich eine KI, die besser als jeder Mensch ein Problem und dessen Ursa...Wie baue ich eine KI, die besser als jeder Mensch ein Problem und dessen Ursa...
Wie baue ich eine KI, die besser als jeder Mensch ein Problem und dessen Ursa...OPITZ CONSULTING Deutschland
 
Steinzeit war gestern! Wege der Cloud-nativen Evolution.
Steinzeit war gestern! Wege der Cloud-nativen Evolution.Steinzeit war gestern! Wege der Cloud-nativen Evolution.
Steinzeit war gestern! Wege der Cloud-nativen Evolution.QAware GmbH
 
Rapid Deployment mit JomaSoft VDCF
Rapid Deployment mit JomaSoft VDCFRapid Deployment mit JomaSoft VDCF
Rapid Deployment mit JomaSoft VDCFJomaSoft
 
Tipps & Tricks zum Aufbau einer Unternehmenscloud mit CC13
Tipps & Tricks zum Aufbau einer Unternehmenscloud mit CC13Tipps & Tricks zum Aufbau einer Unternehmenscloud mit CC13
Tipps & Tricks zum Aufbau einer Unternehmenscloud mit CC13OPITZ CONSULTING Deutschland
 
Docker Workshop Experten Forum Stuttgart 2015, Agile Methoden GmbH
Docker Workshop Experten Forum Stuttgart 2015, Agile Methoden GmbHDocker Workshop Experten Forum Stuttgart 2015, Agile Methoden GmbH
Docker Workshop Experten Forum Stuttgart 2015, Agile Methoden GmbHagilemethoden
 
Grundlagen puppet
Grundlagen puppetGrundlagen puppet
Grundlagen puppetinovex GmbH
 
Erfahrungen und Stolpersteine mit Solaris 11.4
Erfahrungen und Stolpersteine mit Solaris 11.4Erfahrungen und Stolpersteine mit Solaris 11.4
Erfahrungen und Stolpersteine mit Solaris 11.4JomaSoft
 

Similar a OSMC 2016: Open Monitoring Distribution 2016+ by Gerhard Laußer (20)

Rapid Deploy von OS, Virtualsierung und Applikation
Rapid Deploy von OS, Virtualsierung und ApplikationRapid Deploy von OS, Virtualsierung und Applikation
Rapid Deploy von OS, Virtualsierung und Applikation
 
Docker for Python Development
Docker for Python DevelopmentDocker for Python Development
Docker for Python Development
 
Development in der Cloud-Ära
Development in der Cloud-ÄraDevelopment in der Cloud-Ära
Development in der Cloud-Ära
 
Development in der Cloud-Ära
Development in der Cloud-ÄraDevelopment in der Cloud-Ära
Development in der Cloud-Ära
 
Continuous Delivery für Cloud-native Anwendungen auf Cloud-nativer Infrastruktur
Continuous Delivery für Cloud-native Anwendungen auf Cloud-nativer InfrastrukturContinuous Delivery für Cloud-native Anwendungen auf Cloud-nativer Infrastruktur
Continuous Delivery für Cloud-native Anwendungen auf Cloud-nativer Infrastruktur
 
C/ C++ for Notes & Domino Developers
C/ C++ for Notes & Domino DevelopersC/ C++ for Notes & Domino Developers
C/ C++ for Notes & Domino Developers
 
German: Softwareprodukte aus einem Source Code mit Javascript
German: Softwareprodukte aus einem Source Code mit JavascriptGerman: Softwareprodukte aus einem Source Code mit Javascript
German: Softwareprodukte aus einem Source Code mit Javascript
 
SplunkLive! Frankfurt 2019: Splunk at Generali Insurance
SplunkLive! Frankfurt 2019: Splunk at Generali Insurance SplunkLive! Frankfurt 2019: Splunk at Generali Insurance
SplunkLive! Frankfurt 2019: Splunk at Generali Insurance
 
Cloud Native Computing
Cloud Native ComputingCloud Native Computing
Cloud Native Computing
 
Cloud Native Computing & DevOps
Cloud Native Computing & DevOpsCloud Native Computing & DevOps
Cloud Native Computing & DevOps
 
Br fra-v1.2
Br fra-v1.2Br fra-v1.2
Br fra-v1.2
 
Das dreckige Dutzend - ADF Migration nach 12c in der IKB - DOAG 2014.
Das dreckige Dutzend - ADF Migration nach 12c in der IKB - DOAG 2014.Das dreckige Dutzend - ADF Migration nach 12c in der IKB - DOAG 2014.
Das dreckige Dutzend - ADF Migration nach 12c in der IKB - DOAG 2014.
 
Back to Basics - Webinar 6: Produktivsetzung einer Anwendung
Back to Basics - Webinar 6: Produktivsetzung einer AnwendungBack to Basics - Webinar 6: Produktivsetzung einer Anwendung
Back to Basics - Webinar 6: Produktivsetzung einer Anwendung
 
Wie baue ich eine KI, die besser als jeder Mensch ein Problem und dessen Ursa...
Wie baue ich eine KI, die besser als jeder Mensch ein Problem und dessen Ursa...Wie baue ich eine KI, die besser als jeder Mensch ein Problem und dessen Ursa...
Wie baue ich eine KI, die besser als jeder Mensch ein Problem und dessen Ursa...
 
Steinzeit war gestern! Wege der Cloud-nativen Evolution.
Steinzeit war gestern! Wege der Cloud-nativen Evolution.Steinzeit war gestern! Wege der Cloud-nativen Evolution.
Steinzeit war gestern! Wege der Cloud-nativen Evolution.
 
Rapid Deployment mit JomaSoft VDCF
Rapid Deployment mit JomaSoft VDCFRapid Deployment mit JomaSoft VDCF
Rapid Deployment mit JomaSoft VDCF
 
Tipps & Tricks zum Aufbau einer Unternehmenscloud mit CC13
Tipps & Tricks zum Aufbau einer Unternehmenscloud mit CC13Tipps & Tricks zum Aufbau einer Unternehmenscloud mit CC13
Tipps & Tricks zum Aufbau einer Unternehmenscloud mit CC13
 
Docker Workshop Experten Forum Stuttgart 2015, Agile Methoden GmbH
Docker Workshop Experten Forum Stuttgart 2015, Agile Methoden GmbHDocker Workshop Experten Forum Stuttgart 2015, Agile Methoden GmbH
Docker Workshop Experten Forum Stuttgart 2015, Agile Methoden GmbH
 
Grundlagen puppet
Grundlagen puppetGrundlagen puppet
Grundlagen puppet
 
Erfahrungen und Stolpersteine mit Solaris 11.4
Erfahrungen und Stolpersteine mit Solaris 11.4Erfahrungen und Stolpersteine mit Solaris 11.4
Erfahrungen und Stolpersteine mit Solaris 11.4
 

OSMC 2016: Open Monitoring Distribution 2016+ by Gerhard Laußer

  • 2. Seite Worum geht‘s? • Wie und wann entstand OMD? • Erste Projekte nach der Gründung. • OMD 2015 – Labs Edition. • OMD 2016 – Was ist neu? • Stand heute – Installationen und Technologien. • OMD 2016+ - Was steht bevor? 05.12.2016 www.consol.de2
  • 3. Seite 2010 Open Monitoring Distribution 05.12.2016 www.consol.de3 v.l.n.r Lars Michelsen Wolfgang Barth Gerhard Laußer Mathias Kettner Jörg Linge Sven Nierlein Stefan Hösl
  • 4. Seite 2010 installierte man ein Monitoring mit… • Download nagios-x.y.z • ./configure; make; make install • Download nagios-plugins-x.y.z • ./configure; make; make install • Download pnp4nagios-x.y.z • ./configure; make; make install • Frickel • Frickel • Frickel • Frickel 05.12.2016 www.consol.de4
  • 5. Seite Seit OMD installiert man ein Monitoring mit • yum install omd-1.30 • omd create site • omd start site • Gaaaaanz wenig Frickel • Gaaaaanz wenig Frickel • Gaaaaanz wenig Frickel 05.12.2016 www.consol.de5
  • 6. Seite Erste nennenswerte Projekte mit OMD • Landeshauptstadt München – Monitoring sämtlicher IT-Komponenten • Automobilhersteller – Betriebssystemmonitoring aller Unix/Linux-Server – Applikationsmonitoring mit Selbstbedienungsportal – Datenbankmonitoring SaaS • Deutsche Pfandbriefbank – End-to-End-Monitoring mit Sakuli, SAP-Businessprozesse • Lidl – 200 Lagerhäuser, Geschäftsprozesse, Logistik 05.12.2016 www.consol.de6
  • 7. Seite Neue Technologien – mehr Tempo Mehrere OMD-Addon-Pakete für diverse Kunden entstanden Immer öfter tauchten auf der OSMC Tools wie Grafana oder Graphite auf. Allerdings ohne einfache Integration. Häufig verwendete bzw. sich schnell entwickelnde Plugins. Die OMD-Labs-Edition entstand, damit über Nacht neue Funktionen reingebracht werden konnten. 05.12.2016 www.consol.de7
  • 8. Seite OMD Labs-Edition Nagios Icinga Monitoring-Plugins Jmx4Perl Dokuwiki Thruk Nagvis PNP4Nagios Shinken MongoDB MySQL Apache check_logfiles check_mysql_health check_oracle_health check_multi Mod-Gearman check_webinject InfluxDB Elastic Search Icinga2 FreeTDS check_mssql_health Grafana Naemon check_nwc_health coshsh HTTPS
  • 9. Seite OMD Labs-Edition Standard-OMD OMD-*-Add-on OMD-*-Add-on OMD-*-Add-on Standard-OMD Standard-OMD OMD Labs-Edition OMD-*-Add-on OMD-*-Add-on OMD-*-Add-on OMD Labs-Edition OMD Labs-Edition Best Practice und Gemeinsamkeiten in den Add-ons wandern in die Labs-Edition. Dadurch werden die Add-ons wartungsfreundlicher und die Labs-Edition praxiserprobter.
  • 10. Seite OMD Labs 2015 – Modernere Graphen Als Alternative zu PNP4Nagios/RRD können Perfdaten – in einer InfluxDB gespeichert – und mit Grafana angezeigt werden Einfach mit omd config set influxdb on omd config set grafana on omd config set nagflux on und Templates srv-perf und host-perf 05.12.2016 www.consol.de10
  • 11. Seite OMD Labs 2015 – Modernere Graphen Als Popup oder Dashboard 05.12.2016 www.consol.de11
  • 12. Seite OMD Labs 2015 – Modernere Graphen Und weil in OMD nichts reinkommen soll, nur weil es cool ist, sondern weil es einen Mehrwert bietet…. werden z.b. • Downtimes ausgegraut • tauchen ACK-Texte als Popup auf • werden Schwellwerte so angezeigt, wie sie waren 05.12.2016 www.consol.de12
  • 13. Seite OMD 2016 • Die größte Installation umfasst 200 weltweite Standorte mit jeweils eigenem OMD, zusammengefasst in 3 Thruk-Ebenen. • Aufbau von Know How in Ansible, daher wurde Ansible 2.x in OMD Labs aufgenommen. Neuinstallation und Updates per Ansible. Plugin-Verteilung per Ansible. Inter-Site-Connections (ssh-Tunnel) per Ansible 05.12.2016 www.consol.de13
  • 14. Seite OMD 2016 – Installationen auf reiner Labs-Basis Mittlerweile gehören zum Portfolio: • Coshsh – Konfigurationsgenerator • dataScryer – Prediction auf Basis von InfluxDB • check_*_health • check_nsc_web – Client für NSClient++ (https/Rest) • Icinga2 Security-Audits sind kein Problem mehr, sämtliche Kommunikation läuft über ssh und https. 05.12.2016 www.consol.de14
  • 15. Seite OMD 2016 – Sogar 2 Icinga2 Die Kunden wollten es halt…. Da aber jeder auf Thruk als GUI besteht, wurde gebastelt, denn von Haus aus braucht Thruk nagios.log oder seine eigene DB 05.12.2016 www.consol.de15
  • 16. Seite OMD 2016 – LMD Hunderte Backends hinter einem Thruk können sich zäh anfühlen. Tausende Backends sollen aber möglich sein. Livestatus-Implementierungen sind unterschiedlich/buggy Livestatus Multi Daemon ist ein • Cache • Aggregierer • Sortierer • Formatierer 05.12.2016 www.consol.de16
  • 17. Seite OMD 2016 – omd config set prometheus on 05.12.2016 www.consol.de17
  • 18. Seite OMD 2016 – Prometheus Immer öfter trifft man auf Docker, Openstack, OpenShift, Kubernetes, Mesos, etc., auch wenn man sich bisher in ganz klassischen IT-Umgebungen aufgehalten hat. Diese hochdynamischen Landschaften passen nicht zu statischen Konfigurationsdateien und auch nicht zu Monitoring- Systemen, die bei jedem Update durchgestartet werden müssen bzw. deren GUI nicht aktuell gehalten werden kann. Updates per API oder Hinterherhecheln mit coshsh passen nicht. 05.12.2016 www.consol.de18
  • 19. Seite OMD 2016 – Prometheus Die genannten Plattformen bringen bereits Prometheus- Schnittstellen mit. Software wird bewusst mit Prometheus-Instrumentierung entwickelt. Das Naheliegendste war, OMD um ein adäquates Tool zu erweitern, um beide Welten aus einer Hand abdecken zu können. Prometheus breitet sich rasend schnell aus, dürfte der Platzhirsch sein/werden und „fühlt“ sich richtig an. 05.12.2016 www.consol.de19
  • 20. Seite OMD 2016 – Prometheus Bestandteil von OMD sind • Prometheus • Alertmanager • node_exporter • blackbox_exporter • Pushgateway Alles wie gehabt in eigenen Sites, mit gewohnten Kommandos omd config set *** on Hinter einem Thruk-Loginscreen mit https und Passwort. 05.12.2016 www.consol.de20
  • 21. Seite OMD 2016 – Erste POC-Installationen Prometheus 05.12.2016 www.consol.de21
  • 22. Seite OMD 2016+ – SNMP-Traps Ganz aktuell entsteht eine neue Art der Verarbeitung von SNMP-Traps. Die coshsh-Klasse weiß, welche Mibs dazugehören class VNXStorageprocessor(coshsh.application.Application): template_rules = [ coshsh.templaterule.TemplateRule(needsattr=None, template="os_vnx_default"), coshsh.templaterule.TemplateRule(needsattr='trap_events', template="os_vnx_traps"), ] implements_mibs = ['CLARIION-MIB'] 05.12.2016 www.consol.de22
  • 23. Seite OMD 2016+ – SNMP-Traps Die Mib wird mit snmptt konvertiert, Ausnahmen werden eingetragen # Unisphere can no longer manage (SP B). This does not impact server I/O to the storage system EVENT EventMonitorTrapError .1.3.6.1.4.1.1981.0.5 "Status Events" OK FORMAT An Error EventMonitorTrap is generated in. Host is $1. $2, $4, $5 (identifier=$3) (severity=INFO) MATCH $3: 743a EVENT EventMonitorTrapError .1.3.6.1.4.1.1981.0.5 "Status Events" CRITICAL FORMAT An Error EventMonitorTrap is generated in. Host is $1. $2, $4, $5 (identifier=$3) Event ID = $3 SDESC An Error EventMonitorTrap is generated in response to a user-specified event. Details can be found in Variables data. Variables: 1: hostName 2: deviceID 3: eventID 4: eventText 5: storageSystem EDESC 05.12.2016 www.consol.de23
  • 24. Seite OMD 2016+ – SNMP-Traps 05.12.2016 www.consol.de24 Und coshsh generiert passive Services für jeden Trap, der in dieser Mib vorkommt. Ein snmptrapd schreibt in ein Logfile. Coshsh generiert einen Service, der dieses Logfile liest und der Traps als passive Checkresults richtig zustellt. (Neu: UDP-Paket-Multiplizierer)
  • 25. Seite OMD 2016+ Netzwerkgeräte Derzeit wird evaluiert, wie man Portstatistiken von Netzwerkgeräten mit dem SNMP-Exporter und Prometheus sammelt. Nur noch der Hardwarezustand und komplexere Abfragen (BGP, OSPF mit mehreren Kontexten, Loadbalancer…) mit check_nwc_health. 05.12.2016 www.consol.de25
  • 26. Seite OMD 2016+ Cloud-Infrastrukturen Noch in der Schublade: Coshsh-Klasse und –Template für OpenStack generiert Nagios-Services für die Infrastrukturdienste Nova/Cinder/…. 05.12.2016 www.consol.de26
  • 27. Seite OMD 2016+ Mesos Derzeit läuft auch eine Evaluierung von DC/OS (Mesos), um analog zu OpenShift/Kubernetes eine Musterlösung auf Basis von OMD zu erarbeiten. 05.12.2016 www.consol.de27
  • 28. Seite OMD 2016+ Notifications Nagios kann auf tausend Arten Alarme verschicken. Prometheus bringt einen mächtigen Alertmanager mit. Wir haben noch keinen Plan, wie wir das unter einen Hut bringen, aber es wird eine einheitliche Musterlösung geben. 05.12.2016 www.consol.de28
  • 31. 31Seite www.consol.de ConSol Software GmbH Franziskanerstraße 38 D-81669 München Tel: +49-89-45841-100 Fax: +49-89-45841-111 info@consol.de www.consol.de labs.consol.de 05.12.2016