Skip to content

Dr House is a library that provides a set of application Health Checkers such as database connection and permissions, remote services connectivity and Windows directory permissions.

License

Notifications You must be signed in to change notification settings

mdalepiane/DrHouse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dr House

The objective of Dr House is to provide a set of application Health Checkers.

It can be used within a health check endpoint to perform all verifications needed in order to determine whether the application is healthy or not.

Health Checkers

Current implementation includes the following Health Checkers:

  • Directory - checks the exitence of a directory and the specified user permissions to it (i.e. R/W)
  • SqlServer - checks the connection with SQL Server database and the specified permissions
  • Telnet - checks the connectivity with a server

Throubleshooting dependencies

The library is designed to handle all exceptions internally and always return a HealthData object indicating either success or failure of the dependencies. This might make it difficult to figure out what is the dependency problem.

To help throubleshooting dependency errors it is recommended to include an event handler for the event OnDependencyException. This will be invoked whenever an exception is thrown while checking dependencies and contains the exception, so it may be logged and help during throubleshooting.

About

Dr House is a library that provides a set of application Health Checkers such as database connection and permissions, remote services connectivity and Windows directory permissions.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages