mirror of https://github.com/Icinga/icinga2.git
parent
53c1434700
commit
ddf83f33d2
|
@ -285,6 +285,9 @@ void Service::ProcessCheckResult(const CheckResult::Ptr& cr, const String& autho
|
||||||
recovery = false;
|
recovery = false;
|
||||||
|
|
||||||
switch (cr->GetState()) {
|
switch (cr->GetState()) {
|
||||||
|
case StateOK:
|
||||||
|
/* Nothing to do here. */
|
||||||
|
break;
|
||||||
case StateWarning:
|
case StateWarning:
|
||||||
SetLastStateWarning(Utility::GetTime());
|
SetLastStateWarning(Utility::GetTime());
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue