vROps log bundle automation Part 1

In 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, checks the status of the creation and download the log bundle when it is ready. After successful download it will automatically upload the bundle to sftpsite.vmware.com in the corresponding SR folder.

The script is avialable in my Gogs: vrops-support-bundle

Disclaimer: This is not officially supported by VMware, please use at your own risk.

Steps how to use the script:

Setup an Linux virtual machine as host for the script. A machine with 1 vCPU, 2GB Memory and 100Gb storage is sufficient. The storage can be smaller it really depends on …

Monitor System Logs with Logwatch

I’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:


To simplify the access to the config file I use a symlink.

cd /etc/logwatch
ln -s /usr/share/logwatch/default.conf/logwatch.conf

Configuration (parameters which I have changed):

#Output = stdout
Output = mail
#To make Html the default formatting Format = html
Format = html


crontab -e
30 0 * * * /usr/sbin/logwatch

Based on this configuration you will receive a nice daily overview report.…

HTML5 Client for SSH, VNC and RDP

If you run machines in a cloud or in a restriced environment where direct ssh is a security risk it could be a good way forward to use a HTML5 based solution. Guacamole is such an solution. It is a clientless remote access system. It is just required to install Tomcat to run the web application and a proxy deamon. The solution can connect to SSH (including key authentication), Windows RDP and VNC. As authentication backend they offer LDAP, Mysql and a file based solution.

I’m using Guacamole in multiple environments with an Apache in front for SSL. The tomcat is only available on localhost which improves the security. Furthermore it is possible to develop additional authentication providers. Based on that it should be possible to in corporate Guacamole in the single sign on solution which is available in most of the large companies.

Shell in a web browser

This is really good tool to access an linux appliance located in an environment which only allow’s http/https. It is a small daemon which runs in the background on port 4200. It is possible to setup an reverse proxy based on apache2 to access shell in a box via http/https.

Shell in a Box

VManage – Iphone App

I found a very good iphone app to manage a vmware environment. This app is called vmanage and is available for 2.39€ which is quite cheap.

You have to configure your vCenter or ESXi server in the following way.

Start testing … if you need a VPN connection start this first and after you have successfully opened the secure connection start VManage and press start.

If the connection to your VC/ESXi server is established you should see the following:

Don’t panic … click on the button right at the top and the app will read all your appliances from your VC/ESXi.

and on the Host tab you should see your ESX/ESXi hosts

I’m going to stop here as I only want to show how it works 🙂…

VMware Support toolbar

Richard from VMware provided me with this link to a nice helpful toolbar for FF/IE. This toolbar gives you instant access to documentation, patches, live peer to peer chat and more.

Special thanks to Richard! 🙂…