The System Health integration provides an API to offer information on the system and its components. It also allows to run diagnostic tools to diagnose problems.
System health is included as part of the default config starting with Home Assistant 0.88. If you do not wish to use the default config, you can add the following to your configuration.yaml file.
System Health integration data can be viewed in Developer Tools on the “Info” tab.