new Dashboard
This commit is contained in:
16
Watcher/Models/HealthStatus.cs
Normal file
16
Watcher/Models/HealthStatus.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Watcher.Models
|
||||
{
|
||||
public class HealthStatus
|
||||
{
|
||||
public DateTime Timestamp { get; set; }
|
||||
|
||||
public bool NetworkOk { get; set; }
|
||||
public bool DatabaseOk { get; set; }
|
||||
public List<string> Issues { get; set; } = new List<string>();
|
||||
// Optional weitere Checks
|
||||
public bool ApiOk { get; set; }
|
||||
public bool DiskOk { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user