SlideShare ist ein Scribd-Unternehmen logo
1 von 25
Downloaden Sie, um offline zu lesen
Wir unternehmen IT.
Naemon & Thruk
Sven Nierlein
!
Monitoring Workshop 2014
Berlin, 16.05.2014
Seite05/13/14 www.consol.de
Consol*
!
!
Consol* GmbH

Franziskanerstraße 38
81669 München
!
http://www.consol.de/open-source-monitoring/
2
Seite05/13/14 www.consol.de
Naemon - Facts
– Naemon ist ein Fork von Nagios 4.0.2
– Gegründet im Herbst 2013
– Naemon Board: 4 Mitglieder
– Web: www.naemon.org
3
Seite05/13/14 www.consol.de
Naemon
– Naemon
• Naemon-Core
• Naemon-Livestatus
• Thruk
4
Core
Livestatus
Thruk
Seite05/13/14 www.consol.de
Naemon - Core
– schlanker Core mit Worker Modell
– Rewrite des Schedulings
– Rewrite des Config Parsers
– Logfilerotation auf Logrotate.d umgestellt
5
Seite05/13/14 www.consol.de
Naemon - Core
– command_check_interval
– external_command_buffer_slots
– sleep_time
– enable_failure_prediction
– enable_embedded_perl
– use_embedded_perl_implicitly
– auth_file
– p1_file
6
O
bsolete
Seite05/13/14 www.consol.de
Naemon - Core
– Query-Handler
– Schnittstelle zwischen dem Core und den Workern
– Schnittstelle für Spezialworker, zb.: 

@wproc register name=foobar;plugin=check_snmp;plugin=check_bar0

oder

./naemon-qh.rb -c "wproc wpstats”

oder

./naemon-qh.rb

qh> core loadctl

jobs_max=7829;jobs_min=50;jobs_running=0;jobs_limit=7829;load=0.00;
backoff_limit=5.00;backoff_change=2348;rampup_limit=1.60;rampup_cha
nge=587;nproc_limit=7929;nofile_limit=4096;options=0;changes=0;

qh>
7
Seite05/13/14 www.consol.de
Naemon - Livestatus
– Livestatus wird als Standardschnittstelle angeboten
– Incl. Erweiterungen zum Original-livestatus:
• Sort: <column name> <asc/desc>
• Offset: <number of lines>
• OutputFormat: wrapped_json
8
Seite05/13/14 www.consol.de
Naemon - Shadownaemon
– Spiegelt Remote Instanz per Livestatus
– nahezu live
– Reduziert verwendete Bandbreite und Latenz
9
Core
LivestatusShadow
NaemonThruk
Livestatus
Seite05/13/14 www.consol.de
Naemon - Thruk
– CGIs wurden durch Thruk ersetzt
– Die Schnittstelle ist Livestatus
– Es werden die Standard(thruk)plugins mitgeliefert:
• Reports
• Business Process
• Config Tool
• Panorama Dashboard
• Mine Map
• …
– Form Based Login as Default aktiviert
10
Seite05/13/14 www.consol.de
Naemon - Addons
– Merlin
– Livestatus
– Mod-Gearman
– PNP (Patch verfügbar für npcdmod)
– Alles was mit Nagios 4 auch läuft
11
Seite05/13/14 www.consol.de
Naemon - Roadmap
– Dropdir support (conf.d)
– Dynamic thresholds
– Dynamic creation of objects
– Distributed und load balancing build-in
– Smart Agent
– Gruppierung von Services in "Kategorien"
12
Seite05/13/14 www.consol.de
Naemon - Ressources
– www.naemon.org
– https://github.com/sni/omd/tree/newcores
– http://labs.consol.de/repo/testing/
13
Seite05/13/14 www.consol.de
Thruk
14
– Macro Anzeige:
– ‘show_custom_vars’

in der thruk_local.conf
Seite05/13/14 www.consol.de
Thruk - Host Macros
15
– Performance Daten

menschlich lesbar

statt Nagios Format
Seite05/13/14 www.consol.de
Thruk - Performance Tabelle
16
Seite05/13/14 www.consol.de
Thruk - Performance Übersicht
17
– Performance Daten

