You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by cs user <ac...@gmail.com> on 2015/05/19 13:17:37 UTC
Systemvm agent state - via api
Hi All,
Looking at this page:
https://cloudstack.apache.org/api/apidocs-4.4/root_admin/listSystemVms.html
There doesn't seem to be a way to return the "Agent State", which you can
see when logging into the cloudstack webui, and browsing to the systemvm
view.
Is there a way to query the systemvm agent status via the api?
Cheers!
RE: Systemvm agent state - via api
Posted by Glenn Wagner <gl...@shapeblue.com>.
Hi,
You can also use the cloudmonkey commands for the systemvm's to get the state of the System VM.
Thanks
Glenn Wagner
Senior Consultant, South Africa
Phone: +27 21 527 0091 | Mobile: +27 73 917 4111
glenn.wagner@shapeblue.com | www.shapeblue.com | Twitter:@shapeBlue
ShapeBlue SA (Pty) Ltd, 2nd Floor, Oudehuis Centre, 122 Main Rd, Somerset West, Cape Town 7130
-----Original Message-----
From: cs user [mailto:acldstkusr@gmail.com]
Sent: 19 May 2015 01:38 PM
To: users@cloudstack.apache.org
Subject: Re: Systemvm agent state - via api
Hi Erik,
Thanks for this, I did check by using developer tools, I just assumed listHosts would only be returning host data.
I can see it also includes the systemvm info :-)
Thanks again.
On Tue, May 19, 2015 at 12:26 PM, Erik Weber <te...@gmail.com> wrote:
> On Tue, May 19, 2015 at 1:17 PM, cs user <ac...@gmail.com> wrote:
>
> > Hi All,
> >
> > Looking at this page:
> >
> >
> https://cloudstack.apache.org/api/apidocs-4.4/root_admin/listSystemVms
> .html
> >
> > There doesn't seem to be a way to return the "Agent State", which
> > you can see when logging into the cloudstack webui, and browsing to
> > the systemvm view.
> >
> > Is there a way to query the systemvm agent status via the api?
> >
> >
> Hi,
>
> Agent state is part of the listHost api call.
>
>
> The webui is API based, so anything you can do in the webui you can do
> with the API.
> A tip is to look with developer tools or similar in your browser what
> calls are being made if you are unsure.
>
> --
> Erik
>
Find out more about ShapeBlue and our range of CloudStack related services
IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//>
CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
CloudStack Software Engineering<http://shapeblue.com/cloudstack-software-engineering/>
CloudStack Infrastructure Support<http://shapeblue.com/cloudstack-infrastructure-support/>
CloudStack Bootcamp Training Courses<http://shapeblue.com/cloudstack-training/>
This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by The Republic of South Africa and is traded under license from Shape Blue Ltd. ShapeBlue is a registered trademark.
Re: Systemvm agent state - via api
Posted by cs user <ac...@gmail.com>.
Hi Erik,
Thanks for this, I did check by using developer tools, I just assumed
listHosts would only be returning host data.
I can see it also includes the systemvm info :-)
Thanks again.
On Tue, May 19, 2015 at 12:26 PM, Erik Weber <te...@gmail.com> wrote:
> On Tue, May 19, 2015 at 1:17 PM, cs user <ac...@gmail.com> wrote:
>
> > Hi All,
> >
> > Looking at this page:
> >
> >
> https://cloudstack.apache.org/api/apidocs-4.4/root_admin/listSystemVms.html
> >
> > There doesn't seem to be a way to return the "Agent State", which you can
> > see when logging into the cloudstack webui, and browsing to the systemvm
> > view.
> >
> > Is there a way to query the systemvm agent status via the api?
> >
> >
> Hi,
>
> Agent state is part of the listHost api call.
>
>
> The webui is API based, so anything you can do in the webui you can do with
> the API.
> A tip is to look with developer tools or similar in your browser what calls
> are being made if you are unsure.
>
> --
> Erik
>
Re: Systemvm agent state - via api
Posted by Erik Weber <te...@gmail.com>.
On Tue, May 19, 2015 at 1:17 PM, cs user <ac...@gmail.com> wrote:
> Hi All,
>
> Looking at this page:
>
> https://cloudstack.apache.org/api/apidocs-4.4/root_admin/listSystemVms.html
>
> There doesn't seem to be a way to return the "Agent State", which you can
> see when logging into the cloudstack webui, and browsing to the systemvm
> view.
>
> Is there a way to query the systemvm agent status via the api?
>
>
Hi,
Agent state is part of the listHost api call.
The webui is API based, so anything you can do in the webui you can do with
the API.
A tip is to look with developer tools or similar in your browser what calls
are being made if you are unsure.
--
Erik