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

Method ExternalCommandHandler

lib/compat/compatlogger.cpp:390–403  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

388}
389
390void CompatLogger::ExternalCommandHandler(const String& command, const std::vector<String>& arguments)
391{
392 std::ostringstream msgbuf;
393 msgbuf << "EXTERNAL COMMAND: "
394 << command << ";"
395 << boost::algorithm::join(arguments, ";")
396 << "";
397
398 {
399 ObjectLock oLock(this);
400 WriteLine(msgbuf.str());
401 Flush();
402 }
403}
404
405void CompatLogger::EventCommandHandler(const Checkable::Ptr& checkable)
406{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected