Improved Uptime stat status feature.
This commit is contained in:
parent
f2f07e6053
commit
47af48f309
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue