SlideShare ist ein Scribd-Unternehmen logo
1 von 36
Montag, 4. Oktober 2010   1
TYPO3




Montag, 4. Oktober 2010           2
4
                                TYPO3




        What are the options?
          TYPO3 monitoring




Montag, 4. Oktober 2010                 3
Option 1                                     TYPO3



                          Lean back and
                          hope for the best




Montag, 4. Oktober 2010                               4
Option 2                              TYPO3




                          Check manually and
                          on occasion




Montag, 4. Oktober 2010                        5
Option 3                               TYPO3




                          Use a centralized
                          IT infrastructure
                          monitoring



Montag, 4. Oktober 2010                         6
Option 4                                  TYPO3




                          Build a centralized
                          monitoring solution
                          specialized for TYPO3




Montag, 4. Oktober 2010                            7
The solution             TYPO3




Montag, 4. Oktober 2010           8
The team                          TYPO3




               Thomas     Martin
               Hempel     Ficzel




                 JOINED TASK
                    FORCE
            Christopher   Tobias
              Hlubek      Liebig
Montag, 4. Oktober 2010                    9
Targets                                        TYPO3



                    Specialized for TYPO3
                    Hierarchical structure
                    Client / Server
                    Logic lives on the server
                    Secure communication
                    Easy extensibility
                    Performance


Montag, 4. Oktober 2010                                 10
Attention!
                           Developer stuff


Montag, 4. Oktober 2010                      11
System architecture                                            Caretaker Server
                                                                       TYPO3




                                                                                       }
                              Frontend           Backend                  CLI
                                                                                              caretaker
                                                                                             base system
                                                caretaker               testresults




                          caretaker
                                         caretaker
                                          instance
                                                            caretaker
                                                              snmp
                                                                                ....
                                                                                       }       caretaker
                                                                                             test services




                               Ping
                               HTTP
                                              OpenSSL            SNMP
                                                                                       }       network




                                         caretaker
                                          instance                Monitored Server
                                                                       TYPO3
                                                                                       }   monitored server




Montag, 4. Oktober 2010                                                                                       12
The server                                TYPO3
 The caretaker central

                          Management
                          Run tests
                          Storing results
                          Aggregation
                          Provide frontend view




Montag, 4. Oktober 2010                            13
Caretaker instance                              TYPO3




                          Caretaker instance
                          Monitored TYPO3 installation
                          with sensor extension




Montag, 4. Oktober 2010                                  14
TYPO3
          Caretaker instance
           SSL encrypted communication


                                    Request session token



                                    Send command request
                      Server                                  Instance
                                       Signed and encrypted
                                           with OpenSSL

                      Public Key                              Public Key
                      Private Key   Receive command result    Private Key




Montag, 4. Oktober 2010                                                             15
TYPO3
          Caretaker instance
           Base operations


                    Get TYPO3 Version
                    Get specific extension version
                    Get extension list by scope         ure &
                                                    Sec
                    Find and get record                ad- only
                                                    Re




Montag, 4. Oktober 2010                                                   16
Caretaker test                          TYPO3



                    TYPO3 record
                    Contains:
                      Test type
                      Configuration
                      Interval
                      Time limitations
                      Relations


Montag, 4. Oktober 2010                          17
Testservices                                            TYPO3



                    Implemented as TYPO3 service

                    Contains
                      FlexForm configuration
                      Service class
                        Implements “runTest()”
                        Returns tx_caretakerTestResult


Montag, 4. Oktober 2010                                          18
TYPO3
          Test-Services

                    HTTP /Ping
                    Check TYPO3/Extension Version
                    Check for insecure extensions
                    Find blacklisted users / passwords
                    Check for extension updates
                    ...



Montag, 4. Oktober 2010                                          19
Notification Services                                                  TYPO3


               Implemented as
               TYPO3 service



                          Gets notified with all test results and
                          previous states
                          Is called once after each run, to send the
                          notifications



Montag, 4. Oktober 2010                                                        20
Instance Operations                                           TYPO3


              Classes which are registered on the instance

                          Executed on the monitored instance
                          Simply provides a „main“ method
                          Can come with extra extensions




Montag, 4. Oktober 2010                                                21
TYPO3




                          Screenshots



Montag, 4. Oktober 2010                         22
TYPO3




Montag, 4. Oktober 2010           23
TYPO3




Montag, 4. Oktober 2010           24
TYPO3




Montag, 4. Oktober 2010           25
TYPO3




Montag, 4. Oktober 2010           26
TYPO3




