Thruk Monitoring Gui

6,019 views

Published on

Thruk Monitoring Gui at Nagios Workshop 2013 in Hamburg. Presenting news from last years development.

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
6,019
On SlideShare
0
From Embeds
0
Number of Embeds
194
Actions
Shares
0
Downloads
34
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Thruk Monitoring Gui

  1. 1. 19.06.2013ThrukMonitoring Webinterface for Nagios/Shinken/IcingaSven Nierlein
  2. 2. 19.06.2013 www.consol.com2• Under the hood• Live Demo
  3. 3. • ...has had 3,749 commits made by 20 contributorsrepresenting 224,804 lines of code• ...took an estimated 58 years of effortstarting with its first commit in November, 2009*https://www.ohloh.net/p/Thruk19.06.2013 www.consol.com3Statistics
  4. 4. • 12 Authorsgit shortlog --since=1.year -s | wc -l• 1463 Commitsgit log --since=1.year --format=%H | wc -l• 27 stable releases19.06.2013 www.consol.com4Git Statistics
  5. 5. • Cascaded Configs• HTTP Backends• Connection Pooling• Logfile Cache19.06.2013 www.consol.com5Under the Hood
  6. 6. • most configuration items can be overridden for specific groups & users# disable all commands, except reschedule for all userscommand_disabled = 0-6,8-95,97-999<Group admins># enable commands for admins againcommand_disabled =</Group>• Thruk uses Nagios contactgroups and users*http://www.thruk.org/documentation.html#_user_amp_group_specific_overrides19.06.2013 www.consol.com6Under the HoodCascaded Configs
  7. 7. • allows remote configuration and status requests19.06.2013 www.consol.com7Under the HoodHTTP Backends
  8. 8. • parallel is always better than seriel• since Thruk 1.72 backend connectionsare parallel by default• connection pool uses more memory butis way faster• tweak size with ‘connection_pool_size’• there are Thruk installations with > 50 backends19.06.2013 www.consol.com8Under the HoodConnection Pools
  9. 9. 19.06.2013 www.consol.com9Under the HoodLogfile Cache
  10. 10. • increase reporting / logfile performance• drastically reduce network usage• lower memory footprint of nagios (caches logfiles otherwise)19.06.2013 www.consol.com10Under the HoodLogfile Cache
  11. 11. 19.06.2013 www.consol.com11Under the HoodLogfile Cache
  12. 12. 19.06.2013 www.consol.com12Under the HoodLogfile Cache
  13. 13. 19.06.2013 www.consol.com13Live Demo
  14. 14. • flexible dashboard• Include own pages withgeneric url panel19.06.2013 www.consol.com14Panorama Dashboard
  15. 15. • completly reworked reportsplugin• schedule email reports• every page can be a report19.06.2013 www.consol.com15Reports 2• based on wkhtml2pdf• customizable with html and css
  16. 16. • Displays Problems Counteras Favicon• Uses filter of current page!19.06.2013 www.consol.com16Favicon Problem Counter
  17. 17. • Form / Cookie Based Login• Uses Apache Rewrite Map• OMD• Works for PNP4Nagios and otherAddons too• `omd config`19.06.2013 www.consol.com17Form Login
  18. 18. • automatically activated with10 or more backends• Backends can be grouped• Toggle groups at once19.06.2013 www.consol.com18Site Panel
  19. 19. • show custom variableswith ‘show_custom_vars’• uses order fromthruk_local.conf19.06.2013 www.consol.com19Custom Variables
  20. 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_jmx4perlcommand_line $USER1$/check_jmx4perl --config $USER4$/etc/jmx4perl/jmx4perl.cfg --server $HOSTNAME$ --check $ARG1$ $ARG2$ $ARG3$ $ARG4$}• Inline replace is possible19.06.2013 www.consol.com20Naglint
  21. 21. • new thruk support• uses json api• not yet released• Thanks to Henri Wahl and Davide Cecchetto19.06.2013 www.consol.com21Nagstamon for Thruk
  22. 22. • automatically activated whenusing git for your configs• automatic commits possiblewith save hooks19.06.2013 www.consol.com22Git History (upcoming)
  23. 23. 19.06.2013 www.consol.com23Resources
  24. 24. • http://www.thruk.org• http://thruk.org/ideas.html• http://labs.consol.de/nagios/thruk/• https://github.com/sni/Thruk• http://demo.thruk.org19.06.2013 www.consol.com24Resources
  25. 25. 19.06.2013 www.consol.com25Questions?

×