Virtual machine is scaled based on cpu load
Opened this issue · 0 comments
tbartynski commented
When creating a VM associated optimization strategy decides whether a VM should be registered in monitoring (Zabbix). Strategy can also define events in CEP. By default VM should not be monitored and no CEP subscriptions should be made.
CPU-load-based strategy requires that a VM is monitored and defines a load complex event: for instance VM load is above 5 for 15 minutes. If vm is associated with such a strategy it is registered in monitoring and a CEP subscription is made. Simple events with cpu load of the VM are reported to CEP. If a complex event occurs a JSON message is sent to Redis and Atmosphere worker queries optimization strategy how to handle the event and execute scaling actions.