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

Method CurrentNotificationNumberAccessor

lib/livestatus/hoststable.cpp:594–602  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

592}
593
594Value HostsTable::CurrentNotificationNumberAccessor(const Value& row)
595{
596 Host::Ptr host = static_cast<Host::Ptr>(row);
597
598 if (!host)
599 return Empty;
600
601 return CompatUtility::GetCheckableNotificationNotificationNumber(host);
602}
603
604Value HostsTable::TotalServicesAccessor(const Value& row)
605{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected