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

Method EventHandlerEnabledAccessor

lib/livestatus/hoststable.cpp:483–491  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

481}
482
483Value HostsTable::EventHandlerEnabledAccessor(const Value& row)
484{
485 Host::Ptr host = static_cast<Host::Ptr>(row);
486
487 if (!host)
488 return Empty;
489
490 return Convert::ToLong(host->GetEnableEventHandler());
491}
492
493Value HostsTable::AcknowledgementTypeAccessor(const Value& row)
494{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected