mirror of https://github.com/Icinga/icinga2.git
db_ido: Add check_source.
This commit is contained in:
parent
e07183d481
commit
e954e38c5e
|
@ -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"));
|
||||
|
|
|
@ -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"));
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue