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

Method GetConfigFields

lib/db_ido/endpointdbobject.cpp:31–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29{ }
30
31Dictionary::Ptr EndpointDbObject::GetConfigFields() const
32{
33 Endpoint::Ptr endpoint = static_pointer_cast<Endpoint>(GetObject());
34
35 return new Dictionary({
36 { "identity", endpoint->GetName() },
37 { "node", IcingaApplication::GetInstance()->GetNodeName() },
38 { "zone_object_id", endpoint->GetZone() }
39 });
40}
41
42Dictionary::Ptr EndpointDbObject::GetStatusFields() const
43{

Callers

nothing calls this directly

Calls 3

GetNodeNameMethod · 0.80
GetNameMethod · 0.45
GetZoneMethod · 0.45

Tested by

no test coverage detected