Export to csv performance VM CPU and RAM
Iwould like to knowifthere is a wayto export tocsvl'usein%ofCPUandRAM,thento loadon ourdatabasefor creatingdashboradI was followingthe pathofdatabase connectionvpostgresbutis quitecomplexl'data...
View ArticleLicenseManager deprecation in vCenter 6.0
So, it looks like the licenseManager->licenses property is deprecated in vCenter 6.0. I was wondering if anyone could point me in the right direction as I am having a hard time finding the...
View ArticleCount free ports in portgroup
Hello, I want to monitor the count of free ports in a portgroup (Distributed Virtual Switch). The number for total ports is no problem, I can get this value from the DVS-Object.The better question is:...
View Articlevmreconfig.pl - Unable to add floppy drive - Reconfiguration failed: The...
I am having trouble adding a floppy drive to an existing VM. If I add a floppy via the vSphere client, I can remove it via vmreconfig, I just can't add one from vmreconfig. When I run the script, this...
View ArticleDeleting a Folder with Perl SDK
I am looking for assistance deleting a folder with the Perl SDK. I know the user has privileges. I think I am making calls to DeleteDatastoreFile_Task incorrectly. Could someone please point me to an...
View Articleapplying a host profile to an ESX host
Having trouble doing this, likely because I don't understand quite what I'm doing. From the UI, you can associate a profile with a cluster. Then, you can right-click on a host within the cluster and...
View ArticleThere is a bug in VICommon.pm in get_property subroutine
Hello VICommon.pm get_properties (line 1702 in build 1384587) the lines in bold prefixed ++ are what I add locally to avoid this problem sub get_property { my ($self, $path) = @_; my @subpaths =...
View Articlevmcreate.pl intermittent authentication failures
Hi everyone, firstly let me start off by saying I'm not familiar with Perl scripting and I am logging this to try and get to the bottom of an issue another team are having when using the vmcreate.pl...
View ArticleIs vmware-cmd the only way to start/suspend a guest in vCLI
Hi, I am fairly new using vSphere 5.5 and have taken the install-configure and the scale-optimize classes. I am creating a secure compute resource for researchers using HIPAA data. The first phase is...
View Articlesecuring your login
I have read through the docs on different ways to secure you log in or not when using the Perl scripts. Though helpful they still seem lacking as far as security. What other ways are people securing...
View ArticleError: Server version unavailable at 'https://1.1.1.1/sdk/vimService.wsdl'...
Hi, I have a strange problem, I have 3 RHEL 5.4 servers that are clones of each other, I have install the SDK on all 3 of them, version: I have installed VMware-vSphere-SDK-for-Perl-4.0.0-161974...
View ArticlePerl SDK Debian 8
Hello allWe are installing nagios on a debian 8 machine an try to monitor some esx hosts. I managed it to install den Perl SDK 6.0.0 an this debian 8 host with the help of this...
View ArticleQuery Local Users and Creating Local Users
I'm trying to automate the creation of a Local User in ESXi using the Perl SDK. I know how to pull a list of users that have permissions from the host. my $userAccounts =...
View ArticleUnable to create datastore: Current license or ESXi version prohibits...
using vicfg-nas I am unable to create/remove a nfs datastore on my home lab running esxi 6. Is this unsupported? Listing them works ok. I can create/remove nfs datastores using the vcenter client just...
View ArticleVmware Perl SDK: Finding Free LUN's of ESX hosts on Cluster
I am working on implementing one task using VMware Perl SDK and unable to find the relevant SDK objects.Task: We have mapped a SAN LUN to "All ESX boxes in Cluster" (Ex : Cluster1)Now, using "VMware...
View ArticlevmdkManagement.pl only adds disks to SCSI controller 0
Looking for help with this lamw-vghetto script. The subroutine, addExistingVMDK, hard-codes controller => "SCSI controller 0". Change this 0 to any other valid controller number, and if fails with...
View ArticlevSphere Perl SDK - querying Baseboard Management Controller address
Does anyone know if its possible to query the Baseboard Management Controller object using the vSphere Perl SDK? This is the object that is defined under the Hardware Status tab for an ESXi host.All my...
View ArticleSearch and return a specific perfcounter from per manager perl SDK
Hello,I have read the vsphere perl sdk guides and have also looked at the performance.pl script to return perf data. What I am trying to do is to return a single perfcounters values. For example if I...
View ArticleHostinfo.pl script printing out too much information
Hi,I'm new to Perl and the Perl SDK so please go easy on me if this is a known issue or if I'm just doing something wrong. I'm using hostinfo.pl to obviously get some host information but sometimes it...
View ArticleUpgraded to vSphere 6 perl SDK , SOAP errors
After successful upgrade to vSphere 6u2, I can no longer run API scripts:vmcreate.pl --url https://${vcenter}:443/sdk/webService <parameters> Results in:Error creating VM 'testVM':SOAP...
View Article