Montag, 4. Oktober 2010           27
The future                                               TYPO3



                      Detect core and ext. modifications
                      Escalation strategies
                      External API (JSON /XML)
                      You name it / do it




Montag, 4. Oktober 2010                                           28
How to get it?                                 TYPO3




                          Alpha 2

                                    New frontend
                                    Acknowledge problems
                                    Set tests due
                                    4.3 - 4.4 compatible


Montag, 4. Oktober 2010                                 29
Contact                                                TYPO3



                          forge.typo3.org (Project caretaker)
                          Mailinglist (lists.typo3.org)
                          Twitter (@typo3_caretaker)




Montag, 4. Oktober 2010                                         30
Website                                              TYPO3




                                           ker.o rg
                               -c are ta
                          typo3



Montag, 4. Oktober 2010                                       31
Experiences                                               TYPO3


                 Well sleeping admins
                 Saves tons of work for security updates
                 Customers love it
                 TYPO3-Agencies, too!




Montag, 4. Oktober 2010                                            32
TYPO3




Montag, 4. Oktober 2010           33
TYPO3




Montag, 4. Oktober 2010           34
TYPO3




Montag, 4. Oktober 2010           35
Montag, 4. Oktober 2010   36

Weitere ähnliche Inhalte

Andere mochten auch

A case of typical stemi in indian scenario
A case of typical stemi in indian scenarioA case of typical stemi in indian scenario
A case of typical stemi in indian scenarioArindam Pande
 
Presentation3
Presentation3Presentation3
Presentation3pvaso
 
берег к к юа
берег к к юаберег к к юа
берег к к юаgalinaNK
 
Documento propuesta conep aeih - rp
Documento propuesta conep aeih - rpDocumento propuesta conep aeih - rp
Documento propuesta conep aeih - rpcesrd
 
PANDUAN PENGURUSAN PEJABAT
PANDUAN PENGURUSAN PEJABATPANDUAN PENGURUSAN PEJABAT
PANDUAN PENGURUSAN PEJABATfazrul
 
Bab C (cuti) 12/01/2015 (Taklimat)
Bab C (cuti) 12/01/2015 (Taklimat)Bab C (cuti) 12/01/2015 (Taklimat)
Bab C (cuti) 12/01/2015 (Taklimat)fazrul
 
Progress report vanashakti.pptx [autosaved]
Progress report  vanashakti.pptx [autosaved]Progress report  vanashakti.pptx [autosaved]
Progress report vanashakti.pptx [autosaved]Stalin Dayanand
 
Pengurusan panitia
Pengurusan panitiaPengurusan panitia
Pengurusan panitiajasmi jaafar
 
10 Event Technology Trends to Watch in 2016
10 Event Technology Trends to Watch in 201610 Event Technology Trends to Watch in 2016
10 Event Technology Trends to Watch in 2016Eventbrite UK
 
Proposal for event
Proposal for eventProposal for event
Proposal for eventZalina Kemat
 

Andere mochten auch (14)

Оценка торгового предприятия
Оценка торгового предприятияОценка торгового предприятия
Оценка торгового предприятия
 
Apostila módulo 3c
Apostila módulo 3cApostila módulo 3c
Apostila módulo 3c
 
A case of typical stemi in indian scenario
A case of typical stemi in indian scenarioA case of typical stemi in indian scenario
A case of typical stemi in indian scenario
 
Presentation3
Presentation3Presentation3
Presentation3
 
берег к к юа
берег к к юаберег к к юа
берег к к юа
 
Documento propuesta conep aeih - rp
Documento propuesta conep aeih - rpDocumento propuesta conep aeih - rp
Documento propuesta conep aeih - rp
 
PANDUAN PENGURUSAN PEJABAT
PANDUAN PENGURUSAN PEJABATPANDUAN PENGURUSAN PEJABAT
PANDUAN PENGURUSAN PEJABAT
 
Bab C (cuti) 12/01/2015 (Taklimat)
Bab C (cuti) 12/01/2015 (Taklimat)Bab C (cuti) 12/01/2015 (Taklimat)
Bab C (cuti) 12/01/2015 (Taklimat)
 
Progress report vanashakti.pptx [autosaved]
Progress report  vanashakti.pptx [autosaved]Progress report  vanashakti.pptx [autosaved]
Progress report vanashakti.pptx [autosaved]
 
Curriculum vitae sht
Curriculum vitae shtCurriculum vitae sht
Curriculum vitae sht
 
Pengurusan panitia
Pengurusan panitiaPengurusan panitia
Pengurusan panitia
 
TheLabofLife_brochure
TheLabofLife_brochureTheLabofLife_brochure
TheLabofLife_brochure
 
