Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
diablo2424
bydiablo2424, March 30, 2018
I love this script, I just made one minor change to the Get-Cluster line.
Original:
Get-ClusterNode $Computer | Get-ClusterGroup | ?{ $_ | Get-ClusterResource }
Modified:
$ClusterGroups = Get-ClusterGroup | Where-Object {($_.Name -ne "Cluster Group")} | Where-Object {($_.Name -ne "Available Storage")}
The new modified version will not display the default "Cluster Group" and "Available Storage" blank clusters, which do not have a preferred owner, causing the script to always read WARNING.
However, being new to NAGIOS and CheckMK, I am unsure as to what define service and define command entries to put into my NAGIOS server config files. Can anyone help me out with that part?
Original:
Get-ClusterNode $Computer | Get-ClusterGroup | ?{ $_ | Get-ClusterResource }
Modified:
$ClusterGroups = Get-ClusterGroup | Where-Object {($_.Name -ne "Cluster Group")} | Where-Object {($_.Name -ne "Available Storage")}
The new modified version will not display the default "Cluster Group" and "Available Storage" blank clusters, which do not have a preferred owner, causing the script to always read WARNING.
However, being new to NAGIOS and CheckMK, I am unsure as to what define service and define command entries to put into my NAGIOS server config files. Can anyone help me out with that part?