File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -135,16 +135,13 @@ void CheckerComponent::CheckThreadProc()
135135
136136 bool forced = checkable->GetForceNextCheck ();
137137 bool check = true ;
138- bool notifyNextCheck = false ;
139138 double nextCheck = -1 ;
140139
141140 if (!forced) {
142141 if (!checkable->IsReachable (DependencyCheckExecution)) {
143142 Log (LogNotice, " CheckerComponent" )
144143 << " Skipping check for object '" << checkable->GetName () << " ': Dependency failed." ;
145-
146144 check = false ;
147- notifyNextCheck = true ;
148145 }
149146
150147 Host::Ptr host;
@@ -181,7 +178,6 @@ void CheckerComponent::CheckThreadProc()
181178 << Utility::FormatDateTime (" %Y-%m-%d %H:%M:%S %z" , nextCheck);
182179
183180 check = false ;
184- notifyNextCheck = true ;
185181 }
186182 }
187183 }
@@ -200,11 +196,6 @@ void CheckerComponent::CheckThreadProc()
200196 checkable->UpdateNextCheck ();
201197 }
202198
203- if (notifyNextCheck) {
204- // Trigger update event for Icinga DB
205- Checkable::OnNextCheckUpdated (checkable);
206- }
207-
208199 lock.lock ();
209200
210201 continue ;
You can’t perform that action at this time.
0 commit comments