A family of System Center products that provide infrastructure monitoring, help ensure the predictable performance and availability of vital applications, and offer comprehensive monitoring for datacenters and cloud, both private and public.
Require Data for Cluster Disk rules in SCOM.
Hi,
We are working on an integration for SCOM where we allow software administrators to collect data from Microsoft System Center Operations Manager (SCOM) using PowerShell scripts. We also use SCOM SDK for the same. This integration can be used by various customers using SCOM for working on analytics of data generated through SCOM.
We are looking for data related to any of the below rules:
Cluster Disk - Free space / %
Cluster Disk - Free space / MB
Cluster Disk - Total size / MB
GetMonitoringPerformanceDataReader()
GetMonitoringPerformanceData()
GetMonitoringPerformanceDataValue()
These are functions from SDK used to get performance data.
If you use SCOM SDK can you share a sample data of any of the above performance rules?
If you don't use SCOM SDK, but you have clustered setup, then can you run below commands in powershell and share the output:
$Class = Get-SCOMClass -DisplayName "Cluster Disk"
$ClassInstance = Get-SCOMClassInstance -Class $Class
$ClassInstance.GetMonitoringPerformanceData() | Select CounterName
Please select the counter name from the list for rule: Collection Rule for % Free space Windows Server Cluster Disk
and add it below after -eq,
$Data = $ClassInstance.GetMonitoringPerformanceData() | ?{$_.CounterName -eq "(paste here name of counter)"}
$SampleStartTime = (Get-Date).AddHours(-10)
$SampleEndTime = (Get-Date)
$PerformanceValues = $Data.GetValues($SampleStartTime,$SampleEndTime)
$PerformanceValues
Thanks for your help.