<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body bgcolor=white lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>That’s the one I’m currently using. I can point it at the vCenter server using the –H switch, but then it just returns stats for the first host in my environment, it doesn’t seem like there is any way for me to specify which host I want to query through vCenter. Or am I doing something wrong here?<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div><p class=MsoNormal><span style='color:#1F497D'>Brian Schultz<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Virtuit Systems<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Systems Engineer<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>845-371-3060 ext 727<o:p></o:p></span></p></div><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></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";color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> Johannes Dagemark [mailto:johannes@dagemark.com] <br><b>Sent:</b> Monday, December 20, 2010 10:50 AM<br><b>To:</b> nagiosplug-devel@lists.sourceforge.net<br><b>Subject:</b> Re: [Nagiosplug-devel] Nagios and VMware<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>take a look at <a href="http://git.op5.org/git/?p=nagios/op5plugins.git;a=blob_plain;f=check_esx3.pl;hb=HEAD">http://git.op5.org/git/?p=nagios/op5plugins.git;a=blob_plain;f=check_esx3.pl;hb=HEAD</a><br><br>Cheers<br>Johannes<br><br>On 2010-12-20 16:14, Brian Schultz wrote: <o:p></o:p></p><p class=MsoNormal>I’ve been giving the task of figuring out how to monitor our entire VMware environment that’s running vSphere 4.1. I’ve been playing around with Nagios and so far I really like it’s flexibility, but for me that also means there is going to be a big learning curve because it seems like in order to get exactly what I want, I’m also going to have to learn Perl and write some plugins. I’ve been using the check_esx plugin that’s up on the exchange but it doesn’t do *<b>exactly</b>* what I’d like. I’d like to pull performance metrics from vCenter because VMware specifies that as best practice. Also, it would be nice if Nagios would automatically add any new hosts that are added to the environment.<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>Is there a plugin floating around out there that already addresses these points and I just haven’t come across it? How big of a task am I undertaking here? Any words of advice or suggestions on how I should tackle this?<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>Thanks<o:p></o:p></p><pre><o:p> </o:p></pre><pre><o:p> </o:p></pre><pre>------------------------------------------------------------------------------<o:p></o:p></pre><pre>Lotusphere 2011<o:p></o:p></pre><pre>Register now for Lotusphere 2011 and learn how<o:p></o:p></pre><pre>to connect the dots, take your collaborative environment<o:p></o:p></pre><pre>to the next level, and enter the era of Social Business.<o:p></o:p></pre><pre><a href="http://p.sf.net/sfu/lotusphere-d2d">http://p.sf.net/sfu/lotusphere-d2d</a><o:p></o:p></pre><pre><o:p> </o:p></pre><pre><o:p> </o:p></pre><pre>_______________________________________________________<o:p></o:p></pre><pre>Nagios Plugin Development Mailing List <a href="mailto:Nagiosplug-devel@lists.sourceforge.net">Nagiosplug-devel@lists.sourceforge.net</a><o:p></o:p></pre><pre>Unsubscribe at <a href="https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel">https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel</a><o:p></o:p></pre><pre>::: Please include plugins version (-v) and OS when reporting any issue. <o:p></o:p></pre><pre>::: Messages without supporting info will risk being sent to /dev/null<o:p></o:p></pre><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><br><br><br><o:p></o:p></span></p><pre>-- <o:p></o:p></pre><pre>Best regards<o:p></o:p></pre><pre>Johannes Dagemark<o:p></o:p></pre><pre>JD Consulting (op5 service partner)<o:p></o:p></pre><pre>Tel: +46 733 709024<o:p></o:p></pre><pre>Email: <a href="mailto:johannes@dagemark.com">johannes@dagemark.com</a><o:p></o:p></pre></div></body></html>