Skip to main content

Enhanced Drive Space Monitoring

Purpose

Being able to monitor drive space using specifically assigned thresholds eliminates most false positive drive space tickets.

Associated Content

Automation

ContentTypeFunction
Internal Monitor - ProVal - Production - Agent - Enhanced Drive Space MonitorInternal monitorDetermines target machine/drives that violate set thresholds. Used to run the associated script to clean up the drive with Soji
Internal Monitor - Agent - Enhanced Drive Space Monitor [Ticket Management]Internal monitorNeeds to be imported in case the partner wants to reopen prematurely closed tickets for the machines where the issue persists
EPM - Disk - Script - Enhanced Disk Space Monitoring ProcessAutofix scriptDouble-checks thresholds, runs the Soji-agnostic script on the target endpoint for the target drive, and creates/closes ticket(s).
△ Custom - Autofix - Enhanced Drive Space MonitoringAlert TemplateThe alert template runs the Autofix script on the machines detected by the alert template.

Other Content

ContentTypeFunction
EPM - Disk - Automate - Script - Soji - Disk Space ManagementFunction ScriptCalled by the Autofix script EPM - Disk - Script - Enhanced Disk Space Monitoring Process to perform disk cleanup.

Implementation

  1. Import the script below using the ProSync plugin:

  2. Import the monitors below using the ProSync Plugin:

  3. Import the Alert Templates below using the ProSync plugin:

    • △ Custom - Autofix - Enhanced Drive Space Monitoring
  4. Run or debug the Script - Enhanced Disk Space Monitoring Process against a random Windows computer. Set the user parameter SetEnvironment to 1 during execution. This step will create the associated EDFs and System Properties.

  5. Reload the System Cache

  6. If custom thresholds have been requested:
    Use the instructions in the Script - Enhanced Disk Space Monitoring Process and the Internal Monitor - ProVal - Production - Agent - Enhanced Drive Space Monitor to configure System Properties and EDFs as per the partner's requirements. If nothing was specified by the consultant, assume the defaults are what is requested:

    • If you configured any custom thresholds, please run the following to get the monitor to update its results quickly. (Or wait 25 minutes)
      • If you updated any Group Level EDFs
        • Call V_Extradata(7, 'Groups');
        • Call V_ExtradataRefresh(7, 'Groups');
      • If you updated any Computer Level EDFs
        • Call V_Extradata(1, 'Computers');
        • Call V_ExtradataRefresh(1, 'Computers');
  7. Navigate to Automation -> Monitors and set up the following:

  8. Open the main service plan groups and enable the monitor on the required groups:

    • Unless otherwise specified by the consultant, enable both monitors on the Managed 24x7 + 8x5 groups for both servers and workstations.
  9. Navigate to Automation -> Monitors and set up the following: