returnnewHealthCheck(GetType(),HealthCheckResult.Error,"All download clients are unavailable due to failures","#download-clients-are-unavailable-due-to-failures");
returnnewHealthCheck(GetType(),HealthCheckResult.Warning,string.Format("Download clients unavailable due to failures: {0}",string.Join(", ",backOffProviders.Select(v=>v.Provider.Definition.Name))),"#download-clients-are-unavailable-due-to-failures");
returnnewHealthCheck(GetType(),HealthCheckResult.Error,"No indexers available with RSS sync enabled, Radarr will not grab new releases automatically");
returnnewHealthCheck(GetType(),HealthCheckResult.Warning,"No indexers available with Automatic Search enabled, Radarr will not provide any automatic search results");
returnnewHealthCheck(GetType(),HealthCheckResult.Warning,"No indexers available with Interactive Search enabled, Radarr will not provide any interactive search results");
returnnewHealthCheck(GetType(),HealthCheckResult.Warning,string.Format("Indexers unavailable due to failures: {0}",string.Join(", ",backOffProviders.Select(v=>v.Provider.Definition.Name))),"#indexers-are-unavailable-due-to-failures");
returnnewHealthCheck(GetType(),HealthCheckResult.Error,"Mount containing a movie path is mounted read-only: "+string.Join(",",mounts.Select(m=>m.Name)),"#movie-mount-ro");
returnnewHealthCheck(GetType(),HealthCheckResult.Warning,string.Format("Lists unavailable due to failures: {0}",string.Join(", ",backOffProviders.Select(v=>v.Provider.Definition.Name))),"#lists-are-unavailable-due-to-failures");
returnnewHealthCheck(GetType(),HealthCheckResult.Warning,$"The following PassThePopcorn indexers have deprecated settings and should be updated: {string.Join(",", ptpIndexerOldSettings)}");
returnnewHealthCheck(GetType(),HealthCheckResult.Error,string.Format("Failed to resolve the IP Address for the Configured Proxy Host {0}",_configService.ProxyHostname));
returnnewHealthCheck(GetType(),HealthCheckResult.Error,string.Format("Branch {0} is for a previous version of Radarr, set branch to 'Aphrodite' for further updates",_configFileService.Branch),"#branch-is-for-a-previous-version");
returnnewHealthCheck(GetType(),HealthCheckResult.Warning,string.Format("Branch {0} is not a valid Radarr release branch, you will not receive updates",_configFileService.Branch),"#branch-is-not-a-valid-release-branch");