mirror of https://github.com/Icinga/icinga2.git
Clean up ExternalCommandProcessor method names.
This commit is contained in:
parent
d07dc47b1b
commit
6f645ecfbf
|
@ -180,8 +180,8 @@ void ExternalCommandProcessor::Initialize(void)
|
|||
RegisterCommand("DISABLE_PERFORMANCE_DATA", &ExternalCommandProcessor::DisablePerformanceData);
|
||||
RegisterCommand("START_EXECUTING_SVC_CHECKS", &ExternalCommandProcessor::StartExecutingSvcChecks);
|
||||
RegisterCommand("STOP_EXECUTING_SVC_CHECKS", &ExternalCommandProcessor::StopExecutingSvcChecks);
|
||||
RegisterCommand("CHANGE_SVC_MODATTR", &ExternalCommandProcessor::ChangeSvcModAttr);
|
||||
RegisterCommand("CHANGE_HOST_MODATTR", &ExternalCommandProcessor::ChangeHostModAttr);
|
||||
RegisterCommand("CHANGE_SVC_MODATTR", &ExternalCommandProcessor::ChangeSvcModattr);
|
||||
RegisterCommand("CHANGE_HOST_MODATTR", &ExternalCommandProcessor::ChangeHostModattr);
|
||||
}
|
||||
|
||||
void ExternalCommandProcessor::RegisterCommand(const String& command, const ExternalCommandProcessor::Callback& callback)
|
||||
|
@ -1818,7 +1818,7 @@ void ExternalCommandProcessor::StopExecutingSvcChecks(double time, const std::ve
|
|||
IcingaApplication::GetInstance()->SetEnableChecks(false);
|
||||
}
|
||||
|
||||
void ExternalCommandProcessor::ChangeSvcModAttr(double time, const std::vector<String>& arguments)
|
||||
void ExternalCommandProcessor::ChangeSvcModattr(double time, const std::vector<String>& arguments)
|
||||
{
|
||||
if (arguments.size() < 3)
|
||||
BOOST_THROW_EXCEPTION(std::invalid_argument("Expected 3 arguments."));
|
||||
|
@ -1839,7 +1839,7 @@ void ExternalCommandProcessor::ChangeSvcModAttr(double time, const std::vector<S
|
|||
}
|
||||
}
|
||||
|
||||
void ExternalCommandProcessor::ChangeHostModAttr(double time, const std::vector<String>& arguments)
|
||||
void ExternalCommandProcessor::ChangeHostModattr(double time, const std::vector<String>& arguments)
|
||||
{
|
||||
if (arguments.size() < 3)
|
||||
BOOST_THROW_EXCEPTION(std::invalid_argument("Expected 3 arguments."));
|
||||
|
|
|
@ -131,8 +131,8 @@ private:
|
|||
static void DisablePerformanceData(double time, const std::vector<String>& arguments);
|
||||
static void StartExecutingSvcChecks(double time, const std::vector<String>& arguments);
|
||||
static void StopExecutingSvcChecks(double time, const std::vector<String>& arguments);
|
||||
static void ChangeSvcModAttr(double time, const std::vector<String>& arguments);
|
||||
static void ChangeHostModAttr(double time, const std::vector<String>& arguments);
|
||||
static void ChangeSvcModattr(double time, const std::vector<String>& arguments);
|
||||
static void ChangeHostModattr(double time, const std::vector<String>& arguments);
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue