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

Method DisableFlapDetection

lib/icinga/externalcommandprocessor.cpp:1776–1781  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1774}
1775
1776void ExternalCommandProcessor::DisableFlapDetection(double, const std::vector<String>&)
1777{
1778 Log(LogNotice, "ExternalCommandProcessor", "Globally disabling flap detection.");
1779
1780 IcingaApplication::GetInstance()->ModifyAttribute("enable_flapping", false);
1781}
1782
1783void ExternalCommandProcessor::EnableEventHandlers(double, const std::vector<String>&)
1784{

Callers

nothing calls this directly

Calls 2

LogClass · 0.85
ModifyAttributeMethod · 0.80

Tested by

no test coverage detected