Monthly Archives: March 2009

VMware ESX SDK SnapShot Perl Script Part 3

This is the 3rd and I think final revision of this script. I added the –list function, which before had to be combined with the –vm_name function. The main reason for creating this script was so that there can be … Continue reading

Tagged , | Leave a comment

HowTo List Virtual Machines using Python and CIM Part 2

Welcome to part 2 of the “HowTo List Virtual Machines using Python and CIM“. In this part, I modified the original script so that you can pass the Virtual Machine name as well as run it with out the Virtual … Continue reading

Posted in CIM, Python | Tagged , | Leave a comment

Check ESX Datastores using Python and CIM

Good Afternoon guys, here I created another Python Script. This script will check your DataStores aka VMFS. I built this script so that it can be used with Nagios and or Zenoss. The purpose of this script is so that … Continue reading

Tagged , | 2 Comments

HowTo List DataStores using Python and CIM

Here I created another Python script using Pywbem to get the Storage Pools from ESX. In this script you can get the disk utilisation statistics from each datastore or from a particular datastore. Script Updated to include the .VMX files … Continue reading

Tagged , | Leave a comment

HowTo List Virtual Machines using Python and CIM Part 1

Good morning my fellow Admins, Engineers, Scripters, Programmers, etc….. YOU GET THE IDEA :). For the past week, I have been learning all about the CIM and WBEM API. Since I am working alot more then I have ever have … Continue reading

Posted in Python, VMware | Tagged , | Leave a comment

Apache Logs: Multiple Pipeline

Apache, among many other httpds, can be configured to log to an executable’s STDIN instead of a file. But older Apaches, again like other httpds, won’t let you pipe that programme’s output to another’s input, so you’re limited to whatever … Continue reading

Tagged , | Leave a comment

You don’t know Python

Not long ago I was mutually baited into an argument with one of our developers, in which he challenged me on why I had chosen Python for my most recent project. His claim that I didn’t "know Python" he backed … Continue reading

Tagged , | Leave a comment

From Perl To Python To Ruby..

Well, I want to start this off, by saying that I am not leaving Python or Perl behind for Ruby, but that is the order in which I learned these 3 languages.  I learned Perl first and I used it … Continue reading

Tagged , | Leave a comment