13
Observer Framework for monitoring production environment via functional tests Tomasz Stelmach 2015

Observer Framework for monitoring production environment via functional tests

Embed Size (px)

DESCRIPTION

ObserverFramework for monitoring production environment via functional tests

Citation preview

PowerPoint Presentation

ObserverFramework for monitoring production environment via functional testsTomasz Stelmach 2015

1

IntroductionAll that is too complex is unnecessary, and it is simple that is needed

Mikhail Kalashnikov

2

About this presentation Introduction

3

Problems Why we needed Observer?No automated monitoring frameworkLack of central dashboardLow coveragePerformance monitoring

ProblemSolutionSummary

4

Problem 1 - No automated monitoring frameworkEasy to start with implementationReady to use pluginsEasy to integrateOpen source with communityAlive toolCost?ProblemSolutionSummary

5

Solution for Problem 1 - Solution architectureProblemSolutionSummary

6

Solution for Problem 2 - Lack of central dashboardProblemSolutionSummary

7

Solution for Problem 2 - Standard Nagios dashboardProblemSolutionSummary

8

ProblemSolutionSummarySolution for Problem 3 Low coveragedefine host{ use windows-server host_name CXL-Prod alias CXL prod address 10.8.0.59 initial_state u max_check_attempts 6 check_interval 6 check_period 24x7 notification_period 24x7 check_command check_http hostgroups production-servers }define service{ use generic-service host_name CXL-Prodcheck_command check_java!CxlQuantumCheck.CxlQuantumCheckFromIntegrationTables!threshold=30,config=CxlQuantumCheck_Prod.properties!Prod_CXL_Quantumservice_description Performance: CXL-Quantum interfacecheck_interval10notifications_enabled1contact_groupscxl-admins} define service{ use generic-service host_name CXL-Prodcheck_command check_java!CxlCheck.CxlCheckLogin!endpoint=http://webapps.ch.glencore.com!Prod_CXL login checkservice_description Functional: Login to applicationcheck_interval20notifications_enabled1contact_groupscxl-admins}

9

ProblemSolutionSummarySolution for Problem 4 Performance monitoring

10

ProblemSolutionSummaryPros and ConsAdvantages DisadvantagesFlexibility and simplicity in implementationPoor authentication mechanism in Nagios Web Server (via httpasswd)Easy integration with other toolsNagwin can call every command via shellHttp integration via NRDPLimited number of standard plugins for windows platform. Most of plugins are for engineering and Unix environment (host network management)Passive and Active checksFailures have to be investigated manually Notifications via email about critic state of service or hostLimited development needed:java plugin (for calling Selenium, SOAPUI or other tool)php page for presenting resultsHighly customizable inheritance, templates, config files etc.Big community around Nagios

11

ProblemSolutionSummarySummaryObserver is a monitoring framework for performance and functional tests which aims to monitor environment from functional point of viewObserver is not another testing tool so doesnt aim to find defectsProduction environment tests have to be simple, repeatable and nonintrusiveSet of tools based on Nagwin (Nagios distribution) which gives possibility to monitor applications from functional or performance point of view (sample: Login to application or How fast to login)Completely web based for end user Easy to integrate and customize

12

ProblemSolutionSummaryThank youTime for Q&A

13