Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Icinga/icinga2
/ IsStateOK
Method
IsStateOK
lib/icinga/host.cpp:198–201 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
196
}
197
198
bool Host::IsStateOK(ServiceState state) const
199
{
200
return Host::CalculateState(state) == HostUp;
201
}
202
203
void Host::SaveLastState(ServiceState state, double timestamp)
204
{
Callers
2
Start
Method · 0.45
IsRecoveryOrFlappingEndAndCheckableIsOK
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected