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

Method EnableEventHandlers

lib/icinga/externalcommandprocessor.cpp:1783–1788  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1781}
1782
1783void ExternalCommandProcessor::EnableEventHandlers(double, const std::vector<String>&)
1784{
1785 Log(LogNotice, "ExternalCommandProcessor", "Globally enabling event handlers.");
1786
1787 IcingaApplication::GetInstance()->ModifyAttribute("enable_event_handlers", true);
1788}
1789
1790void ExternalCommandProcessor::DisableEventHandlers(double, const std::vector<String>&)
1791{

Callers

nothing calls this directly

Calls 2

LogClass · 0.85
ModifyAttributeMethod · 0.80

Tested by

no test coverage detected