10 Event Technology Trends to Watch in 2016
10 Event Technology Trends to Watch in 201610 Event Technology Trends to Watch in 2016
10 Event Technology Trends to Watch in 2016
 
Proposal for event
Proposal for eventProposal for event
Proposal for event
 

Website monitoring with caretaker / T3CON10 Frankfurt

  • 3. 4 TYPO3 What are the options? TYPO3 monitoring Montag, 4. Oktober 2010 3
  • 4. Option 1 TYPO3 Lean back and hope for the best Montag, 4. Oktober 2010 4
  • 5. Option 2 TYPO3 Check manually and on occasion Montag, 4. Oktober 2010 5
  • 6. Option 3 TYPO3 Use a centralized IT infrastructure monitoring Montag, 4. Oktober 2010 6
  • 7. Option 4 TYPO3 Build a centralized monitoring solution specialized for TYPO3 Montag, 4. Oktober 2010 7
  • 8. The solution TYPO3 Montag, 4. Oktober 2010 8
  • 9. The team TYPO3 Thomas Martin Hempel Ficzel JOINED TASK FORCE Christopher Tobias Hlubek Liebig Montag, 4. Oktober 2010 9
  • 10. Targets TYPO3 Specialized for TYPO3 Hierarchical structure Client / Server Logic lives on the server Secure communication Easy extensibility Performance Montag, 4. Oktober 2010 10
  • 11. Attention! Developer stuff Montag, 4. Oktober 2010 11
  • 12. System architecture Caretaker Server TYPO3 } Frontend Backend CLI caretaker base system caretaker testresults caretaker caretaker instance caretaker snmp .... } caretaker test services Ping HTTP OpenSSL SNMP } network caretaker instance Monitored Server TYPO3 } monitored server Montag, 4. Oktober 2010 12
  • 13. The server TYPO3 The caretaker central Management Run tests Storing results Aggregation Provide frontend view Montag, 4. Oktober 2010 13
  • 14. Caretaker instance TYPO3 Caretaker instance Monitored TYPO3 installation with sensor extension Montag, 4. Oktober 2010 14
  • 15. TYPO3 Caretaker instance SSL encrypted communication Request session token Send command request Server Instance Signed and encrypted with OpenSSL Public Key Public Key Private Key Receive command result Private Key Montag, 4. Oktober 2010 15
  • 16. TYPO3 Caretaker instance Base operations Get TYPO3 Version Get specific extension version Get extension list by scope ure & Sec Find and get record ad- only Re Montag, 4. Oktober 2010 16
  • 17. Caretaker test TYPO3 TYPO3 record Contains: Test type Configuration Interval Time limitations Relations Montag, 4. Oktober 2010 17
  • 18. Testservices TYPO3 Implemented as TYPO3 service Contains FlexForm configuration Service class Implements “runTest()” Returns tx_caretakerTestResult Montag, 4. Oktober 2010 18
  • 19. TYPO3 Test-Services HTTP /Ping Check TYPO3/Extension Version Check for insecure extensions Find blacklisted users / passwords Check for extension updates ... Montag, 4. Oktober 2010 19
  • 20. Notification Services TYPO3 Implemented as TYPO3 service Gets notified with all test results and previous states Is called once after each run, to send the notifications Montag, 4. Oktober 2010 20
  • 21. Instance Operations TYPO3 Classes which are registered on the instance Executed on the monitored instance Simply provides a „main“ method Can come with extra extensions Montag, 4. Oktober 2010 21
  • 22. TYPO3 Screenshots Montag, 4. Oktober 2010 22
  • 28. The future TYPO3 Detect core and ext. modifications Escalation strategies External API (JSON /XML) You name it / do it Montag, 4. Oktober 2010 28
  • 29. How to get it? TYPO3 Alpha 2 New frontend Acknowledge problems Set tests due 4.3 - 4.4 compatible Montag, 4. Oktober 2010 29
  • 30. Contact TYPO3 forge.typo3.org (Project caretaker) Mailinglist (lists.typo3.org) Twitter (@typo3_caretaker) Montag, 4. Oktober 2010 30
  • 31. Website TYPO3 ker.o rg -c are ta typo3 Montag, 4. Oktober 2010 31
  • 32. Experiences TYPO3 Well sleeping admins Saves tons of work for security updates Customers love it TYPO3-Agencies, too! Montag, 4. Oktober 2010 32

Hinweis der Redaktion

  1. THOMAS
  2. THOMAS
  3. THOMAS There are actually four
  4. THOMAS There are actually four
  5. THOMAS There are actually four
  6. THOMAS There are actually four
  7. THOMAS There are actually four
  8. THOMAS There are actually four
  9. THOMAS There are actually four
  10. THOMAS There are actually four
  11. THOMAS There are actually four
  12. THOMAS There are actually four
  13. THOMAS
  14. THOMAS Act whenever a client calls - disadvatnages: - You have to be on call for your clients - You can’t do anything pro-active - You still have to keep track of all issues you have to work on (e.g. extension update after a security bulletin) - advantages: - Better than nothing
  15. THOMAS - like NAGIOS - disadvantages: - Not specialized for TYPO3 specific tasks like TYPO3 extensions security bulletins - Very hard to configure for many instances - Always client side evaluation (You have put all necessary information on each client) - advantages: - Technology is already there and proofed to work
  16. THOMAS - We came up with a sweeter solution -> Next slide ;-)
  17. THOMAS
  18. THOMAS
  19. THOMAS
  20. THOMAS
  21. THOMAS
  22. THOMAS
  23. THOMAS
  24. THOMAS
  25. THOMAS
  26. THOMAS
  27. THOMAS
  28. THOMAS
  29. THOMAS
  30. THOMAS
  31. THOMAS
  32. THOMAS
  33. THOMAS
  34. THOMAS
  35. THOMAS
  36. THOMAS
  37. MARTIN
  38. MARTIN
  39. MARTIN
  40. MARTIN
  41. MARTIN
  42. MARTIN
  43. MARTIN
  44. MARTIN - Frontend Demo - Instanz unsicher machen (altes phpmyadmin installieren) - CLI starten - Frontend zeigen
  45. MARTIN - Frontend Demo - Instanz unsicher machen (altes phpmyadmin installieren) - CLI starten - Frontend zeigen
  46. MARTIN - Frontend Demo - Instanz unsicher machen (altes phpmyadmin installieren) - CLI starten - Frontend zeigen
  47. MARTIN
  48. MARTIN
  49. MARTIN
  50. MARTIN
  51. MARTIN
  52. MARTIN
  53. MARTIN
  54. MARTIN
  55. MARTIN
  56. MARTIN
  57. MARTIN
  58. MARTIN
  59. MARTIN
  60. MARTIN
  61. MARTIN
  62. MARTIN
  63. MARTIN - Implements secure communication - caretaker_instance is installed on server and on all clients (instances) - Contains logic for executing tests (client side) and processing results (on server side)
  64. MARTIN
  65. MARTIN
  66. MARTIN
  67. MARTIN
  68. MARTIN
  69. MARTIN
  70. MARTIN
  71. MARTIN
  72. MARTIN
  73. MARTIN
  74. MARTIN
  75. MARTIN
  76. MARTIN
  77. MARTIN
  78. MARTIN
  79. MARTIN
  80. MARTIN
  81. MARTIN
  82. MARTIN
  83. MARTIN - Type = service - Configuration = FlexForm - Interval = - Relations to groups, instances etc.
  84. MARTIN - Type = service - Configuration = FlexForm - Interval = - Relations to groups, instances etc.
  85. MARTIN - Type = service - Configuration = FlexForm - Interval = - Relations to groups, instances etc.
  86. MARTIN - Type = service - Configuration = FlexForm - Interval = - Relations to groups, instances etc.
  87. MARTIN - Type = service - Configuration = FlexForm - Interval = - Relations to groups, instances etc.
  88. MARTIN - Type = service - Configuration = FlexForm - Interval = - Relations to groups, instances etc.
  89. MARTIN - Type = service - Configuration = FlexForm - Interval = - Relations to groups, instances etc.
  90. MARTIN
  91. MARTIN
  92. MARTIN
  93. MARTIN
  94. MARTIN
  95. MARTIN
  96. MARTIN
  97. MARTIN
  98. MARTIN
  99. MARTIN
  100. MARTIN
  101. MARTIN
  102. MARTIN
  103. MARTIN
  104. MARTIN
  105. MARTIN
  106. MARTIN
  107. MARTIN
  108. MARTIN
  109. MARTIN
  110. MARTIN
  111. MARTIN
  112. MARTIN
  113. MARTIN
  114. MARTIN - Four DEMO don’t hestitate to ask us! - Frontend Demo - Instanz unsicher machen (altes phpmyadmin installieren) - CLI starten - Frontend zeigen
  115. MARTIN - central monitor for your company - ts - template is included in caretaker
  116. MARTIN
  117. 4 Records - Instancegroup - Instance - Testgroup - Test
  118. 4 Records - Instancegroup - Instance - Testgroup - Test
  119. 4 Records - Instancegroup - Instance - Testgroup - Test
  120. 4 Records - Instancegroup - Instance - Testgroup - Test
  121. THOMAS SNMP: Simple Network Management Protocol NRPE: Nagios Remote Plugin Executor
  122. THOMAS SNMP: Simple Network Management Protocol NRPE: Nagios Remote Plugin Executor
  123. THOMAS SNMP: Simple Network Management Protocol NRPE: Nagios Remote Plugin Executor
  124. THOMAS SNMP: Simple Network Management Protocol NRPE: Nagios Remote Plugin Executor
  125. THOMAS SNMP: Simple Network Management Protocol NRPE: Nagios Remote Plugin Executor
  126. THOMAS SNMP: Simple Network Management Protocol NRPE: Nagios Remote Plugin Executor
  127. THOMAS SNMP: Simple Network Management Protocol NRPE: Nagios Remote Plugin Executor
  128. THOMAS SNMP: Simple Network Management Protocol NRPE: Nagios Remote Plugin Executor
  129. THOMAS Alpha 2 is in TER now - new frontend - Acknowledgement of errors (Let the client know that somebody working on the issue) - Testresult with a due state will be executed on next run. Doesn’t matter what the next execution date would be. - caretaker master is 4.3 and 4.4 compatible (4.5-dev works too) - ...
  130. THOMAS Alpha 2 is in TER now - new frontend - Acknowledgement of errors (Let the client know that somebody working on the issue) - Testresult with a due state will be executed on next run. Doesn’t matter what the next execution date would be. - caretaker master is 4.3 and 4.4 compatible (4.5-dev works too) - ...
  131. THOMAS Alpha 2 is in TER now - new frontend - Acknowledgement of errors (Let the client know that somebody working on the issue) - Testresult with a due state will be executed on next run. Doesn’t matter what the next execution date would be. - caretaker master is 4.3 and 4.4 compatible (4.5-dev works too) - ...
  132. THOMAS Alpha 2 is in TER now - new frontend - Acknowledgement of errors (Let the client know that somebody working on the issue) - Testresult with a due state will be executed on next run. Doesn’t matter what the next execution date would be. - caretaker master is 4.3 and 4.4 compatible (4.5-dev works too) - ...
  133. THOMAS Alpha 2 is in TER now - new frontend - Acknowledgement of errors (Let the client know that somebody working on the issue) - Testresult with a due state will be executed on next run. Doesn’t matter what the next execution date would be. - caretaker master is 4.3 and 4.4 compatible (4.5-dev works too) - ...
  134. THOMAS Alpha 2 is in TER now - new frontend - Acknowledgement of errors (Let the client know that somebody working on the issue) - Testresult with a due state will be executed on next run. Doesn’t matter what the next execution date would be. - caretaker master is 4.3 and 4.4 compatible (4.5-dev works too) - ...
  135. THOMAS Alpha 2 is in TER now - new frontend - Acknowledgement of errors (Let the client know that somebody working on the issue) - Testresult with a due state will be executed on next run. Doesn’t matter what the next execution date would be. - caretaker master is 4.3 and 4.4 compatible (4.5-dev works too) - ...
  136. THOMAS
  137. THOMAS
  138. THOMAS
  139. THOMAS - news - documentation - service to distribute md5 hashes for typo3-core and extensions (FUTURE PLAN)
  140. THOMAS What is the verdict? - give the feeling to know that everything is fine instead of hoping it - similar to unit testing for the developer (test driven administration) - customers see that we are working hard to keep their systems healthy and like it - some customer even by only monitoring services -
  141. THOMAS What is the verdict? - give the feeling to know that everything is fine instead of hoping it - similar to unit testing for the developer (test driven administration) - customers see that we are working hard to keep their systems healthy and like it - some customer even by only monitoring services -
  142. THOMAS What is the verdict? - give the feeling to know that everything is fine instead of hoping it - similar to unit testing for the developer (test driven administration) - customers see that we are working hard to keep their systems healthy and like it - some customer even by only monitoring services -
  143. THOMAS What is the verdict? - give the feeling to know that everything is fine instead of hoping it - similar to unit testing for the developer (test driven administration) - customers see that we are working hard to keep their systems healthy and like it - some customer even by only monitoring services -
  144. THOMAS Questions?
  145. THOMAS Questions?
  146. THOMAS Thank you on the behalf of the caretaker team
  147. THOMAS Thank you on the behalf of the caretaker team
  148. THOMAS Thank you on the behalf of the caretaker team
  149. THOMAS Thank you on the behalf of the caretaker team
  150. THOMAS
  151. THOMAS