?
Solved

Monitor Microsoft SQL cluster disk and services with Nagios?

Posted on 2011-02-17
3
Medium Priority
?
2,535 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 79

Accepted Solution

by:
arnold earned 2000 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 79

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

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will giveā€¦
Make the most of your online learning experience.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Introduction to Processes
Suggested Courses

777 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