<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
If you take a look through the WMI classes installed on your machine<br>
<a class="moz-txt-link-freetext" href="http://edcint.co.nz/checkwmiplus/?q=faq_seeWMIclasses">http://edcint.co.nz/checkwmiplus/?q=faq_seeWMIclasses</a><br>
<br>
and can find some cluster related ones with useful monitoring
information in them, I will add an agent-less check to
check_wmi_plus (<a class="moz-txt-link-freetext" href="http://edcint.co.nz/checkwmiplus/">http://edcint.co.nz/checkwmiplus/</a>) so you can
monitor your cluster without having to install anything on your
Windows machines.<br>
<br>
<div class="moz-cite-prefix">On 19/11/2012 6:59 PM, Mohandas K
wrote:<br>
</div>
<blockquote
cite="mid:OF94968D18.3DC63C6A-ON65257ABB.002ACC6C-65257ABB.002BF434@tcs.com"
type="cite"><font face="sans-serif" size="2">Hi Users,</font>
<br>
<br>
<font face="sans-serif" size="2">We have configured two Microsoft
2008
R2 servers in cluster. I am trying to monitor the cluster status
through
Nagios.</font>
<br>
<br>
<font face="sans-serif" size="2">In order to achieve the same, I
have
written a Windows batch script. This batch script will first
execute "cluster.exe"
command with necessary switches and stores the output in a file.</font>
<br>
<font face="sans-serif" size="2">Then depending on the file
contents
I display Critical and Ok status.</font>
<br>
<br>
<font face="sans-serif" size="2">I am able to execute this script
locally
on Windows, But when I am trying to run it from Nagios using
NRPE, I get
an error saying "C:\Windows\System32\cluster.exe' is not
recognized
as an internal or external command".</font>
<br>
<font face="sans-serif" size="2">I am still unable to find out the
reason
for this error.</font>
<br>
<br>
<font face="sans-serif" size="2">Please help me out in resolving
this
problem. </font>
<br>
<br>
<font face="sans-serif" size="2">Nagios Version : 3.0.5</font>
<br>
<font face="sans-serif" size="2">NRPE Version : 1.9</font>
<br>
<font face="sans-serif" size="2">OS : Unix Solaris-10</font>
<br>
<br>
<font face="sans-serif" size="2">Regards,<br>
Mohandas K</font><br>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<font size="-1">
<a href="http://www.smartmon.com.au">Smartmon System Monitoring</a>
<br>
<a href="http://www.smartmon.com.au">www.smartmon.com.au</a> </font></div>
</body>
</html>