MCPcopy Create free account
hub / github.com/Icinga/icinga2 / GetProblem

Method GetProblem

lib/icinga/checkable.cpp:240–245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238}
239
240bool Checkable::GetProblem() const
241{
242 auto cr (GetLastCheckResult());
243
244 return cr && !IsStateOK(cr->GetState());
245}
246
247bool Checkable::GetHandled() const
248{

Callers 6

SerializeStateMethod · 0.80
GetHandledMethod · 0.80
ProcessCheckResultMethod · 0.80
CalculateServiceStatsMethod · 0.80
CalculateHostStatsMethod · 0.80

Calls 1

GetStateMethod · 0.45

Tested by

no test coverage detected