Virtualization Pro

Jan 17 2008   4:05PM GMT

Monitoring the Virtual Infrastructure for authentication attempts with Perl

Kutz Profile: Akutz

Rick Vanover recently wrote a terrific blog on how to monitor the VI database for authentication attempts. While you can certainly monitor the database directly, VMware does not support this option. A supported alternative would be using the SDK to collect historical authentication events and monitor the VI servers in real-time for new ones.

Collecting historical authentication events is quite easy. I whipped up a quick Perl script that shows you how to do just that. will print out a VI server’s authentication events with the ability to filter on a specific user. The script is extremely short and easy to modify.

In order to collect authentication events in real-time, you need to monitor the latest events as they occur. Luckily I also have an arsenal in my handy-dandy utility belt that does just this – Monét.

As Rick’s and my methods show, there is almost always more than one way to accomplish a task. Just pick the one that you’re most comfortable with and forge ahead.

Happy forging!

 Comment on this Post

There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when other members comment.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

Share this item with your network: