SlideShare uma empresa Scribd logo
1 de 25
Baixar para ler offline
19.06.2013
Thruk
Monitoring Webinterface for Nagios/Shinken/Icinga
Sven Nierlein
19.06.2013 www.consol.com2
• Under the hood
• Live Demo
• ...
has had 3,749 commits made by 20 contributors
representing 224,804 lines of code
• ...
took an estimated 58 years of effort
starting with its first commit in November, 2009
*https://www.ohloh.net/p/Thruk
19.06.2013 www.consol.com3
Statistics
• 12 Authors
git shortlog --since=1.year -s | wc -l
• 1463 Commits
git log --since=1.year --format=%H | wc -l
• 27 stable releases
19.06.2013 www.consol.com4
Git Statistics
• Cascaded Configs
• HTTP Backends
• Connection Pooling
• Logfile Cache
19.06.2013 www.consol.com5
Under the Hood
• most configuration items can be overridden for specific groups & users
# disable all commands, except reschedule for all users
command_disabled = 0-6,8-95,97-999
<Group admins>
# enable commands for admins again
command_disabled =
</Group>
• Thruk uses Nagios contactgroups and users
*http://www.thruk.org/documentation.html#_user_amp_group_specific_overrides
19.06.2013 www.consol.com6
Under the Hood
Cascaded Configs
• allows remote configuration and status requests
19.06.2013 www.consol.com7
Under the Hood
HTTP Backends
• parallel is always better than seriel
• since Thruk 1.72 backend connections
are parallel by default
• connection pool uses more memory but
is way faster
• tweak size with ‘connection_pool_size’
• there are Thruk installations with > 50 backends
19.06.2013 www.consol.com8
Under the Hood
Connection Pools
19.06.2013 www.consol.com9
Under the Hood
Logfile Cache
• increase reporting / logfile performance
• drastically reduce network usage
• lower memory footprint of nagios (caches logfiles otherwise)
19.06.2013 www.consol.com10
Under the Hood
Logfile Cache
19.06.2013 www.consol.com11
Under the Hood
Logfile Cache
19.06.2013 www.consol.com12
Under the Hood
Logfile Cache
19.06.2013 www.consol.com13
Live Demo
• flexible dashboard
• Include own pages with
generic url panel
19.06.2013 www.consol.com14
Panorama Dashboard
• completly reworked reports
plugin
• schedule email reports
• every page can be a report
19.06.2013 www.consol.com15
Reports 2
• based on wkhtml2pdf
• customizable with html and css
• Displays Problems Counter
as Favicon
• Uses filter of current page!
19.06.2013 www.consol.com16
Favicon Problem Counter
• Form / Cookie Based Login
• Uses Apache Rewrite Map
• OMD
• Works for PNP4Nagios and other
Addons too
• `omd config`
19.06.2013 www.consol.com17
Form Login
• automatically activated with
10 or more backends
• Backends can be grouped
• Toggle groups at once
19.06.2013 www.consol.com18
Site Panel
• show custom variables
with ‘show_custom_vars’
• uses order from
thruk_local.conf
19.06.2013 www.consol.com19
Custom Variables
• beautify your config files:
OMD[workshop]:~$ cat etc/nagios/conf.d/jmx4perl_nagios.cfg | naglint
##############################################################
# Jmx4Perl Configuration for OMD
# ==============================
# Command definition, using hostnames to refer to server names
# in the jmx4perl configuration (<server>...</server> section)
# The 'real' checks are defined in $SITE/etc/jmx4perl/jmx4perl.cfg
# in jmx4perl specific syntax and are referenced by name from
# Nagios service definitions.
define command {
command_name check_jmx4perl
command_line $USER1$/check_jmx4perl 
--config $USER4$/etc/jmx4perl/jmx4perl.cfg 
--server $HOSTNAME$ 
--check $ARG1$ $ARG2$ $ARG3$ $ARG4$
}
• Inline replace is possible
19.06.2013 www.consol.com20
Naglint
• new thruk support
• uses json api
• not yet released
• Thanks to Henri Wahl and Davide Cecchetto
19.06.2013 www.consol.com21
Nagstamon for Thruk
• automatically activated when
using git for your configs
• automatic commits possible
with save hooks
19.06.2013 www.consol.com22
Git History (upcoming)
19.06.2013 www.consol.com23
Resources
• http://www.thruk.org
• http://thruk.org/ideas.html
• http://labs.consol.de/nagios/thruk/
• https://github.com/sni/Thruk
• http://demo.thruk.org
19.06.2013 www.consol.com24
Resources
19.06.2013 www.consol.com25
Questions?

Mais conteúdo relacionado

Semelhante a Thruk Monitoring Gui

64c7d81c-2398-4c8d-a21d-421f53f03deb-160413212748
64c7d81c-2398-4c8d-a21d-421f53f03deb-16041321274864c7d81c-2398-4c8d-a21d-421f53f03deb-160413212748
64c7d81c-2398-4c8d-a21d-421f53f03deb-160413212748
Latha Gummadi
 

Semelhante a Thruk Monitoring Gui (20)

OSMC 2013 | Thruk - Monitoring GUI by Sven Nierlein
OSMC 2013 | Thruk - Monitoring GUI by Sven NierleinOSMC 2013 | Thruk - Monitoring GUI by Sven Nierlein
OSMC 2013 | Thruk - Monitoring GUI by Sven Nierlein
 
2015-09-16 georchestra @ foss4g2015 Seoul
2015-09-16 georchestra @ foss4g2015 Seoul2015-09-16 georchestra @ foss4g2015 Seoul
2015-09-16 georchestra @ foss4g2015 Seoul
 
geOrchestra, a free, modular and secure SDI
geOrchestra, a free, modular and secure SDIgeOrchestra, a free, modular and secure SDI
geOrchestra, a free, modular and secure SDI
 
OVERVIEW: Chromium Source Tree
OVERVIEW: Chromium Source TreeOVERVIEW: Chromium Source Tree
OVERVIEW: Chromium Source Tree
 
from Docker to Moby and back. what changed ?
from Docker to Moby and back. what changed ?from Docker to Moby and back. what changed ?
from Docker to Moby and back. what changed ?
 
The printing press of 2021 - using GitLab to publish the VSHN Handbook
The printing press of 2021 - using GitLab to publish the VSHN HandbookThe printing press of 2021 - using GitLab to publish the VSHN Handbook
The printing press of 2021 - using GitLab to publish the VSHN Handbook
 
Cloud Foundry Monitoring How-To: Collecting Metrics and Logs
Cloud Foundry Monitoring How-To: Collecting Metrics and LogsCloud Foundry Monitoring How-To: Collecting Metrics and Logs
Cloud Foundry Monitoring How-To: Collecting Metrics and Logs
 
Soccnx10: Best and worst practices deploying IBM Connections
Soccnx10: Best and worst practices deploying IBM ConnectionsSoccnx10: Best and worst practices deploying IBM Connections
Soccnx10: Best and worst practices deploying IBM Connections
 
Thrombus Training Dec. 2013
Thrombus Training Dec. 2013Thrombus Training Dec. 2013
Thrombus Training Dec. 2013
 
The Twelve Factor App - Pivotal Tracker
The Twelve Factor App - Pivotal TrackerThe Twelve Factor App - Pivotal Tracker
The Twelve Factor App - Pivotal Tracker
 
[scala.by] Launching new application fast
[scala.by] Launching new application fast[scala.by] Launching new application fast
[scala.by] Launching new application fast
 
How to plan and define your CI-CD pipeline
How to plan and define your CI-CD pipelineHow to plan and define your CI-CD pipeline
How to plan and define your CI-CD pipeline
 
Fluent 2018: Tracking Performance of the Web with HTTP Archive
Fluent 2018: Tracking Performance of the Web with HTTP ArchiveFluent 2018: Tracking Performance of the Web with HTTP Archive
Fluent 2018: Tracking Performance of the Web with HTTP Archive
 
BEST AND WORST PRACTICES DEPLOYING IBM CONNECTIONS
BEST AND WORST PRACTICES DEPLOYING IBM CONNECTIONSBEST AND WORST PRACTICES DEPLOYING IBM CONNECTIONS
BEST AND WORST PRACTICES DEPLOYING IBM CONNECTIONS
 
Best and worst practices deploying IBM Connections
Best and worst practices deploying IBM ConnectionsBest and worst practices deploying IBM Connections
Best and worst practices deploying IBM Connections
 
64c7d81c-2398-4c8d-a21d-421f53f03deb-160413212748
64c7d81c-2398-4c8d-a21d-421f53f03deb-16041321274864c7d81c-2398-4c8d-a21d-421f53f03deb-160413212748
64c7d81c-2398-4c8d-a21d-421f53f03deb-160413212748
 
2014 11-05 hpcac-kniep_christian_dockermpi
2014 11-05 hpcac-kniep_christian_dockermpi2014 11-05 hpcac-kniep_christian_dockermpi
2014 11-05 hpcac-kniep_christian_dockermpi
 
How Sysbee Manages Infrastructures and Provides Advanced Monitoring by Using ...
How Sysbee Manages Infrastructures and Provides Advanced Monitoring by Using ...How Sysbee Manages Infrastructures and Provides Advanced Monitoring by Using ...
How Sysbee Manages Infrastructures and Provides Advanced Monitoring by Using ...
 
Parallel programing in web applications - public.pptx
Parallel programing in web applications - public.pptxParallel programing in web applications - public.pptx
Parallel programing in web applications - public.pptx
 
Ansible
AnsibleAnsible
Ansible
 

Último

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Último (20)

Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 

Thruk Monitoring Gui

  • 1. 19.06.2013 Thruk Monitoring Webinterface for Nagios/Shinken/Icinga Sven Nierlein
  • 2. 19.06.2013 www.consol.com2 • Under the hood • Live Demo
  • 3. • ... has had 3,749 commits made by 20 contributors representing 224,804 lines of code • ... took an estimated 58 years of effort starting with its first commit in November, 2009 *https://www.ohloh.net/p/Thruk 19.06.2013 www.consol.com3 Statistics
  • 4. • 12 Authors git shortlog --since=1.year -s | wc -l • 1463 Commits git log --since=1.year --format=%H | wc -l • 27 stable releases 19.06.2013 www.consol.com4 Git Statistics
  • 5. • Cascaded Configs • HTTP Backends • Connection Pooling • Logfile Cache 19.06.2013 www.consol.com5 Under the Hood
  • 6. • most configuration items can be overridden for specific groups & users # disable all commands, except reschedule for all users command_disabled = 0-6,8-95,97-999 <Group admins> # enable commands for admins again command_disabled = </Group> • Thruk uses Nagios contactgroups and users *http://www.thruk.org/documentation.html#_user_amp_group_specific_overrides 19.06.2013 www.consol.com6 Under the Hood Cascaded Configs
  • 7. • allows remote configuration and status requests 19.06.2013 www.consol.com7 Under the Hood HTTP Backends
  • 8. • parallel is always better than seriel • since Thruk 1.72 backend connections are parallel by default • connection pool uses more memory but is way faster • tweak size with ‘connection_pool_size’ • there are Thruk installations with > 50 backends 19.06.2013 www.consol.com8 Under the Hood Connection Pools
  • 10. • increase reporting / logfile performance • drastically reduce network usage • lower memory footprint of nagios (caches logfiles otherwise) 19.06.2013 www.consol.com10 Under the Hood Logfile Cache
  • 14. • flexible dashboard • Include own pages with generic url panel 19.06.2013 www.consol.com14 Panorama Dashboard
  • 15. • completly reworked reports plugin • schedule email reports • every page can be a report 19.06.2013 www.consol.com15 Reports 2 • based on wkhtml2pdf • customizable with html and css
  • 16. • Displays Problems Counter as Favicon • Uses filter of current page! 19.06.2013 www.consol.com16 Favicon Problem Counter
  • 17. • Form / Cookie Based Login • Uses Apache Rewrite Map • OMD • Works for PNP4Nagios and other Addons too • `omd config` 19.06.2013 www.consol.com17 Form Login
  • 18. • automatically activated with 10 or more backends • Backends can be grouped • Toggle groups at once 19.06.2013 www.consol.com18 Site Panel
  • 19. • show custom variables with ‘show_custom_vars’ • uses order from thruk_local.conf 19.06.2013 www.consol.com19 Custom Variables
  • 20. • beautify your config files: OMD[workshop]:~$ cat etc/nagios/conf.d/jmx4perl_nagios.cfg | naglint ############################################################## # Jmx4Perl Configuration for OMD # ============================== # Command definition, using hostnames to refer to server names # in the jmx4perl configuration (<server>...</server> section) # The 'real' checks are defined in $SITE/etc/jmx4perl/jmx4perl.cfg # in jmx4perl specific syntax and are referenced by name from # Nagios service definitions. define command { command_name check_jmx4perl command_line $USER1$/check_jmx4perl --config $USER4$/etc/jmx4perl/jmx4perl.cfg --server $HOSTNAME$ --check $ARG1$ $ARG2$ $ARG3$ $ARG4$ } • Inline replace is possible 19.06.2013 www.consol.com20 Naglint
  • 21. • new thruk support • uses json api • not yet released • Thanks to Henri Wahl and Davide Cecchetto 19.06.2013 www.consol.com21 Nagstamon for Thruk
  • 22. • automatically activated when using git for your configs • automatic commits possible with save hooks 19.06.2013 www.consol.com22 Git History (upcoming)
  • 24. • http://www.thruk.org • http://thruk.org/ideas.html • http://labs.consol.de/nagios/thruk/ • https://github.com/sni/Thruk • http://demo.thruk.org 19.06.2013 www.consol.com24 Resources