Page 1 of 1

Monitoring windows cluster

Posted: Wed Dec 02, 2020 2:30 am
by dex2ht
Hi,
I'm looking for best practice how to setup windows failover cluster in nagios XI.
We have two nodes in cluster (windows 2012)
at node one curently are running two instances od SQL server, at node two curently running IIS

Configuration:
Node 1 IP: 1.1.1.1
SQL 1 - DISK H I J
SQL 2 - DISK K L M
Node 2 IP: 1.1.1.2
IIS - DISK F
Cluster IP 1.1.1.3

I instaled nagios client at both nodes and added cluster to nagios monitoring
Now active is NODE 1, so when i loged via RDP to Cluster (1.1.1.3) I go to Node 1 (1.1.1.1)

In nagios I added at Cluster (1.1.1.3) services: SQL1 and SQL2 and disks H I J K L M
Now when I move SQL 2 to second node I have critical for disks K L M and SQL 2.

Question is how to monitor it propertly. I think i cant monitor it like ordinary windows servers

Re: Monitoring windows cluster

Posted: Wed Dec 02, 2020 4:19 pm
by cdienger
I'd recommend using the check_cluster plugin for monitoring clustered services. It allows you to combine multiple services into a single check and alert based on criteria you set:

https://assets.nagios.com/downloads/nag ... sters.html