Disclaimer: This is not officially supported by VMware, please use at your own risk. Recently I faced the challenge with a script running on a VCSA which executes some checks and in case something gets detected it has to trigger a vCenter alarm. My solution is to log a user event which will be captured by an vCenter …
Read MoreIn my role as an onsite GSS Senior TSE at a large VMware customer in Germany I have to collect vROPs log bundles multiple times a week. As this is time consuming manual process I have created a script in my spare-time which fully automates this task. The script triggers the creation of a log bundle using the CASA API, …
Read MoreCouple of weeks ago I got my hands on 3 Lenovo ix4-300d storage boxes. These boxes are no longer produced and sometimes you can get them really cheap. First I had plans to use them as iSCSI storage for my home lab but the performance is not good enough. Therefore I decided to play around with one of the boxes to see …
Read MoreThis is a small powershell script to get all Guest IPs from all virtual machines $VCENTER="10.1.1.3" Connect-VIServer -Server $VCENTER $vms = Get-VM | Sort $file = "c:\ip_list.txt" foreach ($vm in $vms){ foreach($ip in $vm.Guest.IpAddress){ Write-Host "$vm $ip" "$vm $ip" | Out-File -FilePath $file -Append } } …
Read MoreThis is small powershell script to upload a file from your local disk to a webdav server. It is also proxy capable. #Complete path of the file to be uploaded $file = "d:\test_file.txt" #URL without the last "/" $url = "https://YOUR-SERVER/webdav" $proxy = "http=PROXY-SERVER:PORT" …
Read MoreI’m using the tool Logwatch to get a daily log report from all my servers by email. Install Logwatch: apt-get update apt-get install logwatch Config file: /usr/share/logwatch/default.conf/logwatch.conf To simplify the access to the config file I use a symlink. cd /etc/logwatch ln -s …
Read MoreI was not quite happy with the statistics from the vCenter. It is not possible to get an overview overall my ESXi servers. 🙁 Someone pointed me to the tool Graphite that this is a cool solution to visualize such kind of statistics. So I decided to give it a try. I created and virtual machine running Centos and Graphite …
Read More