Quantcast
Channel: VMware Communities : All Content - vSphere Management SDK
Browsing all 1860 articles
Browse latest View live

Unable to query overallCpuUsage Counter (SDK Web Service) ?

Hi Folks,I am working on a Monitor solution and came across a issue I'm struggling to resolve. Initially, the idea was to use Cacti to monitor ESX using SNMP. That SNMP part idea soon disappeared when...

View Article


Datastore IOPs

Hi guys If i wanted to use the webservice to query Datastore IOP's, what counter should i be targeting? Sorry i should also mention that im trying to do this within perl sdk Thanks Vic

View Article


Getting ServerFaultCode exception when trying to get refrance to a VM

Hi. I am using PHP 5 and its builtin SoapClient to connect to vCenter 5.5 web service. Login and log out functions are working but when call any FindBy methods I get the following exception: SoapFault...

View Article

How to find the disk type IDE or SCSI using Vsphere API ?

Hi i am using vsphere java api [VMware-vSphere-SDK-5.1.0-774886] i am implementing support for creating VM and attaching disk to VM while restore in esxi server 4.1,5.0,5.1 but i am not able to find...

View Article

A few problems with API

Hello. I have a problem with getting reference to datastore and host. I could not find any method in SDK reference to find a datastore. How do I get a reference to a datastore? Also non of FineBy*...

View Article


C# Using Single SignOn (SSPI) for Virtual Center 2.5.0.119598

I am trying to use passthru authentication using SSPI to work in my c# application. Here is a snippet of the code I am trying to get to work. returns a reference for VMware.Vim.SessionManager...

View Article

Enabling Trace logging for SFCB service

Hi, I am looking for a method to enable trace logging for SFCB service.I need to trace the input parameters being passed from SFCB to my CIM Provider. I have referred SBLIM site and added traceFile...

View Article

VimClient.FindViewEntities Returning null after some amount of time

Hi All, I am hosting a C# webservice in IIS that makes calls against our vsphere instance to perform certain functions.  One basic call is to get a list of all VMs.  Every so often, the webservice will...

View Article


Custom Events using VIJAVA

I am creating one custom event using VIJAVA APIs.While posting that event, I want to change the source of that event or the message of that event.  I can change the message using following code but web...

View Article


Defining Custom Events in vCenter for a plugin

Hi,I've already asked about this, but I guess my question got lost or was too complicated - so I'll try again.We have a WebClient plugin, which is installed and registered on the vCenter, and we want...

View Article

vSphere API for VM's Virtual Disk Read & Write Rate for Historical Data

Folks, I have a quick question on VM Disk Performance metric. I need to know the last "x" days (for an example 7 days) of Virtual Disk's Read Rate and Write Rate and need to figure out the Max of each...

View Article

Posting Alarm based on custom event

Hi All,   I am creating one custom event based on which I am trying to raise a VCenter alarm on web client.Sometimes I am able to see the alarm but sometimes It is giving error as -...

View Article

How to retrieve all the volumes/luns connected over FibreChannelHba ?

I have storage device connected via FiberChanel.I want to list all the available luns/Volumes available in it. how to navigate over fiberchanelHba to get all volumes?

View Article


Using c# .net how to update hostsystem configuration detail ?

I am trying to update /change configutaions detaills of host object using c#.net. Can anyone help out for this? Gettting host object by VimClient vimClient = new...

View Article

retrievepropertiesex and continueretrievepropertiesex throw xml exception in...

I recently updated some code to use the web sdk for vsphere 5.5.  I also updated the code to use retrievepropertiesex with continuepropertiesex where apiver is > 4.0, and to use just...

View Article


Login to ESX, when you only have VCenter Credentials

Hi, I am trying to download a file using the datastore browser. I have credentials to login to VCenter. So I can download the file via the datastore browser using the VCenter...

View Article

vSphere (4.1) API and PHP

Hi all, I'm tearing my hair out here. I can successfully connect to the API via SOAP using PHP and calling the "ServiceInstance" method, I can get the following:  stdClass Object(    [returnval] =>...

View Article


Create ESX local user using VCenter credentials

Hi, I have an ESX added to a VCenter. Can I create a local user for the ESX using the Vcenter? Thank you.

View Article

How to upload a file to guest using C# through vSphere Web Client SDK

i find the sample in java,it's name is UploadGuestFile. But can't find the similar sample in C#. is any sample here for reference?

View Article

Image may be NSFW.
Clik here to view.

vSphere API to check VAAI and VASA provider installed and enabled ?

Hi, I want to know if there is an API available (VMware vSphere Web Services API) that one can use to identify if the 1. VAAI plug-in / Hardware Acceleration is "Supported" for specific datastore  AND...

View Article
Browsing all 1860 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>