[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-API] How to get Xen API performance metric names?



On 14/11/12 17:05, giri vara prasad nambari wrote:
>     Hi Community,
>      
>     I have posted this question on *citrix* forums and they re-directed
>     me to xen.org <http://xen.org>. Could someone please help me with
>     following question?
>      
>     I have looked at following url to retrieve XenServer performance
>     metrics using HTTP
> 
>     http://community.citrix.com/display/xs/Using+XenServer+RRDs
> 
>     I am able to see valid entries in browser when I type in url.
> 
>     The question I have here is
> 
>     In XenClient I am seeing Network names as something like "Bond 0+1
>     Recieve" and "Bond 0+1 Send" etc.,
>     But in XML response they are showing as vif_0_tx and vif_0_tx. How
>     can I get above names (like Bond 0+1) instead of vif_0_tx?
>      
>     Could someone please point me on how could I get "Bond 0+1" as name
>     instead of vif_0_tx?

"Bond 0+1" is the name-label of the network that the VIF is connected
to. From the data source name vif_0_tx, you can tell that this is the
VIF on the VM with device 0. So you can do 'xe vif-list vm-uuid=<blah>
device=0 params=network-name-label --minimal', which will then give you
"Bond 0+1".

If you're using the XenAPI directly, you'll have to do a little more
work than the above xe command, but that should get you started.

Mike

>     Any help would be appreciated.
>      
>     Thanks for your time and help.
>      
>     Thank you,
>     Giri
> 
> 


_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.