SlideShare a Scribd company logo
Health Checking
MIHÁLY ÁRVAI
Introduction
► Mihály Árvai
► Senior Sitecore Developer - Mirum
► ~ 10 years experience in Sitecore
► Hackathon winer 2019
► Twitter
► @Mitya_1988
► Slack
► Mitya88
► Medium
► @mitya_1988
► GitHub
► Mitya88
https://twitter.com/mitya_1988
Agenda
 Health checking
 Why? How?
 Advanced Sitecore Health check
module
 How is it working?
 Features
 Writing your own custom health
check
 Further improvements
https://twitter.com/mitya_1988
Health checking your
Sitecore solution
https://twitter.com/mitya_1988
What is a health check?
 An external application or a built-in endpoint/service
 Checks if an application or component is working
 Can determine an actual or upcoming issue
 Can notify the IT or Devs about the issue
 Helps in the investigation
 Tests your application
https://twitter.com/mitya_1988
Component states
Healthy Warning Error
https://twitter.com/mitya_1988
Importance of health checking
 avoid or minimize service/application downtimes
 Renew certificate/licence in time
 Faster resolution for an issue
 Losing time with log files investigation
 Catch random or periodic issues
 Something happens around the reguler application recycle time
 Test the latest deployment
https://twitter.com/mitya_1988
Advanced Sitecore Healthcheck
module
https://github.com/Mitya88/SitecoreHealthcheck
Contributors
- Andrei Ardel – Sitecore Developer – Mirum
- Attila Horváth – Lead Sitecore Developer - Mirum
https://twitter.com/mitya_1988
https://twitter.com/mitya_1988
https://twitter.com/mitya_1988
https://twitter.com/mitya_1988
 The Sitecore structure of the module
Component Templates
Data
• Name
• Status
• Last Check Time
• Error Messages
• Healthy Message
Configuration
• Different fields based on the
component
https://twitter.com/mitya_1988
Supported types of component checks
 MSSQL Databases
 Not for only Sitecore related databases, for external databases
 MongoDB is added as a Custom Check
 APIs
 GET/POST
 Request Body
 Response Code and Body Verification
 Supports Authentication (JWT, Basic, Certificate)
https://twitter.com/mitya_1988
Supported types of component checks
 Windows Services
 Check state of the windows service (Solr or XDB related services)
 WebJobs
 Check state of the WebJob (XDB related or custom webjobs)
https://twitter.com/mitya_1988
Supported types of component checks
 Application Insights
 Checks and reads errors/warnings from the configured ApplicationInsight ina given time
period
 Log Files
 Checks and reads errors/warnings from the Sitecore log files in a given period
https://twitter.com/mitya_1988
Supported types of component checks
 XConnectAPI Check
 Calls XConnect APIs with client certificate
 Keep Alive Check
 Calls the keepalive.aspx
 Uses WebUtil.GetFullUrl
https://twitter.com/mitya_1988
Supported types of component checks
 EventQueue, PublishQueue, History table record count check
 Checks the number of records in these tables in every database
 Item Check
 Check if the given item exists in the configured db/language
https://twitter.com/mitya_1988
Supported types of component checks
 Licence Check
 Checks when the licence will expire
 Certificate Check
 Checks when the configured certificate will expire
https://twitter.com/mitya_1988
Supported types of component checks
 Search Check
 Checks if index contains the configured number of documents
 Query can be defined
 Disk Space Check
 Checks if there is enough space on your web server
