Mac Agent Mass Deployment using JAMF

This topic describes how to deploy Mac Agents using JAMF.

Prerequisites for Mass Deployment

  • You need the observeit-agent-OSX-<version>.dmg located in the ObserveIT Mac Agent installation directory folder. This file includes the ObserveIT package file observeit-agent-OSX-<version>.pkg.

  • Copy the observeit-agent-OSX-<version>.pkg package file to your desktop or another folder that is easily accessible.

    From version 7.12.0, before deploying, you must download the script file with authentication details. This script file  preinstall.sh is downloaded from the Web Console ConfigurationSettingsService Settings. (See Configuring Service Settings.)

    For more information about the files, see Mac Agent Files.

Mac configuration profile must be configured and installed in order for the Agent to record. Do not remove the configuration profile from an endpoint with an installed Agent. See What You Need to Know about Mac Agent Setup.

Preparing Silent Installation

  1. From the JAMF Web console dashboard, click the Computer button and select Configuration Profiles from the menu on the left-side. The Configuration Profiles screen displays.
  2. Click the Upload button.

  3. Choose the configuration file:

    Make sure you select the configuration profile for the macOS version you are using.

    To upgrade to Big Sur, if you are using a version 7.11.0, use IT Viewer macOS 11.x.mobileconfig or IT Viewer macOS 11.x.signed.mobileconfig.

    To access the configuration profile, extract or mount the observeit-agent-OSX-<version>.dmg.

    The file is uploaded and the Configuration Profiles window opens.

  4. Select the Options tab and do the following:

    1. Set the Distribution Method to Install Automatically.

    2. Set the Level to Computer Level.

  5. Select the Scope tab and in the Add Deployment Targets area, add the relevant computer.

  6. Click Save and close JAMF.
  7. From System PreferencesProfile, do one of the following to verify that the process controller is granted access:

    • For macOS Catalina, verify the process controller is allowed access to data and applications, as well as control of the computer.

Removing the Process Controller Configuration Profile

  1. From the JAMF Web console dashboard, click the Computer button and select Configuration Profiles from the menu on the left-side. The Configuration Profiles screen displays.

  2. Select the Scope tab and click the Edit button at the bottom of the screen.

  3. From the list of configuration profiles, select the one you want to remove. Click Remove and Save.

    You are prompted to select the redistribution option after the configuration profile is removed.

  4. Click Save the configuration profile.

    Optionally, you can modify this configuration profile and change the process name from its default, "logger".

Modifying the Configuration Profile for Obfuscation

Modify the configuration profile for obfuscation.

To access the profile, extract or mount the observeit-agent-OSX-<version>.dmg.

For macOS Big Sur, access IT Viewer macOS 11.mobileconfig and for later macOS versions, access IT Viewer macOS 10.x.mobileconfig.

  1. From the JAMF Web console dashboard, click the Computer button and select Configuration Profiles from the menu on the left-side. The Configuration Profiles screen displays.

  2. Select the IT Viewer Configuration policy and then select Privacy Preferences Policy Control option.

    The Privacy Preferences Control screen displays.

  3. Click Edit and in App Access area, in the Identifier field, replace "logger" with the name you want. (In the example, "logger" is replaced with "it_monitor".)

  4. Scroll down to the next App Access area, and in the identifier field, replace "logger" with the name you want.

  5. Save your changes.

Uploading the Package file to JAMF

The package file contains parameters for installing the Mac Agent.

To see and modify the parameters, see Mac Agent Files.

  1. Upload the package you want to deploy.

  2. Open the JAMF Web Console Dashboard main screen.

  3. Click the Settings icon and select Computer Management from the All Settings menu.

  4. The Computer Management area displays.

  5. Click the Packages icon and the Packages page opens with the list of packages.

  6. Click the New button to add the observeit-agent-OSX-<version>.pkg package file that you copied to your desktop (or other folder).

    The New Package page opens.

  7. Click the Choose File button to select the Filename of the package that will be uploaded to the JAMF server.

    For example: observeit-agent-OSX-7.8.2.20.pkg.

  8. Select the file and click Choose.

  9. In the Display Name field, you see the name of the package you selected.

  10. Click Save and the package is added.

