mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-20 10:50:08 +03:00
Feature #2848: Disable individual VM monitor
This commit is contained in:
parent
def0b65794
commit
b20278f4bc
@ -553,9 +553,6 @@ void Nebula::start(bool bootstrap_only)
|
||||
{
|
||||
vector<const Attribute *> vmm_mads;
|
||||
int vm_limit;
|
||||
time_t poll_period;
|
||||
|
||||
poll_period = monitor_period * 2.5;
|
||||
|
||||
nebula_configuration->get("VM_PER_INTERVAL", vm_limit);
|
||||
|
||||
@ -565,7 +562,7 @@ void Nebula::start(bool bootstrap_only)
|
||||
vmpool,
|
||||
hpool,
|
||||
timer_period,
|
||||
poll_period,
|
||||
0,
|
||||
vm_limit,
|
||||
vmm_mads);
|
||||
}
|
||||
|
@ -65,7 +65,6 @@ extern "C" void * vmm_action_loop(void *arg)
|
||||
|
||||
if ( vmm->poll_period == 0 )
|
||||
{
|
||||
NebulaLog::log("VMM",Log::INFO,"VM monitoring is disabled.");
|
||||
vmm->am.loop(0,0);
|
||||
}
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user