https://twitter.com/mitya_1988
Supported types of component checks
 Custom Check (C#)
 Implement your own check
 Samples included
 Custom Check (SPE)
 Implement your own check with SPE
 Samples included
https://twitter.com/mitya_1988
Implementing custom check (C#)
 Reference the Healthcheck.Service.Customization binary
 (It will be published on nuget.org soon)
 Create a class, derive it from CustomHealthcheckRun
 Override DoHealthcheck method
 Create Custom Healthcheck item in Sitecore and configure the fields
https://twitter.com/mitya_1988
Implementing custom check
https://twitter.com/mitya_1988
Further improvements
 V2.0 – 2020 Oct
 Content Delivery Server support
 More on-premise supports
 More samples
https://twitter.com/mitya_1988
DEMO
 Azure PaaS XP Step by Step setup: https://www.youtube.com/watch?v=J_qk7jT_Y-
U
https://twitter.com/mitya_1988

More Related Content

What's hot

Web Application Penetration Test
Web Application Penetration TestWeb Application Penetration Test
Web Application Penetration Test
martinvoelk
 
Apex presentation
Apex presentationApex presentation
Apex presentation
Apps4Finland
 
Automating Web Applications Security Assessments Through Scanners
Automating Web Applications Security Assessments Through ScannersAutomating Web Applications Security Assessments Through Scanners
Automating Web Applications Security Assessments Through Scanners
nfteodoro
 
Security Testing
Security TestingSecurity Testing
Security Testing
Qualitest
 
SAST vs. DAST: What’s the Best Method For Application Security Testing?
SAST vs. DAST: What’s the Best Method For Application Security Testing?SAST vs. DAST: What’s the Best Method For Application Security Testing?
SAST vs. DAST: What’s the Best Method For Application Security Testing?
Cigital
 
IBM AppScan Standard - The Web Application Security Solution
IBM AppScan Standard - The Web Application Security SolutionIBM AppScan Standard - The Web Application Security Solution
IBM AppScan Standard - The Web Application Security Solution
hearme limited company
 
Continuous and Visible Security Testing with BDD-Security
Continuous and Visible Security Testing with BDD-SecurityContinuous and Visible Security Testing with BDD-Security
Continuous and Visible Security Testing with BDD-Security
Stephen de Vries
 
Web application testing
Web application testing Web application testing
Web application testing
Nora Alriyes
 
An update to software testing trends
An update to software testing trendsAn update to software testing trends
An update to software testing trends
BugRaptors
 
Microservice test strategies for applications based on Spring, K8s and Istio
Microservice test strategies for applications based on Spring, K8s and IstioMicroservice test strategies for applications based on Spring, K8s and Istio
Microservice test strategies for applications based on Spring, K8s and Istio
Ahmed Misbah
 
Security Testing for Web Application
Security Testing for Web ApplicationSecurity Testing for Web Application
Security Testing for Web Application
Precise Testing Solution
 
Sast 2021
Sast 2021Sast 2021
Sast 2021
Felix Dobslaw
 

What's hot (13)

Web Application Penetration Test
Web Application Penetration TestWeb Application Penetration Test
Web Application Penetration Test
 
Apex presentation
Apex presentationApex presentation
Apex presentation
 
Automating Web Applications Security Assessments Through Scanners
Automating Web Applications Security Assessments Through ScannersAutomating Web Applications Security Assessments Through Scanners
Automating Web Applications Security Assessments Through Scanners
 
Security Testing
Security TestingSecurity Testing
Security Testing
 
SAST vs. DAST: What’s the Best Method For Application Security Testing?
SAST vs. DAST: What’s the Best Method For Application Security Testing?SAST vs. DAST: What’s the Best Method For Application Security Testing?
SAST vs. DAST: What’s the Best Method For Application Security Testing?
 
ATD11_WebAPISecurity
ATD11_WebAPISecurityATD11_WebAPISecurity
ATD11_WebAPISecurity
 
IBM AppScan Standard - The Web Application Security Solution
IBM AppScan Standard - The Web Application Security SolutionIBM AppScan Standard - The Web Application Security Solution
IBM AppScan Standard - The Web Application Security Solution
 
Continuous and Visible Security Testing with BDD-Security
Continuous and Visible Security Testing with BDD-SecurityContinuous and Visible Security Testing with BDD-Security
Continuous and Visible Security Testing with BDD-Security
 
Web application testing
Web application testing Web application testing
Web application testing
 
An update to software testing trends
An update to software testing trendsAn update to software testing trends
An update to software testing trends
 
Microservice test strategies for applications based on Spring, K8s and Istio
Microservice test strategies for applications based on Spring, K8s and IstioMicroservice test strategies for applications based on Spring, K8s and Istio
Microservice test strategies for applications based on Spring, K8s and Istio
 
Security Testing for Web Application
Security Testing for Web ApplicationSecurity Testing for Web Application
Security Testing for Web Application
 
Sast 2021
Sast 2021Sast 2021
Sast 2021
 

Similar to SUGIndia - Health checking

AnDevCon - Tracking User Behavior Creatively
AnDevCon - Tracking User Behavior CreativelyAnDevCon - Tracking User Behavior Creatively
AnDevCon - Tracking User Behavior CreativelyKiana Tennyson
 
Agilent Technologies Demo
Agilent Technologies DemoAgilent Technologies Demo
Agilent Technologies Demo
cerebraldecypher
 
The Complete Web Application Security Testing Checklist
The Complete Web Application Security Testing ChecklistThe Complete Web Application Security Testing Checklist
The Complete Web Application Security Testing Checklist
Cigital
 
04 test controlling and tracking
04   test controlling and tracking04   test controlling and tracking
04 test controlling and tracking
Clemens Reijnen
 
On Demand Feedback Analysis for Certification Process
On Demand Feedback Analysis for Certification ProcessOn Demand Feedback Analysis for Certification Process
On Demand Feedback Analysis for Certification Process
rahulmonikasharma
 
#ATAGTR2019 Presentation "Top 10 quality engineering best practices to achiev...
#ATAGTR2019 Presentation "Top 10 quality engineering best practices to achiev...#ATAGTR2019 Presentation "Top 10 quality engineering best practices to achiev...
#ATAGTR2019 Presentation "Top 10 quality engineering best practices to achiev...
Agile Testing Alliance
 
Software Testing basics
Software Testing basicsSoftware Testing basics
Software Testing basicsOlia Khlystun
 
Technical Requirements of the UK Access Management Federation
Technical Requirements of the UK Access Management FederationTechnical Requirements of the UK Access Management Federation
Technical Requirements of the UK Access Management Federation
JISC.AM
 
Observe It Presentation
Observe It PresentationObserve It Presentation
Observe It Presentation
tsteh
 
Case Study For Data Governance Portal
Case Study For Data Governance PortalCase Study For Data Governance Portal
Case Study For Data Governance Portal
Mike Taylor
 
Middleware monitoring with Applications Manager
Middleware monitoring with Applications ManagerMiddleware monitoring with Applications Manager
Middleware monitoring with Applications Manager
ManageEngine, Zoho Corporation
 
Securing API data models
Securing API data modelsSecuring API data models
Securing API data models
Jonathan LeBlanc
 
Find Out What's New With WhiteSource September 2018- A WhiteSource Webinar
Find Out What's New With WhiteSource September 2018- A WhiteSource WebinarFind Out What's New With WhiteSource September 2018- A WhiteSource Webinar
Find Out What's New With WhiteSource September 2018- A WhiteSource Webinar
WhiteSource
 
API Testing following the Test Pyramid
API Testing following the Test PyramidAPI Testing following the Test Pyramid
API Testing following the Test Pyramid
Elias Nogueira
 
TechDays 2010 Portugal - Scaling your data tier with app fabric 16x9
TechDays 2010 Portugal - Scaling your data tier with app fabric 16x9TechDays 2010 Portugal - Scaling your data tier with app fabric 16x9
TechDays 2010 Portugal - Scaling your data tier with app fabric 16x9Nuno Godinho
 
Building enterprise web applications with spring 3
Building enterprise web applications with spring 3Building enterprise web applications with spring 3
Building enterprise web applications with spring 3
Abdelmonaim Remani
 
Building TweetEngine
Building TweetEngineBuilding TweetEngine
Building TweetEngineikailan
 
Best Practices for Application Development with Box
Best Practices for Application Development with BoxBest Practices for Application Development with Box
Best Practices for Application Development with Box
Jonathan LeBlanc
 
MVC by asp.net development company in india
MVC by asp.net development company in indiaMVC by asp.net development company in india
MVC by asp.net development company in india
iFour Institute - Sustainable Learning
 
WSO2CON 2024 - Software Engineering for Digital Businesses
WSO2CON 2024 - Software Engineering for Digital BusinessesWSO2CON 2024 - Software Engineering for Digital Businesses
WSO2CON 2024 - Software Engineering for Digital Businesses
WSO2
 

Similar to SUGIndia - Health checking (20)

AnDevCon - Tracking User Behavior Creatively
AnDevCon - Tracking User Behavior CreativelyAnDevCon - Tracking User Behavior Creatively
AnDevCon - Tracking User Behavior Creatively
 
Agilent Technologies Demo
Agilent Technologies DemoAgilent Technologies Demo
Agilent Technologies Demo
 
The Complete Web Application Security Testing Checklist
The Complete Web Application Security Testing ChecklistThe Complete Web Application Security Testing Checklist
The Complete Web Application Security Testing Checklist
 
04 test controlling and tracking
04   test controlling and tracking04   test controlling and tracking
04 test controlling and tracking
 
On Demand Feedback Analysis for Certification Process
On Demand Feedback Analysis for Certification ProcessOn Demand Feedback Analysis for Certification Process
On Demand Feedback Analysis for Certification Process
 
#ATAGTR2019 Presentation "Top 10 quality engineering best practices to achiev...
#ATAGTR2019 Presentation "Top 10 quality engineering best practices to achiev...#ATAGTR2019 Presentation "Top 10 quality engineering best practices to achiev...
#ATAGTR2019 Presentation "Top 10 quality engineering best practices to achiev...
 
Software Testing basics
Software Testing basicsSoftware Testing basics
Software Testing basics
 
Technical Requirements of the UK Access Management Federation
Technical Requirements of the UK Access Management FederationTechnical Requirements of the UK Access Management Federation
Technical Requirements of the UK Access Management Federation
 
Observe It Presentation
Observe It PresentationObserve It Presentation
Observe It Presentation
 
Case Study For Data Governance Portal
Case Study For Data Governance PortalCase Study For Data Governance Portal
Case Study For Data Governance Portal
 
Middleware monitoring with Applications Manager
Middleware monitoring with Applications ManagerMiddleware monitoring with Applications Manager
Middleware monitoring with Applications Manager
 
Securing API data models
Securing API data modelsSecuring API data models
Securing API data models
 
Find Out What's New With WhiteSource September 2018- A WhiteSource Webinar
Find Out What's New With WhiteSource September 2018- A WhiteSource WebinarFind Out What's New With WhiteSource September 2018- A WhiteSource Webinar
Find Out What's New With WhiteSource September 2018- A WhiteSource Webinar
 
API Testing following the Test Pyramid
API Testing following the Test PyramidAPI Testing following the Test Pyramid
API Testing following the Test Pyramid
 
TechDays 2010 Portugal - Scaling your data tier with app fabric 16x9
TechDays 2010 Portugal - Scaling your data tier with app fabric 16x9TechDays 2010 Portugal - Scaling your data tier with app fabric 16x9
TechDays 2010 Portugal - Scaling your data tier with app fabric 16x9
 
Building enterprise web applications with spring 3
Building enterprise web applications with spring 3Building enterprise web applications with spring 3
Building enterprise web applications with spring 3
 
Building TweetEngine
Building TweetEngineBuilding TweetEngine
Building TweetEngine
 
Best Practices for Application Development with Box
Best Practices for Application Development with BoxBest Practices for Application Development with Box
Best Practices for Application Development with Box
 
MVC by asp.net development company in india
MVC by asp.net development company in indiaMVC by asp.net development company in india
MVC by asp.net development company in india
 
WSO2CON 2024 - Software Engineering for Digital Businesses
WSO2CON 2024 - Software Engineering for Digital BusinessesWSO2CON 2024 - Software Engineering for Digital Businesses
WSO2CON 2024 - Software Engineering for Digital Businesses
 

Recently uploaded

Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptxSecstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
nkrafacyberclub
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
Ralf Eggert
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
UiPathCommunity
 
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdfSAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
Peter Spielvogel
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Nexer Digital
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 

Recently uploaded (20)

Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptxSecstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
 
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdfSAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 

SUGIndia - Health checking

  • 2. Introduction ► Mihály Árvai ► Senior Sitecore Developer - Mirum ► ~ 10 years experience in Sitecore ► Hackathon winer 2019 ► Twitter ► @Mitya_1988 ► Slack ► Mitya88 ► Medium ► @mitya_1988 ► GitHub ► Mitya88 https://twitter.com/mitya_1988
  • 3. Agenda  Health checking  Why? How?  Advanced Sitecore Health check module  How is it working?  Features  Writing your own custom health check  Further improvements https://twitter.com/mitya_1988
  • 4. Health checking your Sitecore solution https://twitter.com/mitya_1988
  • 5. What is a health check?  An external application or a built-in endpoint/service  Checks if an application or component is working  Can determine an actual or upcoming issue  Can notify the IT or Devs about the issue  Helps in the investigation  Tests your application https://twitter.com/mitya_1988
  • 6. Component states Healthy Warning Error https://twitter.com/mitya_1988
  • 7. Importance of health checking  avoid or minimize service/application downtimes  Renew certificate/licence in time  Faster resolution for an issue  Losing time with log files investigation  Catch random or periodic issues  Something happens around the reguler application recycle time  Test the latest deployment https://twitter.com/mitya_1988
  • 8. Advanced Sitecore Healthcheck module https://github.com/Mitya88/SitecoreHealthcheck Contributors - Andrei Ardel – Sitecore Developer – Mirum - Attila Horváth – Lead Sitecore Developer - Mirum https://twitter.com/mitya_1988
  • 12.  The Sitecore structure of the module
  • 13. Component Templates Data • Name • Status • Last Check Time • Error Messages • Healthy Message Configuration • Different fields based on the component https://twitter.com/mitya_1988
  • 14. Supported types of component checks  MSSQL Databases  Not for only Sitecore related databases, for external databases  MongoDB is added as a Custom Check  APIs  GET/POST  Request Body  Response Code and Body Verification  Supports Authentication (JWT, Basic, Certificate) https://twitter.com/mitya_1988
  • 15. Supported types of component checks  Windows Services  Check state of the windows service (Solr or XDB related services)  WebJobs  Check state of the WebJob (XDB related or custom webjobs) https://twitter.com/mitya_1988
  • 16. Supported types of component checks  Application Insights  Checks and reads errors/warnings from the configured ApplicationInsight ina given time period  Log Files  Checks and reads errors/warnings from the Sitecore log files in a given period https://twitter.com/mitya_1988
  • 17. Supported types of component checks  XConnectAPI Check  Calls XConnect APIs with client certificate  Keep Alive Check  Calls the keepalive.aspx  Uses WebUtil.GetFullUrl https://twitter.com/mitya_1988
  • 18. Supported types of component checks  EventQueue, PublishQueue, History table record count check  Checks the number of records in these tables in every database  Item Check  Check if the given item exists in the configured db/language https://twitter.com/mitya_1988
  • 19. Supported types of component checks  Licence Check  Checks when the licence will expire  Certificate Check  Checks when the configured certificate will expire https://twitter.com/mitya_1988
  • 20. Supported types of component checks  Search Check  Checks if index contains the configured number of documents  Query can be defined  Disk Space Check  Checks if there is enough space on your web server https://twitter.com/mitya_1988
  • 21. Supported types of component checks  Custom Check (C#)  Implement your own check  Samples included  Custom Check (SPE)  Implement your own check with SPE  Samples included https://twitter.com/mitya_1988
  • 22. Implementing custom check (C#)  Reference the Healthcheck.Service.Customization binary  (It will be published on nuget.org soon)  Create a class, derive it from CustomHealthcheckRun  Override DoHealthcheck method  Create Custom Healthcheck item in Sitecore and configure the fields https://twitter.com/mitya_1988
  • 24.
  • 25.
  • 26. Further improvements  V2.0 – 2020 Oct  Content Delivery Server support  More on-premise supports  More samples https://twitter.com/mitya_1988
  • 27. DEMO  Azure PaaS XP Step by Step setup: https://www.youtube.com/watch?v=J_qk7jT_Y- U https://twitter.com/mitya_1988