Files
sockeye/server/biz/ServerState.cs
2023-01-19 01:53:25 +00:00

14 lines
823 B
C#

namespace Sockeye.Biz
{
public enum ServerState
{
//Any of these changes trigger event log and potentially notification event
Requested = 0, //New server requested, not physically present yet but needs to be created and activated
ActiveHealthy = 1, //running normally no actions required
FailFirstHealthCheck = 2, //first check failed
FailSecondHealthCheck = 3, //second check failed
FailedRequiresAttention = 4, //failed 3 health checks needs someone to physically intervene, triggers notify event
DeActivated = 5, //swtiched off, unavailable but not destroyed, about to be destroyed usually when customer stops paying given grace period
Destroyed = 6// historical, not an active server doesn't need to be tracked or dealt with
}
}//eons