mirror of https://github.com/Icinga/icinga2.git
parent
96e1935fb4
commit
f631304a23
|
@ -465,7 +465,7 @@ Value HostsTable::CheckTypeAccessor(const Value& row)
|
|||
if (!hc)
|
||||
return Value();
|
||||
|
||||
return (hc->GetEnableActiveChecks() ? 1 : 0);
|
||||
return (hc->GetEnableActiveChecks() ? 0 : 1);
|
||||
}
|
||||
|
||||
Value HostsTable::LastStateAccessor(const Value& row)
|
||||
|
|
|
@ -334,7 +334,7 @@ Value ServicesTable::StateTypeAccessor(const Value& row)
|
|||
|
||||
Value ServicesTable::CheckTypeAccessor(const Value& row)
|
||||
{
|
||||
return (static_cast<Service::Ptr>(row)->GetEnableActiveChecks() ? 1 : 0);
|
||||
return (static_cast<Service::Ptr>(row)->GetEnableActiveChecks() ? 0 : 1);
|
||||
}
|
||||
|
||||
Value ServicesTable::AcknowledgedAccessor(const Value& row)
|
||||
|
|
Loading…
Reference in New Issue