[icinga-checkins] icinga.org: icinga2/master: Bugfix: use short names in servicegroup objects .

git at icinga.org git at icinga.org
Sat Feb 9 01:49:58 CET 2013


Module: icinga2
Branch: master
Commit: 4fcda6699f60db1a0f205c5b8a06243d83f7cd0d
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=4fcda6699f60db1a0f205c5b8a06243d83f7cd0d

Author: Gunnar Beutner <gunnar.beutner at netways.de>
Date:   Sat Feb  9 01:49:45 2013 +0100

Bugfix: use short names in servicegroup objects.

---

 components/compat/compatcomponent.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/components/compat/compatcomponent.cpp b/components/compat/compatcomponent.cpp
index 9a20281..ef73c63 100644
--- a/components/compat/compatcomponent.cpp
+++ b/components/compat/compatcomponent.cpp
@@ -500,7 +500,7 @@ void CompatComponent::StatusTimerHandler(void)
 		vector<String> sglist;
 		BOOST_FOREACH(const Service::Ptr& service, sg->GetMembers()) {
 			sglist.push_back(service->GetHost()->GetName());
-			sglist.push_back(service->GetName());
+			sglist.push_back(service->GetShortName());
 		}
 
 		DumpStringList(objectfp, sglist);





More information about the icinga-checkins mailing list