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

Method EnableNotifications

lib/icinga/externalcommandprocessor.cpp:1755–1760  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1753}
1754
1755void ExternalCommandProcessor::EnableNotifications(double, const std::vector<String>&)
1756{
1757 Log(LogNotice, "ExternalCommandProcessor", "Globally enabling notifications.");
1758
1759 IcingaApplication::GetInstance()->ModifyAttribute("enable_notifications", true);
1760}
1761
1762void ExternalCommandProcessor::DisableNotifications(double, const std::vector<String>&)
1763{

Callers

nothing calls this directly

Calls 2

LogClass · 0.85
ModifyAttributeMethod · 0.80

Tested by

no test coverage detected