Skip to main content

MSP Automation Metrics - plugin_proval_h_msp_metrics

Summary

This script creates and populates data in the plugin_proval_h_msp_metrics custom table. Currently, the "Splitting variables" step is disabled as it has no current use; once the future development of the request is completed, we can enable that step.

Sample Run

Please schedule the script to run on the second Monday of each month. This is a client-based script and needs to be scheduled in the system dashboard. The details from the script run can be found in the accompanying dataview in the related items section.

Sample Run Image

Variables

NameDescription
Automate_VariablesOutput of the SQL query to extract the rest of the variables
DateTimeDate the metrics were gathered
AgentsTotal Agent Count
Agents_Online_30_DaysTotal Agent Count online in the last 30 days
ServersTotal Servers Count
WorkstationsTotal Workstations Count
WindowsTotal Windows Count
Non_WindowsTotal Non-Windows Count
Servers_PatchingTotal Servers in Patching
Workstations_PatchingTotal Workstations in Patching
Servers_Missing_PatchesTotal Missing Patches for Servers in Patching
Workstations_Missing_PatchesTotal Missing Patches for Workstations in Patching
Tickets_30_DaysTotal Tickets generated by the RMM in the last 30 days
Time_Saved_All_ScriptsTotal time saved by automation in the last 30 days - All Scripts in Minutes
Time_Saved_ProVal_ScriptsTotal time saved by automation in the last 30 days - ProVal scripts in Minutes

Process

  • Executes a SQL query to create the custom table and fetch the data into the script.
  • Splits the Automate_Variables to set the rest of the variables.

Output

  • Custom Table
  • Dataview