From 39bd164625506d633f2fa718b4c0977df6b989e9 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Wed, 6 Feb 2013 15:54:13 +0100 Subject: [PATCH] objects.cache: Service definitions should include the display_name property. --- components/compat/compatcomponent.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/components/compat/compatcomponent.cpp b/components/compat/compatcomponent.cpp index 2ded037a3..65354c56a 100644 --- a/components/compat/compatcomponent.cpp +++ b/components/compat/compatcomponent.cpp @@ -375,6 +375,7 @@ void CompatComponent::DumpServiceObject(ofstream& fp, const Service::Ptr& servic fp << "define service {" << "\n" << "\t" << "host_name" << "\t" << service->GetHost()->GetName() << "\n" << "\t" << "service_description" << "\t" << service->GetName() << "\n" + << "\t" << "display_name" << "\t" << service->GetAlias() << "\n" << "\t" << "check_command" << "\t" << "check_i2" << "\n" << "\t" << "check_interval" << "\t" << service->GetCheckInterval() / 60.0 << "\n" << "\t" << "retry_interval" << "\t" << service->GetRetryInterval() / 60.0 << "\n" -- 2.40.0