mirror of https://github.com/Icinga/icinga2.git
parent
2ac0c024cd
commit
e975c55fbd
|
@ -47,7 +47,7 @@ void HostGroupsTable::AddColumns(Table *table, const String& prefix,
|
|||
table->AddColumn(prefix + "num_hosts_down", Column(&HostGroupsTable::NumHostsDownAccessor, objectAccessor));
|
||||
table->AddColumn(prefix + "num_hosts_unreach", Column(&HostGroupsTable::NumHostsUnreachAccessor, objectAccessor));
|
||||
table->AddColumn(prefix + "num_services", Column(&HostGroupsTable::NumServicesAccessor, objectAccessor));
|
||||
table->AddColumn(prefix + "worst_services_state", Column(&HostGroupsTable::WorstServicesStateAccessor, objectAccessor));
|
||||
table->AddColumn(prefix + "worst_service_state", Column(&HostGroupsTable::WorstServiceStateAccessor, objectAccessor));
|
||||
table->AddColumn(prefix + "num_services_pending", Column(&HostGroupsTable::NumServicesPendingAccessor, objectAccessor));
|
||||
table->AddColumn(prefix + "num_services_ok", Column(&HostGroupsTable::NumServicesOkAccessor, objectAccessor));
|
||||
table->AddColumn(prefix + "num_services_warn", Column(&HostGroupsTable::NumServicesWarnAccessor, objectAccessor));
|
||||
|
@ -278,7 +278,7 @@ Value HostGroupsTable::NumServicesAccessor(const Value& row)
|
|||
return num_services;
|
||||
}
|
||||
|
||||
Value HostGroupsTable::WorstServicesStateAccessor(const Value& row)
|
||||
Value HostGroupsTable::WorstServiceStateAccessor(const Value& row)
|
||||
{
|
||||
HostGroup::Ptr hg = static_cast<HostGroup::Ptr>(row);
|
||||
|
||||
|
|
|
@ -60,7 +60,7 @@ protected:
|
|||
static Value NumHostsDownAccessor(const Value& row);
|
||||
static Value NumHostsUnreachAccessor(const Value& row);
|
||||
static Value NumServicesAccessor(const Value& row);
|
||||
static Value WorstServicesStateAccessor(const Value& row);
|
||||
static Value WorstServiceStateAccessor(const Value& row);
|
||||
static Value NumServicesPendingAccessor(const Value& row);
|
||||
static Value NumServicesOkAccessor(const Value& row);
|
||||
static Value NumServicesWarnAccessor(const Value& row);
|
||||
|
|
Loading…
Reference in New Issue