After posting an article how to Extending the VI Client with the Twitter Plug-in, John Troyer commented, asking me if I can envision a practical use for this? Maybe if the other servers are using the Twitter API to report alerts?
In the Alarm Settings dialog box, you can use the Actions tab to specify actions taken when the alarm is triggered. My first thought was, let’s create a PowerShell script, but passing the alarm parameters to a batch file and a PowerShell script isn’t that easy.
After some searching I finally found TwitCon, it’s a Twitter updater that uses no external programs or libraries and has no graphical user interface. It's written to be compliable on any platform and give you a quick, easy, and small way to update your Twitter status in a flash.
You can pass parameters to the twitter.exe from the vCenter Server, in this example I have chosen {targetName} and {alarmName} as the most appropriate.
C:\twitter\twitter.exe username password {targetName} {alarmName}
Other parameters that can be passed to twitter.exe are:
{eventDescription}
{targetName}
{alarmName}
{triggeringSummary}
{declaringSummary}
{oldStatus}
{newStatus}
{target}
Now I can scedule my goodmoring twitter message just before Duncan Epping wakes up. :-)