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

Method ChangeCustomCommandVarInternal

lib/icinga/externalcommandprocessor.cpp:2173–2179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2171}
2172
2173void ExternalCommandProcessor::ChangeCustomCommandVarInternal(const Command::Ptr& command, const String& name, const Value& value)
2174{
2175 Log(LogNotice, "ExternalCommandProcessor")
2176 << "Changing custom var '" << name << "' for command '" << command->GetName() << "' to value '" << value << "'";
2177
2178 command->ModifyAttribute("vars." + name, value);
2179}
2180
2181void ExternalCommandProcessor::EnableHostgroupHostNotifications(double, const std::vector<String>& arguments)
2182{

Callers

nothing calls this directly

Calls 3

LogClass · 0.85
ModifyAttributeMethod · 0.80
GetNameMethod · 0.45

Tested by

no test coverage detected