Hello Jon: <br><br>Thank you for the information, I guess the snmp option is the quick and dirty way to go. I have never worked with WMI before, however I it is never late to start. <br><br>Is it possible to access the MSCluster
namespace using NSClient++? <br><br>We use NSClient++ for accessing performance counters at the moment but we have not experimented with WMI yet.<br><br>Regards<br><br>Marco <br><br><div class="gmail_quote">On Fri, Aug 14, 2009 at 6:51 AM, Jon Angliss <span dir="ltr"><<a href="mailto:jon@netdork.net">jon@netdork.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">On Wed, 12 Aug 2009 15:08:56 +0200, Marco Tirado<br>
<<a href="mailto:marco.tirado@gmail.com">marco.tirado@gmail.com</a>> wrote:<br>
<br>
>Hello users:<br>
><br>
>I would like to know what is the easiest way to detect when a failover<br>
>occurs in an MSSQL cluster. I need a simple check that tells me when our<br>
>database cluster fails from physical node "X" to node physical node "Y"<br>
><br>
>Has anybody done this? Maybe with a passive check?<br>
<br>
</div>I used to do a quick and dirty way and use the SNMP sysName, and look<br>
for a specific value.  If it changed from one name to another, it had<br>
failed over...<br>
<br>
./check_snmp -H host -v 1 -c public -o .1.3.6.1.2.1.1.5.0 -s<br>
"expectedname"<br>
<br>
Or, if you've had experience with WMI, you can hit the MSCluster<br>
namespace...<br>
<br>
  <a href="http://technet.microsoft.com/en-us/library/cc780572%28WS.10%29.aspx" target="_blank">http://technet.microsoft.com/en-us/library/cc780572(WS.10).aspx</a><br>
<br>
Enjoy :)<br>
--<br>
Jonathan Angliss<br>
<<a href="mailto:jon@netdork.net">jon@netdork.net</a>><br>
<br>
<br>
------------------------------------------------------------------------------<br>
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day<br>
trial. Simplify your report design, integration and deployment - and focus on<br>
what you do best, core application coding. Discover what's new with<br>
Crystal Reports now.  <a href="http://p.sf.net/sfu/bobj-july" target="_blank">http://p.sf.net/sfu/bobj-july</a><br>
_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br>
</blockquote></div><br>