Skip to main content

Disk - Predictive Failure

Summary

The monitor setup will compare the result of the following command:

C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -Command "$ErrorActionPreference = 'SilentlyContinue'; $WarningPreference = 'SilentlyContinue'; $disks = (Get-WmiObject -Class Win32_DiskDrive) ; foreach($disk in $disks) {write-host -NoNewline "$($disk.Status)"}"

against the status "Fail". The expected outcomes are 'OK', 'Predicted Failure', or 'Failed'. A ticket will be created for machines with either "Failed" or "Predicted Failure" health status for a disk.

Details

Suggested "Limit to": Windows Machine.
Suggested Alert Style: Once
Suggested Alert Template: Default Create Automate Ticket

Insert the details of the monitor in the table below.

Check ActionServer AddressCheck TypeCheck ValueComparatorIntervalResult
System127.0.0.1Run FileSee BelowDoes Not Contain600Fail

Check Value

C:/Windows/System32/WindowsPowerShell/v1.0/powershell.exe -ExecutionPolicy Bypass -Command "$ErrorActionPreference = 'SilentlyContinue'; $WarningPreference = 'SilentlyContinue'; $disks = (Get-WmiObject -Class Win32_DiskDrive); foreach($disk in $disks) \{write-host -NoNewline "$($disk.Status)"}"

Target

Windows Machines: This should be run on all the Windows machines covered under the Service Plans.