Uploading the Preinstall Script to JAMF

From version 7.12, the preinstall script is downloaded from the Web Console. See Configuring Service Settings.

  1. Upload the preinstall script so you can modify the relevant parameters. These parameters will be applied to when the install is run.

  2. Open the preinstall script and copy it's contents using a text editor.

    If you are using macOS Catalina, by default screen captures are not recorded, only meta-data is recorded. To configure the Screen Recording Prompt Pop-Up before you copy the preinstall script, see Modifying the preinstall script.

  3. From the main dashboard, click the Settings icon and select Computer Management from the All Settings menu.

  4. Click the Scripts icon and the Scripts page opens.

  5. Enter the Display Name.

  6. Click the New button to copy the preinstall script file to the New Script page.

  7. Modify the relevant fields in the script and click Save. For information on how to modify the fields, see Modifying the preinstall script.

  8. From the Options tab, set the Priority to Before so the script runs before the package.

  9. Click Save.

Creating a Policy

Create a policy for deploying to the relevant computers. The policy includes the package file and the script with the parameters you defined.

  1. From the JAMF Web Console Dashboard, click the Computer button and select Policies from the menu.

  2. The Policies page displays listing the currently defined policies.

  3. Click the New button to create a policy.

Defining the Parameters of the New Policy

  1. In the Options tab, under General:

  1. Specify a Display Name for the policy.

  1. Make sure that the Enabled check box is selected, so that you can run the policy.

  1. Under Trigger, select Recurring Check-in, so that the policy will be applied to all the relevant computers at the next time slot (usually every 15 minutes if the JAMF server is up).

  1. Select the frequency at which to run the policy.

Adding and Configuring the Package in the Policy

  1. From the Policies > Options tab, click Packages. Options> General.

  1. Select Configure, and then from the list of packages, click the Add button alongside the package you want to deploy in the policy.

  2. In the Options tab, under Packages, select the Install action from the drop-down list.

  1. In the Scope tab, in the Selected Deployment Targets area , select the Mac Agents on which to deploy the package. Click the Add button alongside each target Agent. Then click Done.

    The Mac Agents listed as available deployment targets must have the JAMF Agent installed.

    If you want to run the package yourself, under the Self Service tab, enable the Make the policy available in Self Service check box.

  1. Click Save when you have finished configuring the Package for the policy.

Adding and Configuring the Script in the Policy

  1. From the Policies > Options tab, click Scripts.

  1. Select Configure, and then from the list of scripts, click the Add button alongside the script you want to add to the policy.

  2. In the Options tab, under Scripts, make sure the priority for running the script is set to Before.

  1. In the Scope tab, select the Mac Agents on which to deploy the script. Click the Add button alongside each target Agent. Then click Done.

  1. Click Save when you have finished configuring the Script for the policy.

Deploying the Policy

After creating a policy with the package and script, the JAMF Agent on the local computer will deploy the policy next time it checks in with the JAMF server (by default every 15 minutes).

You can monitor the progress of the deployment in the JSS Dashboard.

  1. To check the installation logs, click the Logs button for the selected policy. For example:

    The status of the policy deployment will be displayed for each Agent.

  2. To investigate a specific Agent’s installation log, click the Show toggle alongside it.

    The details of the installation script are displayed. For example:

    Note the following:

  3. Clicking the Hide toggle closes the installation log details.

  4. Clicking the Flush button will trigger a new deployment of the policy.

  5. In the event of deployment failure, clicking the Flush All Errors button triggers a new deployment on any Agents which had errors on deployment.

  6. Clicking Flush All triggers a new deployment on all the Agents regardless of installation success or failure.

    The status of all deployment for all the policies is displayed in the JSS Dashboard, as shown in the following example:

Related Topics:

Mac Agent Uninstall using JAMF

Mac Agent Deployment Overview

Mac Agent Mass Deployment using VMware AirWatch