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

Function stateToString

plugins/thresholds.cpp:270–277  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

268}
269
270std::wstring stateToString(const state& state) {
271 switch (state) {
272 case OK: return L"OK";
273 case WARNING: return L"WARNING";
274 case CRITICAL: return L"CRITICAL";
275 default: return L"UNKNOWN";
276 }
277}

Callers 2

printOutputFunction · 0.85
printOutputFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected