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

Method ExecuteCommandHelper

lib/livestatus/livestatusquery.cpp:574–586  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

572}
573
574void LivestatusQuery::ExecuteCommandHelper(const WaitGroup::Ptr& producer, const Stream::Ptr& stream)
575{
576 {
577 std::unique_lock<std::mutex> lock(l_QueryMutex);
578
579 l_ExternalCommands++;
580 }
581
582 Log(LogNotice, "LivestatusQuery")
583 << "Executing command: " << m_Command;
584 ExternalCommandProcessor::Execute(producer, m_Command);
585 SendResponse(stream, LivestatusErrorOK, "");
586}
587
588void LivestatusQuery::ExecuteErrorHelper(const Stream::Ptr& stream)
589{

Callers

nothing calls this directly

Calls 1

LogClass · 0.85

Tested by

no test coverage detected