Monitoring a SQL Cluster

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
peakyblinder
Posts: 63
Joined: Tue Mar 25, 2014 4:39 am

Monitoring a SQL Cluster

Post by peakyblinder »

Hi,

I'm looking to monitor our SQL Cluster estate. I have seen that its not straight forward with regards to NSClient++. I was wondering if this guide (http://nsclient.org/nscp/wiki/guides/clusters) is still valid and if so, can it be used for Windows 2008/SQL 2005/2008.

Is anyone successfully monitoring their SQL clusters with NSClient/Nagios?

Have also asked this question over in the NSClient forums for full coverage.

Thanks,
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Monitoring a SQL Cluster

Post by eloyd »

What do you think is lacking with regards to NSclient++?
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
peakyblinder
Posts: 63
Joined: Tue Mar 25, 2014 4:39 am

Re: Monitoring a SQL Cluster

Post by peakyblinder »

eloyd wrote:What do you think is lacking with regards to NSclient++?
I dont think its lacking, I just cant work it out.

I was asking who had managed to get it working, hoping someone could give some tips.

Thanks,
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Monitoring a SQL Cluster

Post by tmcdonald »

I can't say I have monitored a SQL cluster with nsclient, and looking at the page you linked I see it was last updated 3 years ago. I would suggest following the documentation and seeing if it does work, unless someone can specifically say one way or the other. Did you hear anything from the nsclient forums? It might be worth trying to talk to the author directly via email if you can't get anything from either forum.
Former Nagios employee
cbeattie
Posts: 19
Joined: Fri Oct 04, 2013 7:12 am

Re: Monitoring a SQL Cluster

Post by cbeattie »

The way we do it is to monitor both hosts individually and the cluster itself as a third host. It is not necessary to set NSClient++ as a clustered service this way. The standard set of service checks are applied to the individual hosts, plus the SQL Server checks. The cluster virtual host gets checked for SQL Server and drive space checks for the clustered physical drives, but not for the standard checks a regular host gets (CPU, memory, running antivirus, etc.) since those are covered by the individual hosts.

It's true that for SQL clusters, there will always be a service on one host in a critical state (like those docs said), but doing it this way alerts the DBAs that the clustered SQL service has failed over from one host to the other. The service is still okay, according to the SQL check on the cluster virtual host, but the DBAs know they need to investigate why the failover occurred.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Monitoring a SQL Cluster

Post by tmcdonald »

@peakyblinder, we haven't heard from you in a bit. Did cbeattie's post help at all?
Former Nagios employee
peakyblinder
Posts: 63
Joined: Tue Mar 25, 2014 4:39 am

Re: Monitoring a SQL Cluster

Post by peakyblinder »

Sorry, only just got back to work from holiday... Will look into it and update later today/tomorrow.

Thanks,
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Monitoring a SQL Cluster

Post by tmcdonald »

Haven't heard from you in a bit. Did this end up working out?
Former Nagios employee
Locked