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

Method LastCheckAccessor

lib/livestatus/hoststable.cpp:685–693  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

683}
684
685Value HostsTable::LastCheckAccessor(const Value& row)
686{
687 Host::Ptr host = static_cast<Host::Ptr>(row);
688
689 if (!host)
690 return Empty;
691
692 return static_cast<int>(host->GetLastCheck());
693}
694
695Value HostsTable::LastStateChangeAccessor(const Value& row)
696{

Callers

nothing calls this directly

Calls 1

GetLastCheckMethod · 0.80

Tested by

no test coverage detected