Add a Managed Patch Status script check

Configure the Managed Patch Status script check to view the most recent Managed Patch installations to Mac devices, and to receive alert notifications when a patch fails, is queued, or is in a pending state.

Managed Patch Status script check and parameters

  • 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.
  • Results are reported in both the Script’s More Information section and in the View the Managed Patch for Mac report.
  • Script type: Python
  • Parameter Description
    Script Timeout Range Range: 1 - 3600 seconds (default 120 seconds)

You can suppress check alerts until the Check failures exceed a configured number of consecutive failures. For more information, see Configure alert thresholds to suppress alerts.

To add a Managed Patch Status script check:

  1. On the All Devices view North-pane, select the device where you want to add the check.
  2. In the South-pane, go to the Checks tab.
  3. Select Add Check and choose the check frequency you want to use — Add 24x7 Check or Add DSC Check.

  4. Select Script Check.
  5. Select Managed Patch Status and click Next.

    Scripts are grouped by default script categories (if applicable) and User Defined Scripts depending on the Operating system.

  6. Configure the parameters for the script.

    To add the check to multiple devices at the same time, click Multiple Devices.

  7. To Run an Automated Task when a check fails, select Assign a Task after creating the Check.
  8. Click Finish to save and apply.
  9. If you selected Assign a Task after creating the Check:
    1. Select the Automated Task script and select Next to configure.
    2. Enter any required Command Line parameters or Script parameters and select Next.
    3. Set maximum permitted execution time for the script (optional).
    4. Select Finish to save and apply.

To edit a Managed Patch Status script check:

  1. On the All Devices view North-pane, select the device.
  2. Go to the Checks tab in the South-pane.
  3. Right-click the Managed Patch Status script check and select Edit Check .
  4. Edit the script details and parameters.
  5. Select OK to save and apply.

To delete a Managed Patch Status script check:

  1. On the All Devices view North-pane, select the device.
  2. Go to the Checks tab in the South-pane.
  3. Right-click the Managed Patch Status script check and select Delete Check .
  4. Enter the password you used to sign into N-sight RMM to confirm removal
  5. Select OK to delete.