SlideShare a Scribd company logo
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?

More Related Content

Similar to Thruk Monitoring Gui

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
NETWAYS
 
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
Camptocamp
 
2015-09-16 georchestra @ foss4g2015 Seoul
2015-09-16 georchestra @ foss4g2015 Seoul2015-09-16 georchestra @ foss4g2015 Seoul
2015-09-16 georchestra @ foss4g2015 Seoul
fvanderbiest
 
OVERVIEW: Chromium Source Tree
OVERVIEW: Chromium Source TreeOVERVIEW: Chromium Source Tree
OVERVIEW: Chromium Source Tree
Chang W. Doh
 
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 ?
strikr .
 
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
Aarno Aukia
 
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
Altoros
 
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
panagenda
 
Thrombus Training Dec. 2013
Thrombus Training Dec. 2013Thrombus Training Dec. 2013
Thrombus Training Dec. 2013
CREATIS
 
The Twelve Factor App - Pivotal Tracker
The Twelve Factor App - Pivotal TrackerThe Twelve Factor App - Pivotal Tracker
The Twelve Factor App - Pivotal Tracker
lauriepino
 
[scala.by] Launching new application fast
[scala.by] Launching new application fast[scala.by] Launching new application fast
[scala.by] Launching new application fast
Denis Karpenko
 
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
ElasTest Project
 
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
Paul Calvano
 
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
Nico Meisenzahl
 
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
LetsConnect
 
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
 
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
QNIB Solutions
 
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 ...
InfluxData
 
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
Guy Bary
 
Ansible
AnsibleAnsible

Similar to 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
 
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
 
2015-09-16 georchestra @ foss4g2015 Seoul
2015-09-16 georchestra @ foss4g2015 Seoul2015-09-16 georchestra @ foss4g2015 Seoul
2015-09-16 georchestra @ foss4g2015 Seoul
 
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
 

Recently uploaded

GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
Neo4j
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
Neo4j
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
innovationoecd
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
tolgahangng
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
Aftab Hussain
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems S.M.S.A.
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
Zilliz
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
Kumud Singh
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial IntelligenceAI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
IndexBug
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
shyamraj55
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
Zilliz
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
Neo4j
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
Claudio Di Ciccio
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
KAMESHS29
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
Pixlogix Infotech
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
panagenda
 

Recently uploaded (20)

GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial IntelligenceAI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
 

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