returnnewHealthCheck(GetType(),HealthCheckResult.Error,"All download clients are unavailable due to failures","#download-clients-are-unavailable-due-to-failures");
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.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,"All import lists are unavailable due to failures","#import-lists-are-unavailable-due-to-failures");
returnnewHealthCheck(GetType(),HealthCheckResult.Error,"All import lists are unavailable due to failures","#import_lists_are_unavailable_due_to_failures");
}
returnnewHealthCheck(GetType(),HealthCheckResult.Warning,string.Format("Import lists unavailable due to failures: {0}",string.Join(", ",backOffProviders.Select(v=>v.ImportList.Definition.Name))),"#import-lsits-are-unavailable-due-to-failures");
returnnewHealthCheck(GetType(),HealthCheckResult.Warning,string.Format("Import lists unavailable due to failures: {0}",string.Join(", ",backOffProviders.Select(v=>v.ImportList.Definition.Name))),"#import_lists_are_unavailable_due_to_failures");
returnnewHealthCheck(GetType(),HealthCheckResult.Warning,"Enable Completed Download Handling if possible (Multi-Computer unsupported)","Migrating-to-Completed-Download-Handling#Unsupported-download-client-on-different-computer");
returnnewHealthCheck(GetType(),HealthCheckResult.Warning,"Enable Completed Download Handling if possible (Multi-Computer unsupported)","Migrating_to_Completed_Download_Handling#Unsupported_download_client_on_different_computer");
returnnewHealthCheck(GetType(),HealthCheckResult.Warning,"Enable Completed Download Handling if possible (Sabnzbd)","Migrating-to-Completed-Download-Handling#sabnzbd-enable-completed-download-handling");
returnnewHealthCheck(GetType(),HealthCheckResult.Warning,"Enable Completed Download Handling if possible (Sabnzbd)","Migrating_to_Completed_Download_Handling#sabnzbd_enable_completed_download_handling");
returnnewHealthCheck(GetType(),HealthCheckResult.Warning,"Enable Completed Download Handling if possible (Nzbget)","Migrating-to-Completed-Download-Handling#nzbget-enable-completed-download-handling");
returnnewHealthCheck(GetType(),HealthCheckResult.Warning,"Enable Completed Download Handling if possible (Nzbget)","Migrating_to_Completed_Download_Handling#nzbget_enable_completed_download_handling");
}
returnnewHealthCheck(GetType(),HealthCheckResult.Warning,"Enable Completed Download Handling if possible","Migrating-to-Completed-Download-Handling");
returnnewHealthCheck(GetType(),HealthCheckResult.Warning,"Enable Completed Download Handling if possible","Migrating_to_Completed_Download_Handling");
returnnewHealthCheck(GetType(),HealthCheckResult.Error,"All indexers are unavailable due to failures","#indexers-are-unavailable-due-to-failures");
returnnewHealthCheck(GetType(),HealthCheckResult.Error,"All indexers are unavailable due to failures","#indexers_are_unavailable_due_to_failures");
}
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.Warning,string.Format("Indexers unavailable due to failures: {0}",string.Join(", ",backOffProviders.Select(v=>v.Provider.Definition.Name))),"#indexers_are_unavailable_due_to_failures");
$"Currently installed Mono version {monoVersion} has a bug that causes issues connecting to indexers/download clients. You should upgrade to a higher version",
returnnewHealthCheck(GetType(),HealthCheckResult.Error,"Mount containing a series path is mounted read-only: "+string.Join(",",mounts.Select(m=>m.Name)),"#series-mount-ro");
returnnewHealthCheck(GetType(),HealthCheckResult.Error,"Mount containing a series path is mounted read-only: "+string.Join(",",mounts.Select(m=>m.Name)),"#series_mount_ro");