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

Method DisableEventHandlers

lib/icinga/externalcommandprocessor.cpp:1790–1795  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1788}
1789
1790void ExternalCommandProcessor::DisableEventHandlers(double, const std::vector<String>&)
1791{
1792 Log(LogNotice, "ExternalCommandProcessor", "Globally disabling event handlers.");
1793
1794 IcingaApplication::GetInstance()->ModifyAttribute("enable_event_handlers", false);
1795}
1796
1797void ExternalCommandProcessor::EnablePerformanceData(double, const std::vector<String>&)
1798{

Callers

nothing calls this directly

Calls 2

LogClass · 0.85
ModifyAttributeMethod · 0.80

Tested by

no test coverage detected