mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-12 16:24:41 +02:00
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…
x
Reference in New Issue
Block a user