Bugfix: Use service name in status.dat (rather than alias).

This commit is contained in:
Gunnar Beutner 2013-01-31 09:51:37 +01:00
parent e967d931fd
commit b9d02b0482
1 changed files with 1 additions and 1 deletions

View File

@ -377,7 +377,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->GetAlias() << "\n"
<< "\t" << "service_description" << "\t" << service->GetName() << "\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"