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

Method EnableFlapDetection

lib/icinga/externalcommandprocessor.cpp:1769–1774  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1767}
1768
1769void ExternalCommandProcessor::EnableFlapDetection(double, const std::vector<String>&)
1770{
1771 Log(LogNotice, "ExternalCommandProcessor", "Globally enabling flap detection.");
1772
1773 IcingaApplication::GetInstance()->ModifyAttribute("enable_flapping", true);
1774}
1775
1776void ExternalCommandProcessor::DisableFlapDetection(double, const std::vector<String>&)
1777{

Callers

nothing calls this directly

Calls 2

LogClass · 0.85
ModifyAttributeMethod · 0.80

Tested by

no test coverage detected