CloudOpting / cloudopting-manager

The cloudopting core manager
MIT License
10 stars 7 forks source link

Add status on VM for monitoring and instance feedback #264

Closed gioppoluca closed 8 years ago

gioppoluca commented 8 years ago

We need to return a status that inform if the VM is up or down. This is also linked to the "start" and "stop" buttons that needs to work accordingly (if the status is active the start button is disabled if inactive will be disabled the stop) We need to manage these states: active inactive The data comes from zabbix that has the monitoring info on the instance If the instance is not deployed the button will be grey @xeviscc start thinking about the UI changes

gioppoluca commented 8 years ago

Possible values are: 0 - (default) unknown; 1 - available; 2 - unavailable.

gioppoluca commented 8 years ago

we will measure the availability of the zabbix agent, that is not the same thing but that is the only method we have since that is the measurement tool we use so we imply that if the agent is down the server "could" be down or have problems

gioppoluca commented 8 years ago

the API will return a boolean

gioppoluca commented 8 years ago

Done API is monitoring/status/{instanceid} give you a boolean