NC_net as well as some other plugins also offer WMI query capability.<br>NC_net can do this through Active checks, using check_nc_net instead of check_nt.<br>(Check_nc_net is compatible with all windows plugins that use check_nt).<br>
 <br> <br>Tony (Author of NC_Net)<br><br>
<div class="gmail_quote">On Mon, Aug 17, 2009 at 10:38 AM, Marco Tirado <span dir="ltr"><<a href="mailto:marco.tirado@gmail.com">marco.tirado@gmail.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">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><font color="#888888"><br>
Marco <br></font>
<div>
<div></div>
<div class="h5"><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" target="_blank">jon@netdork.net</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>On Wed, 12 Aug 2009 15:08:56 +0200, Marco Tirado<br><<a href="mailto:marco.tirado@gmail.com" target="_blank">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" target="_blank">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" target="_blank">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></div></div><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>