Solved

Monitor Microsoft SQL cluster disk and services with Nagios?

Posted on 2011-02-17
3
2,371 Views
Last Modified: 2013-11-13
I setup a Windows/SQL 2008 cluster and have Nagios all setup. The problem is that the disks and services on the passive node show critical or unknown because they are not there or stopped. I am looking for a way to monitor the disks and services from a cluster level so I don't have anything showing down.

I found the following URL but I don't see anything about services. I also tried setting it up and was unsuccessful.

http://exchange.nagios.org/directory/Plugins/Uncategorized/Operating-Systems/Windows-NRPE/check_mscs-2Evbs/details
0
Comment
Question by:ThorinO
  • 2
3 Comments
 
LVL 76

Accepted Solution

by:
arnold earned 500 total points
ID: 34919517
You should configure the nagios to probe the sqlcluster IP only and depending on whether you have three instances of the nagios agent.
One runs on the each node
And one that is part of the cluster resource binds to the cluster IP
This way you can monitor each node individually and then you check the clustered instance for the cluster related resources.
I'd think you want to know when the passive node is down.
0
 
LVL 10

Author Comment

by:ThorinO
ID: 34920344
OK that makes sense, I created another host with the cluster resources and removed them from the nodes but am still monitoring other things on the nodes.

Another question you might know, it would be cool to have Nagios check to see what the active node is. So like some check on the cluster to check for the hostname, and if the hostname does not equal node 1 (primary) then it goes critical. I figure since I want it on node 1 most of the time that it would be nice to know if it fails over for some reason.
0
 
LVL 76

Expert Comment

by:arnold
ID: 34920834
You would run a check on the hostname=yourpreferred node.
Within the nagios script you have on the Windows server a check for name that will ouput the %COMPUTERNAME%

Alternatively, You could configure the cluster such that node 1 is primary which will result in failback when the primary node comes back.  
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

This is an explanation of a simple data model to help parse a JSON feed
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now