Default Script Checks (Mac)

The following default scripts are available for the Mac Agent Script Check:

 

Script Category Default Script Check Description
Security FileVault Status Script type: Bash
  • Queries the computer to determine if FileVault is enabled. The script fails if FileVault is reported as off

Script Parameter

  • Script Timeout Range: Range: 1 - 3600 seconds (default 120 seconds)
Time Machine Status Check Script type: Bash
  • Queries the latest Time Machine snapshot to determine the backup status.
  • Generates an alert if the latest backup date is the specified number of days ago or more

Script Parameters

  • Days without backup: Number of days without a snapshot before the Check fails
  • Script Timeout Range: Range: 1 - 3600 seconds (default 120 seconds)
Maintenance Managed Patch Status Script type: Python
  • Queries /Library/Managed Installs/InstallInfo.plist for the installation status of patches deployed via Munki (including Managed Patch)
  • Does not report on patches deployed via other methods, including user installation
  • Generates an alert if patch installs fail, or if patches are queued and pending user logout
  • Can be used as a 24x7 check or Daily Safety Check (DSC). To add this check to a device, see Manage 24x7 or Daily Safety Checks
  • Results are reported in both the Script’s More Information section and in the Managed Patch For Mac Report

Script Parameter

  • Script Timeout Range: Range: 1 - 3600 seconds (default 120 seconds)