mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-30 17:14:25 +02:00
parent
96e1935fb4
commit
f631304a23
@ -465,7 +465,7 @@ Value HostsTable::CheckTypeAccessor(const Value& row)
|
|||||||
if (!hc)
|
if (!hc)
|
||||||
return Value();
|
return Value();
|
||||||
|
|
||||||
return (hc->GetEnableActiveChecks() ? 1 : 0);
|
return (hc->GetEnableActiveChecks() ? 0 : 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
Value HostsTable::LastStateAccessor(const Value& row)
|
Value HostsTable::LastStateAccessor(const Value& row)
|
||||||
|
@ -334,7 +334,7 @@ Value ServicesTable::StateTypeAccessor(const Value& row)
|
|||||||
|
|
||||||
Value ServicesTable::CheckTypeAccessor(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)
|
Value ServicesTable::AcknowledgedAccessor(const Value& row)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user