VMware Cloud Community
jceloria
Contributor
Contributor

Exposed web service?

I was wondering if it would be possible to write a command line application/script to grab the inventory information from the Hyperic server using a web service/perl or something comparable?
0 Kudos
2 Replies
dougm_hyperic
VMware Employee
VMware Employee

You can get the inventory info in XML format using the CLI:

login hqadmin:hqadmin@localhost
resource export hq_inventory.xml
quit

You can also pipe the commands rather using the shell interactive mode:

./hq-shell.sh<resource_export.txt

At some point in the future we'll expose our APIs via web services,
but in the meantime this should get you all the inventory info.

On Jan 11, 2007, at 8:39 AM, John Celoria wrote:

> I was wondering if it would be possible to write a command line
> application/script to grab the inventory information from the
> Hyperic server using a web service/perl or something comparable?
>



0 Kudos
jceloria
Contributor
Contributor

Is there a way to extract total memory and disk from the CLI?
0 Kudos