Monitoring Microsoft Clusters
Re: Monitoring Microsoft Clusters
Did you restart your NSClient after making the change?
Can you post your NSClient config for us to take a look at?
Can you post your NSClient config for us to take a look at?
Former Nagios Employee
Re: Monitoring Microsoft Clusters
Attached the filerkennedy wrote:Did you restart your NSClient after making the change?
Can you post your NSClient config for us to take a look at?
You do not have the required permissions to view the files attached to this post.
Re: Monitoring Microsoft Clusters
To verify -
Looks good with your config, did you restart the NSClient service in windows after making that change?
Did you place the check_microsoft_cluster.vbs in the scripts folder?
Looks good with your config, did you restart the NSClient service in windows after making that change?
Did you place the check_microsoft_cluster.vbs in the scripts folder?
Former Nagios Employee
Re: Monitoring Microsoft Clusters
Please try the attached nsclient.ini and restart the service.
Thank you
Thank you
You do not have the required permissions to view the files attached to this post.
Re: Monitoring Microsoft Clusters
It now returns "Microsoft (R) Windows Script Host Version 5.8" in all cases (NODEs or RESources)ssax wrote:Please try the attached nsclient.ini and restart the service.
Thank you
Re: Monitoring Microsoft Clusters
Edit your nsclient.ini file and change this line from
to
Save the file and restart nsclient.ini and check to see if that resolves the issue.
Code: Select all
check_mscluster=cscript.exe scripts\check_microsoft_cluster.vbs $ARG1$Code: Select all
check_mscluster=cscript.exe //T:30 //NoLogo scripts\check_microsoft_cluster.vbs $ARG1$Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Monitoring Microsoft Clusters
tgriep wrote:Edit your nsclient.ini file and change this line fromtoCode: Select all
check_mscluster=cscript.exe scripts\check_microsoft_cluster.vbs $ARG1$Save the file and restart nsclient.ini and check to see if that resolves the issue.Code: Select all
check_mscluster=cscript.exe //T:30 //NoLogo scripts\check_microsoft_cluster.vbs $ARG1$
Script now responds better (Thank you!):
Cluster Resources - Disks Ok 16h 59m 22s 1/5 2015-12-22 12:28:50 OK - Clusterresource
Cluster Resources - Nodes Ok 1d 1h 37m 53s 1/5 2015-12-22 12:26:09 OK - Clusternodes
Except that for resources here is what I have configured:
ARG1 - CLRES
ARG2 - Disk C:,DISK D:,DISK E:,DISK G:,DISK M:,DISK T:,DISK Q:
----------------------------------------------------------------------------
Now could we go back to the original topic on Monitoring Microsoft clusters with NAGIOS XI
1. I could use you stock cluster_check for:
1.1 Cluster Health (nodes)
1.2 Cluster Services health (windows services running) - doe snot work correctly at a moment producing OK where one of two node has service stopped
2. I could use this VBS script to monitor multiple disks on active/passive clusters
- Hope there is better way, please comment
3. I could configure CPU/RAM/PAGE and some services per-node (where they are named per-node)
would this be THE WAY to Monitor Microsoft 2008/2012 clusters with Nagios XI or is there better way?
Re: Monitoring Microsoft Clusters
Just add $ARG2$ on the end of there:
---
1/1.1/1.2
Make sure they the hostnames and servicenames are identical, they are case sensitive. You would then adjust the warning and critical parameters to meet your needs.
You can read more about the check_cluster plugin here as well:
https://assets.nagios.com/downloads/nag ... sters.html
2.
I haven't seen any other cluster aware disk checks for MS. You could write a powershell script that should be able to get the data you would like but it will take some coding.
3.
That is pretty much the only way that you can monitor Microsoft clusters outside of writing your own all-encompassing plugin.
Those are for per-node ones that are going to be unique per node. You could always point the shared checks at the virtual IP shared by the nodes.
Code: Select all
check_mscluster=cscript.exe //T:30 //NoLogo scripts\check_microsoft_cluster.vbs '$ARG1$' '$ARG2$'1/1.1/1.2
Make sure they the hostnames and servicenames are identical, they are case sensitive. You would then adjust the warning and critical parameters to meet your needs.
You can read more about the check_cluster plugin here as well:
https://assets.nagios.com/downloads/nag ... sters.html
2.
I haven't seen any other cluster aware disk checks for MS. You could write a powershell script that should be able to get the data you would like but it will take some coding.
3.
That is pretty much the only way that you can monitor Microsoft clusters outside of writing your own all-encompassing plugin.
Those are for per-node ones that are going to be unique per node. You could always point the shared checks at the virtual IP shared by the nodes.
Re: Monitoring Microsoft Clusters
Thank you clarifications
I think we could close this thread
/Dimitri
I think we could close this thread
/Dimitri
Re: Monitoring Microsoft Clusters
Hi Support,
I have one requirement plan to post in this thread as in my current environment we have Microsoft Hyper-V server version 2012 R2.
We would like to monitor Latency on C: drive is actually SAN connected C drive (not a physical drive), so please help us on how to monitor SAN connected C: drive.
I have one requirement plan to post in this thread as in my current environment we have Microsoft Hyper-V server version 2012 R2.
We would like to monitor Latency on C: drive is actually SAN connected C drive (not a physical drive), so please help us on how to monitor SAN connected C: drive.