db_ido: Add check_source.

This commit is contained in:
Michael Friedrich 2013-09-26 22:43:21 +02:00
parent e07183d481
commit e954e38c5e
3 changed files with 3 additions and 1 deletions

View File

@ -138,6 +138,7 @@ Dictionary::Ptr HostDbObject::GetStatusFields(void) const
fields->Set("output", attrs->Get("plugin_output"));
fields->Set("long_output", attrs->Get("long_plugin_output"));
fields->Set("perfdata", attrs->Get("performance_data"));
fields->Set("check_source", attrs->Get("check_source"));
fields->Set("current_state", attrs->Get("current_state"));
fields->Set("has_been_checked", attrs->Get("has_been_checked"));
fields->Set("should_be_scheduled", attrs->Get("should_be_scheduled"));

View File

@ -149,6 +149,7 @@ Dictionary::Ptr ServiceDbObject::GetStatusFields(void) const
fields->Set("output", attrs->Get("plugin_output"));
fields->Set("long_output", attrs->Get("long_plugin_output"));
fields->Set("perfdata", attrs->Get("performance_data"));
fields->Set("check_source", attrs->Get("check_source"));
fields->Set("current_state", attrs->Get("current_state"));
fields->Set("has_been_checked", attrs->Get("has_been_checked"));
fields->Set("should_be_scheduled", attrs->Get("should_be_scheduled"));

View File

@ -336,7 +336,7 @@ void Service::SetCheckResultAuthority(const String& authority)
String Service::GetCheckResultAuthority(void) const
{
if (m_CheckResultAuthority.IsEmpty())
return "(local)";
return "(i2 local)";
else
return m_CheckResultAuthority;
}