MCPcopy Create free account
hub / github.com/Icinga/icinga2 / GetConfigFields

Method GetConfigFields

lib/db_ido/hostgroupdbobject.cpp:19–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17{ }
18
19Dictionary::Ptr HostGroupDbObject::GetConfigFields() const
20{
21 HostGroup::Ptr group = static_pointer_cast<HostGroup>(GetObject());
22
23 return new Dictionary({
24 { "alias", group->GetDisplayName() },
25 { "notes", group->GetNotes() },
26 { "notes_url", group->GetNotesUrl() },
27 { "action_url", group->GetActionUrl() }
28 });
29}
30
31Dictionary::Ptr HostGroupDbObject::GetStatusFields() const
32{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected