Improved Uptime stat status feature.

This commit is contained in:
Christian P. MOMON 2021-06-10 04:27:18 +02:00
parent f2f07e6053
commit 47af48f309

View file

@ -81,10 +81,14 @@ public class UptimeStat
{ {
result = UptimeStatus.WARNING; result = UptimeStatus.WARNING;
} }
else else if (this.okCount == 0)
{ {
result = UptimeStatus.ERROR; result = UptimeStatus.ERROR;
} }
else
{
result = UptimeStatus.ALERT;
}
} }
else else
{ {