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

Method GetLastHardState

lib/icinga/host.cpp:162–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160}
161
162HostState Host::GetLastHardState() const
163{
164 return CalculateState(GetLastHardStateRaw());
165}
166
167/* keep in sync with Service::GetSeverity()
168 * One could think it may be smart to use an enum and some bitmask math here.

Callers 13

CheckResultHandlerMethod · 0.80
StateChangeHandlerMethod · 0.80
CheckResultHandlerMethod · 0.80
StateChangeHandlerMethod · 0.80
SendStateChangeMethod · 0.80
SerializeStateMethod · 0.80
GetStatusFieldsMethod · 0.80
GetStatusFieldsMethod · 0.80
AddStateChangeHistoryMethod · 0.80
LastHardStateAccessorMethod · 0.80
HardStateAccessorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected