mirror of https://github.com/Icinga/icinga2.git
Bugfix: use short names in servicegroup objects.
This commit is contained in:
parent
3a3d031835
commit
4fcda6699f
|
@ -500,7 +500,7 @@ void CompatComponent::StatusTimerHandler(void)
|
||||||
vector<String> sglist;
|
vector<String> sglist;
|
||||||
BOOST_FOREACH(const Service::Ptr& service, sg->GetMembers()) {
|
BOOST_FOREACH(const Service::Ptr& service, sg->GetMembers()) {
|
||||||
sglist.push_back(service->GetHost()->GetName());
|
sglist.push_back(service->GetHost()->GetName());
|
||||||
sglist.push_back(service->GetName());
|
sglist.push_back(service->GetShortName());
|
||||||
}
|
}
|
||||||
|
|
||||||
DumpStringList(objectfp, sglist);
|
DumpStringList(objectfp, sglist);
|
||||||
|
|
Loading…
Reference in New Issue