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

Method EnablePerformanceData

lib/icinga/externalcommandprocessor.cpp:1797–1802  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1795}
1796
1797void ExternalCommandProcessor::EnablePerformanceData(double, const std::vector<String>&)
1798{
1799 Log(LogNotice, "ExternalCommandProcessor", "Globally enabling performance data processing.");
1800
1801 IcingaApplication::GetInstance()->ModifyAttribute("enable_perfdata", true);
1802}
1803
1804void ExternalCommandProcessor::DisablePerformanceData(double, const std::vector<String>&)
1805{

Callers

nothing calls this directly

Calls 2

LogClass · 0.85
ModifyAttributeMethod · 0.80

Tested by

no test coverage detected