Skip to main content

Disk - Critical Data

Purpose

The solution summary focuses on gathering hard drive failure data from target machines using an agnostic script called EPM - Disk - Agnostic - Get-DiskInfo. This script returns a [system-object] with information about the physical disk, its performance, partitions, logical drives, and storage system. The solution also includes a ConnectWise Automate script, EPM - Disk - Script - Disk - Gather Critical Data, which executes the agnostic script and stores the data in a custom MySQL table. The data is displayed in a ConnectWise Automate dataview called CWM - Automate - Dataview - Disk - Critical Data. The solution includes two internal monitors: EPM - Disk - Internal Monitor - Execute Script - Disk - Gather Critical Data, which runs the script once a week on Non-Virtual Windows workstations, and EPM - Disk - Internal Monitor - Predictive Hard Drive Failure, which alerts on any machine with detected errors over the past 7 days. Overall, the solution provides comprehensive data on hard drive performance and failure to aid in preventive maintenance.

Associated Content

ContentTypeFunction
EPM - Disk - Agnostic - Get-DiskInfoAgnostic scriptPowerShell script to gather the data from the computer
EPM - Disk - Script - Disk - Gather Critical DataAutomate ScriptTo execute the agnostic script and fetch the data into Automate
EPM - Disk - Custom Table - plugin_proval_cdi_dataCustom TableTo store the data gathered by the script
CWM - Automate - Dataview - Disk - Critical DataDataviewTo display the data present in the custom table for all machines in one place
EPM - Disk - Internal Monitor - Execute Script - Disk - Gather Critical DataInternal MonitorTo execute the Automate script at a regular interval
EPM - Disk - Internal Monitor - Predictive Hard Drive FailureInternal MonitorTo generate an alert for machines where the Automate script has detected issues

Implementation