there are API calls to capture vCPU, vMem resource allocations. Utilization (ie: percentage of CPU used) is best gathered through the hypervisors API (ie: use the vsphere API for vmware to query vmware VMs).
On Thu, Aug 15, 2013 at 8:02 AM, Daan Hoogland <daan.hoogl...@gmail.com>wrote: > The ui uses the api which calls the management server, which delegates > functions to complete the api call to agents (for instance to query > hypervisors). To add monitoring functions you'd have to extend both > the api and the hypervisor drivers. > > Have a look at http://cloudstack.apache.org/docs/api/index.html to see > if you can do what you want yet. > > > On Thu, Aug 15, 2013 at 11:58 AM, Jerry Jiang <jerry.ji...@sjcloud.cn> > wrote: > > Would like to know if CS provide any API to capture this data via drivers > > for each hypervisor? > > > > The monitor portal connects CS. CS connects hypervisors > > > > Not sure if monitor portal connects hypervisor directly. > > > > Do I have to ensure monitor portal to connect hypervisors? > > > > Thanks > > Jerry > > > > -----邮件原件----- > > 发件人: Kirk Kosinski [mailto:kirkkosin...@gmail.com] > > 发送时间: 2013年8月15日 星期四 17:46 > > 收件人: users@cloudstack.apache.org > > 抄送: Jerry Jiang > > 主题: Re: Monitoring feature for CS > > > > For this you can check if the hypervisor vendor has any recommendations. > > vSphere for example has some monitoring and alerting functionality > > built-in. > > > > Best regards, > > Kirk > > > > On 08/15/2013 02:25 AM, Jerry Jiang wrote: > >> Thanks, Daan > >> > >> What you are providing is monitoring the CS itself. > >> > >> What I want is capturing the computing note's cpu(%), memory and vm's > >> cpu, and memory > >> > >> Jerry > >> > >> > >> -----邮件原件----- > >> 发件人: Daan Hoogland [mailto:daan.hoogl...@gmail.com] > >> 发送时间: 2013年8月15日 星期四 15:41 > >> 收件人: users@cloudstack.apache.org > >> 主题: Re: Monitoring feature for CS > >> > >> Do you want jconsole like functionality? java statsweb CS monitors its > >> availible resources which should be correct. > >> Next is monitorring availibility of all processes (and system vm's). > >> You would want to do this outside the system itself. for instance > nagios? > >> > >> Is this answerring the question you were asking? > >> > >> regards, > >> Daan > >> > >> On Thu, Aug 15, 2013 at 6:56 AM, Jerry Jiang <jerry.ji...@sjcloud.cn> > > wrote: > >>> Hi all, > >>> > >>> Do you have any solution to implement monitoring feature for CS? > >>> > >>> Jerry Jiang > >>> > >>> > >> > > >