<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style>
<!--
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
@font-face
        {font-family:"Segoe UI"}
@font-face
        {font-family:Tahoma}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif"}
span.BalloonTextChar
        {font-family:"Tahoma","sans-serif"}
p.msochpdefault, li.msochpdefault, div.msochpdefault
        {margin-right:0in;
        margin-left:0in;
        font-size:10.0pt;
        font-family:"Times New Roman","serif"}
span.emailstyle17
        {font-family:"Calibri","sans-serif";
        color:windowtext}
span.emailstyle18
        {font-family:"Calibri","sans-serif";
        color:#1F497D}
span.emailstyle19
        {font-family:"Calibri","sans-serif";
        color:#1F497D}
span.EmailStyle23
        {font-family:"Calibri","sans-serif";
        color:#1F497D}
span.EmailStyle24
        {font-family:"Calibri","sans-serif";
        color:#1F497D}
.MsoChpDefault
        {font-size:10.0pt}
@page WordSection1
        {margin:1.0in 1.0in 1.0in 1.0in}
div.WordSection1
        {}
-->
</style>
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Have you tried the script on the vMA VM? If not, I’d try adapting the code to work there.</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D">vMA download: <a href="http://communities.vmware.com/community/vmtn/automationtools/vima">
http://communities.vmware.com/community/vmtn/automationtools/vima</a></span></p>
<p class="MsoNormal"><span style="color:#1F497D">vMA documentation: <a href="http://www.vmware.com/support/developer/vima/">
http://www.vmware.com/support/developer/vima/</a></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<div>
<p class="MsoNormal"><b><span style="font-size:10.0pt; color:#595959">Ray Storer</span></b><span style="font-size:13.5pt; font-family:"Segoe UI","sans-serif"; color:#1F497D"></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; color:#007DC3">NIBCO INC.</span><span style="color:#1F497D">
</span><span style="color:#1F497D"></span></p>
</div>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<div>
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> Root, Paul T [mailto:Paul.Root@CenturyLink.com]
<br>
<b>Sent:</b> Monday, June 10, 2013 4:20 PM<br>
<b>To:</b> Storer, Raymond; 'xymon@xymon.com'<br>
<b>Subject:</b> RE: bb-ESXi.pl</p>
</div>
</div>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span style="color:#1F497D">The script reports VM usage on an ESX or ESXi host.
</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D">I’m a Unix/Linux shop. </span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D">The issue isn’t the script. The issue is the SDK on the ESXi host. I’ve been trying to find a way to restart  the SDK on the host. It will come back with a reboot. But that involves moving the VMs off the machine.</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<div>
<div style="border:none; border-top:solid #B5C4DF 1.0pt; padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif""> Storer, Raymond [mailto:storerr@nibco.com]
<br>
<b>Sent:</b> Monday, June 10, 2013 3:17 PM<br>
<b>To:</b> Root, Paul T; 'xymon@xymon.com'<br>
<b>Subject:</b> RE: bb-ESXi.pl</span></p>
</div>
</div>
<p class="MsoNormal"> </p>
<div>
<p class="MsoNormal"><span style="color:#1F497D">What does this script do exactly?</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D">If it reports on Host RAM, CPU and Disk space you might try some PowerShell code instead (assuming you have a Windows server to host it).</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<div>
<p class="MsoNormal"><b><span style="font-size:10.0pt; color:#595959">Ray</span></b></p>
</div>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<div>
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> Xymon [<a href="mailto:xymon-bounces@xymon.com">mailto:xymon-bounces@xymon.com</a>]
<b>On Behalf Of </b>Root, Paul T<br>
<b>Sent:</b> Wednesday, June 5, 2013 4:47 PM<br>
<b>To:</b> Root, Paul T; 'xymon@xymon.com'<br>
<b>Subject:</b> Re: [Xymon] bb-ESXi.pl</p>
</div>
</div>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span style="color:#1F497D">Oh, btw. No progress on getting the machines that won’t answer up the bb-ESX.pl script. So I’m guessing that the it’s the SDK on the host that failed.
</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D">I’m trying to figure out how to start that back up.</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<div>
<div style="border:none; border-top:solid #B5C4DF 1.0pt; padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif""> Xymon [<a href="mailto:xymon-bounces@xymon.com">mailto:xymon-bounces@xymon.com</a>]
<b>On Behalf Of </b>Root, Paul T<br>
<b>Sent:</b> Wednesday, June 05, 2013 3:44 PM<br>
<b>To:</b> 'xymon@xymon.com'<br>
<b>Subject:</b> [Xymon] bb-ESXi.pl</span></p>
</div>
</div>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I got this ext script working. There were 2 secrets. Maybe 3.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">First I modified it to be xymon-ESXi.pl. Changing BB to XYMON and BBHOME to XYMONHOME. Etc.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Second, I found that it was looking for a file .esxpass in $XYMONHOME. This is the password to get into the ESXi host. The bb-ESX.pl had it hard coded.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Lastly, my root password for the servers has bad characters in it. I have to think up a new root password now.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Actually. I’d rather add a user ‘xymon’ to the ESXi host. But I haven’t been able to get that to work at all. Does anybody know how to get that to work?</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I’m also backfilling the bb-ESX.pl script to use the .esxpass file.
</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Paul.</p>
<p class="MsoNormal"> </p>
</div>
<p class="MsoNormal"><span style="font-size:12.0pt; font-family:"Times New Roman","serif""> </span></p>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-size:12.0pt; font-family:"Times New Roman","serif"">
<hr size="2" width="100%" align="center">
</span></div>
<p class="MsoNormal"><span style="font-size:7.5pt; font-family:"Arial","sans-serif"; color:gray"><br>
CONFIDENTIALITY NOTICE: This email and any attachments are for the<br>
exclusive and confidential use of the intended recipient. If you are not<br>
the intended recipient, please do not read, distribute or take action in<br>
reliance upon this message. If you have received this in error, please<br>
notify us immediately by return email and promptly delete this message<br>
and its attachments from your computer system. We do not waive<br>
attorney-client or work product privilege by the transmission of this<br>
message.</span><span style="font-size:12.0pt; font-family:"Times New Roman","serif""></span></p>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1"><br>
CONFIDENTIALITY NOTICE: This email and any attachments are for the<br>
exclusive and confidential use of the intended recipient. If you are not<br>
the intended recipient, please do not read, distribute or take action in<br>
reliance upon this message. If you have received this in error, please<br>
notify us immediately by return email and promptly delete this message<br>
and its attachments from your computer system. We do not waive<br>
attorney-client or work product privilege by the transmission of this<br>
message.<br>
</font>
</body>
</html>