als Tabelle sortierbar

nach einzelnen Werten
– Erweiterte Tagesangabe
– Hostlisten per Komma

trennen
Seite05/13/14 www.consol.de
Thruk - Reports
18
Seite www.consol.de
Thruk - Business Process
28.11.2013
19
DEMO
Seite05/13/14 www.consol.de
Thruk - Business Process
– Web Editor / Textdatei
– incl. Verfügbarkeiten
– Notifications möglich
20
Seite05/13/14 www.consol.de
Thruk - Business Process
!
!
!
!
!
!
!
!
!
!
!
!
!
!
– http://thruk.org/documentation.html#_business_process
21
Seite05/13/14 www.consol.de
Thruk - Business Process
– Benutzer definierte Funktionen sind möglich in ~/etc/thruk/bp/*.pm



# echofunction:

#

# This function just echoes the

# provided text sample and optionally

# reverses the text.

#

# Arguments:

# arg1: Text; text; text that should be echoed

# arg2: Reverse; checkbox; yes; no

# arg3: Uppercase; select; yes; no

sub echofunction {

my($c, $bp, $n, $args, $livedata) = @_;

my($text, $reverse, $upper) = @{$args};

$text = scalar reverse $text if $reverse eq 'yes';

$text = uc $text if $upper eq 'yes';

return(0, $text, $text, {});

}
22
Seite www.consol.de
Thruk - Panorama Dashboard
28.11.2013
23
DEMO
Seite05/13/14 www.consol.de
Thruk - Panorama Dashboard
– Dashboard
• Neue Icons und Widgets
• Hintergrund wählbar
• Dashboard Management
• Dashboard Sharing
24
– Neue Icons & Widgets
– Dashboard Management
– Dashboards freigeben
Seite05/13/14 www.consol.de
Thruk - Panorama Dashboard
25

Weitere ähnliche Inhalte

Ähnlich wie Naemon & Thruk

DBSAT – Die Oracle DATENBANK bzgl. PII Daten analysieren
DBSAT – Die Oracle DATENBANK bzgl. PII Daten analysierenDBSAT – Die Oracle DATENBANK bzgl. PII Daten analysieren
DBSAT – Die Oracle DATENBANK bzgl. PII Daten analysierenGunther Pippèrr
 
SAP Ednable Now bei SEMIKRON
SAP Ednable Now bei SEMIKRONSAP Ednable Now bei SEMIKRON
SAP Ednable Now bei SEMIKRONThomas Jenewein
 
High performance mit PHP
High performance mit PHPHigh performance mit PHP
High performance mit PHPThomas Burgard
 
OSMC 2015: OMD 5 Jahre Best Practice mit Matthias Gallinger
OSMC 2015: OMD 5 Jahre Best Practice mit Matthias GallingerOSMC 2015: OMD 5 Jahre Best Practice mit Matthias Gallinger
OSMC 2015: OMD 5 Jahre Best Practice mit Matthias GallingerNETWAYS
 
OSMC 2015 | OMD - 5 Jahre Best Practice by Matthias Gallinger
OSMC 2015 | OMD - 5 Jahre Best Practice by Matthias GallingerOSMC 2015 | OMD - 5 Jahre Best Practice by Matthias Gallinger
OSMC 2015 | OMD - 5 Jahre Best Practice by Matthias GallingerNETWAYS
 
Monitoring von SAP mit check_sap_health
Monitoring von SAP mit check_sap_healthMonitoring von SAP mit check_sap_health
Monitoring von SAP mit check_sap_healthGerhard Lausser
 
Collaboration day 2016 - Aus alt mach neu - Modernisierung mit xPages
Collaboration day 2016 - Aus alt mach neu - Modernisierung mit xPagesCollaboration day 2016 - Aus alt mach neu - Modernisierung mit xPages
Collaboration day 2016 - Aus alt mach neu - Modernisierung mit xPagesBelsoft
 
Fine tuning Lotus Script (german)
Fine tuning Lotus Script (german)Fine tuning Lotus Script (german)
Fine tuning Lotus Script (german)dominion
 
CodeTalks Vortrag: Automatisierung mit Ansible & Jenkins @ LeanIX Enterprise ...
CodeTalks Vortrag: Automatisierung mit Ansible & Jenkins @ LeanIX Enterprise ...CodeTalks Vortrag: Automatisierung mit Ansible & Jenkins @ LeanIX Enterprise ...
CodeTalks Vortrag: Automatisierung mit Ansible & Jenkins @ LeanIX Enterprise ...LeanIX GmbH
 
Domino 9 - jetzt mit integrierten Features, die das Admin-Leben leichter machen
Domino 9 - jetzt mit integrierten Features, die das Admin-Leben leichter machenDomino 9 - jetzt mit integrierten Features, die das Admin-Leben leichter machen
Domino 9 - jetzt mit integrierten Features, die das Admin-Leben leichter machenBelsoft
 
Whitepaper Infopark Cloud Express
Whitepaper Infopark Cloud ExpressWhitepaper Infopark Cloud Express
Whitepaper Infopark Cloud ExpressJustRelate
 
Rsyslog - Deutsche Qualitätsarbeit für Linux
Rsyslog - Deutsche Qualitätsarbeit für LinuxRsyslog - Deutsche Qualitätsarbeit für Linux
Rsyslog - Deutsche Qualitätsarbeit für LinuxTrivadis
 
Rsyslog deutsche Qualitätsarbeit für Linux Roman Gächter
Rsyslog deutsche Qualitätsarbeit für Linux Roman GächterRsyslog deutsche Qualitätsarbeit für Linux Roman Gächter
Rsyslog deutsche Qualitätsarbeit für Linux Roman GächterDésirée Pfister
 
OSDC 2010 | FAI - ein Projekt wird 10 Jahre alt by Thomas Lange
OSDC 2010 | FAI - ein Projekt wird 10 Jahre alt by Thomas LangeOSDC 2010 | FAI - ein Projekt wird 10 Jahre alt by Thomas Lange
OSDC 2010 | FAI - ein Projekt wird 10 Jahre alt by Thomas LangeNETWAYS
 

Ähnlich wie Naemon & Thruk (16)

DBSAT – Die Oracle DATENBANK bzgl. PII Daten analysieren
DBSAT – Die Oracle DATENBANK bzgl. PII Daten analysierenDBSAT – Die Oracle DATENBANK bzgl. PII Daten analysieren
DBSAT – Die Oracle DATENBANK bzgl. PII Daten analysieren
 
SAP Ednable Now bei SEMIKRON
SAP Ednable Now bei SEMIKRONSAP Ednable Now bei SEMIKRON
SAP Ednable Now bei SEMIKRON
 
High performance mit PHP
High performance mit PHPHigh performance mit PHP
High performance mit PHP
 
coshsh
coshshcoshsh
coshsh
 
OSMC 2015: OMD 5 Jahre Best Practice mit Matthias Gallinger
OSMC 2015: OMD 5 Jahre Best Practice mit Matthias GallingerOSMC 2015: OMD 5 Jahre Best Practice mit Matthias Gallinger
OSMC 2015: OMD 5 Jahre Best Practice mit Matthias Gallinger
 
OSMC 2015 | OMD - 5 Jahre Best Practice by Matthias Gallinger
OSMC 2015 | OMD - 5 Jahre Best Practice by Matthias GallingerOSMC 2015 | OMD - 5 Jahre Best Practice by Matthias Gallinger
OSMC 2015 | OMD - 5 Jahre Best Practice by Matthias Gallinger
 
Monitoring von SAP mit check_sap_health
Monitoring von SAP mit check_sap_healthMonitoring von SAP mit check_sap_health
Monitoring von SAP mit check_sap_health
 
Thruk 2017
Thruk 2017Thruk 2017
Thruk 2017
 
Collaboration day 2016 - Aus alt mach neu - Modernisierung mit xPages
Collaboration day 2016 - Aus alt mach neu - Modernisierung mit xPagesCollaboration day 2016 - Aus alt mach neu - Modernisierung mit xPages
Collaboration day 2016 - Aus alt mach neu - Modernisierung mit xPages
 
Fine tuning Lotus Script (german)
Fine tuning Lotus Script (german)Fine tuning Lotus Script (german)
Fine tuning Lotus Script (german)
 
CodeTalks Vortrag: Automatisierung mit Ansible & Jenkins @ LeanIX Enterprise ...
CodeTalks Vortrag: Automatisierung mit Ansible & Jenkins @ LeanIX Enterprise ...CodeTalks Vortrag: Automatisierung mit Ansible & Jenkins @ LeanIX Enterprise ...
CodeTalks Vortrag: Automatisierung mit Ansible & Jenkins @ LeanIX Enterprise ...
 
Domino 9 - jetzt mit integrierten Features, die das Admin-Leben leichter machen
Domino 9 - jetzt mit integrierten Features, die das Admin-Leben leichter machenDomino 9 - jetzt mit integrierten Features, die das Admin-Leben leichter machen
Domino 9 - jetzt mit integrierten Features, die das Admin-Leben leichter machen
 
Whitepaper Infopark Cloud Express
Whitepaper Infopark Cloud ExpressWhitepaper Infopark Cloud Express
Whitepaper Infopark Cloud Express
 
Rsyslog - Deutsche Qualitätsarbeit für Linux
Rsyslog - Deutsche Qualitätsarbeit für LinuxRsyslog - Deutsche Qualitätsarbeit für Linux
Rsyslog - Deutsche Qualitätsarbeit für Linux
 
Rsyslog deutsche Qualitätsarbeit für Linux Roman Gächter
Rsyslog deutsche Qualitätsarbeit für Linux Roman GächterRsyslog deutsche Qualitätsarbeit für Linux Roman Gächter
Rsyslog deutsche Qualitätsarbeit für Linux Roman Gächter
 
OSDC 2010 | FAI - ein Projekt wird 10 Jahre alt by Thomas Lange
OSDC 2010 | FAI - ein Projekt wird 10 Jahre alt by Thomas LangeOSDC 2010 | FAI - ein Projekt wird 10 Jahre alt by Thomas Lange
OSDC 2010 | FAI - ein Projekt wird 10 Jahre alt by Thomas Lange
 

Naemon & Thruk

  • 1. Wir unternehmen IT. Naemon & Thruk Sven Nierlein ! Monitoring Workshop 2014 Berlin, 16.05.2014
  • 2. Seite05/13/14 www.consol.de Consol* ! ! Consol* GmbH
 Franziskanerstraße 38 81669 München ! http://www.consol.de/open-source-monitoring/ 2
  • 3. Seite05/13/14 www.consol.de Naemon - Facts – Naemon ist ein Fork von Nagios 4.0.2 – Gegründet im Herbst 2013 – Naemon Board: 4 Mitglieder – Web: www.naemon.org 3
  • 4. Seite05/13/14 www.consol.de Naemon – Naemon • Naemon-Core • Naemon-Livestatus • Thruk 4 Core Livestatus Thruk
  • 5. Seite05/13/14 www.consol.de Naemon - Core – schlanker Core mit Worker Modell – Rewrite des Schedulings – Rewrite des Config Parsers – Logfilerotation auf Logrotate.d umgestellt 5
  • 6. Seite05/13/14 www.consol.de Naemon - Core – command_check_interval – external_command_buffer_slots – sleep_time – enable_failure_prediction – enable_embedded_perl – use_embedded_perl_implicitly – auth_file – p1_file 6 O bsolete
  • 7. Seite05/13/14 www.consol.de Naemon - Core – Query-Handler – Schnittstelle zwischen dem Core und den Workern – Schnittstelle für Spezialworker, zb.: 
 @wproc register name=foobar;plugin=check_snmp;plugin=check_bar0
 oder
 ./naemon-qh.rb -c "wproc wpstats”
 oder
 ./naemon-qh.rb
 qh> core loadctl
 jobs_max=7829;jobs_min=50;jobs_running=0;jobs_limit=7829;load=0.00; backoff_limit=5.00;backoff_change=2348;rampup_limit=1.60;rampup_cha nge=587;nproc_limit=7929;nofile_limit=4096;options=0;changes=0;
 qh> 7
  • 8. Seite05/13/14 www.consol.de Naemon - Livestatus – Livestatus wird als Standardschnittstelle angeboten – Incl. Erweiterungen zum Original-livestatus: • Sort: <column name> <asc/desc> • Offset: <number of lines> • OutputFormat: wrapped_json 8
  • 9. Seite05/13/14 www.consol.de Naemon - Shadownaemon – Spiegelt Remote Instanz per Livestatus – nahezu live – Reduziert verwendete Bandbreite und Latenz 9 Core LivestatusShadow NaemonThruk Livestatus
  • 10. Seite05/13/14 www.consol.de Naemon - Thruk – CGIs wurden durch Thruk ersetzt – Die Schnittstelle ist Livestatus – Es werden die Standard(thruk)plugins mitgeliefert: • Reports • Business Process • Config Tool • Panorama Dashboard • Mine Map • … – Form Based Login as Default aktiviert 10
  • 11. Seite05/13/14 www.consol.de Naemon - Addons – Merlin – Livestatus – Mod-Gearman – PNP (Patch verfügbar für npcdmod) – Alles was mit Nagios 4 auch läuft 11
  • 12. Seite05/13/14 www.consol.de Naemon - Roadmap – Dropdir support (conf.d) – Dynamic thresholds – Dynamic creation of objects – Distributed und load balancing build-in – Smart Agent – Gruppierung von Services in "Kategorien" 12
  • 13. Seite05/13/14 www.consol.de Naemon - Ressources – www.naemon.org – https://github.com/sni/omd/tree/newcores – http://labs.consol.de/repo/testing/ 13
  • 15. – Macro Anzeige: – ‘show_custom_vars’
 in der thruk_local.conf Seite05/13/14 www.consol.de Thruk - Host Macros 15
  • 16. – Performance Daten
 menschlich lesbar
 statt Nagios Format Seite05/13/14 www.consol.de Thruk - Performance Tabelle 16
  • 17. Seite05/13/14 www.consol.de Thruk - Performance Übersicht 17 – Performance Daten
 als Tabelle sortierbar
 nach einzelnen Werten
  • 18. – Erweiterte Tagesangabe – Hostlisten per Komma
 trennen Seite05/13/14 www.consol.de Thruk - Reports 18
  • 19. Seite www.consol.de Thruk - Business Process 28.11.2013 19 DEMO
  • 20. Seite05/13/14 www.consol.de Thruk - Business Process – Web Editor / Textdatei – incl. Verfügbarkeiten – Notifications möglich 20
  • 21. Seite05/13/14 www.consol.de Thruk - Business Process ! ! ! ! ! ! ! ! ! ! ! ! ! ! – http://thruk.org/documentation.html#_business_process 21
  • 22. Seite05/13/14 www.consol.de Thruk - Business Process – Benutzer definierte Funktionen sind möglich in ~/etc/thruk/bp/*.pm
 
 # echofunction:
 #
 # This function just echoes the
 # provided text sample and optionally
 # reverses the text.
 #
 # Arguments:
 # arg1: Text; text; text that should be echoed
 # arg2: Reverse; checkbox; yes; no
 # arg3: Uppercase; select; yes; no
 sub echofunction {
 my($c, $bp, $n, $args, $livedata) = @_;
 my($text, $reverse, $upper) = @{$args};
 $text = scalar reverse $text if $reverse eq 'yes';
 $text = uc $text if $upper eq 'yes';
 return(0, $text, $text, {});
 } 22
  • 23. Seite www.consol.de Thruk - Panorama Dashboard 28.11.2013 23 DEMO
  • 24. Seite05/13/14 www.consol.de Thruk - Panorama Dashboard – Dashboard • Neue Icons und Widgets • Hintergrund wählbar • Dashboard Management • Dashboard Sharing 24
  • 25. – Neue Icons & Widgets – Dashboard Management – Dashboards freigeben Seite05/13/14 www.consol.de Thruk - Panorama Dashboard 25