If you take a look through the WMI classes installed on your machine
http://edcint.co.nz/checkwmiplus/?q=faq_seeWMIclasses

and can find some cluster related ones with useful monitoring information in them, I will add an agent-less check to check_wmi_plus (http://edcint.co.nz/checkwmiplus/) so you can monitor your cluster without having to install anything on your Windows machines.

On 19/11/2012 6:59 PM, Mohandas K wrote:
Hi Users,

We have configured two Microsoft 2008 R2 servers in cluster. I am trying to monitor the cluster status through Nagios.

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.
Then depending on the file contents I display Critical and Ok status.

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".
I am still unable to find out the reason for this error.

Please help me out in resolving this problem.

Nagios Version : 3.0.5
NRPE Version : 1.9
OS : Unix Solaris-10

Regards,
Mohandas K

--
Smartmon System Monitoring <http://www.smartmon.com.au>
www.smartmon.com.au <http://www.smartmon.com.au>
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to