How to deploy Zluri Mac Agent through Jamf Pro?

To deploy Mac Agent through JAMF, You need to have an active Jamf Integration. To integrate Jamf with Zluri, Please navigate to 'Sources->Integrations' to connect Jamf with Zluri. It takes 24-48 hours for the sync to complete. Once the first sync is complete, you can proceed with the below steps.

 

Please follow the steps below in order to integrate the Zluri scripts and .pkg into the Jamf Pro.

 

  1. Login to the jamfpro https://[instance].jamfcloud.com/

  2. Visit 'Settings' at the bottom right corner, Search 'Category' in the search box and create a new category, name such as zluri-orgname. You can follow the steps here to create a category.

  3. Create a new policy. You can follow the documentation here to create a policy.

     

  4. Download the package from this link and Upload the package in Jamf. You can follow the documentation here to upload the package.

    1. Under 'Computer Management', Select package.

       

    2. Click + New

       

    3. Under Category, choose the category that was created in Step 2

    4. Under Filename, choose the .pkg and let it upload and click Save.

  5. Now, to add the scripts, follow the Jamf pro documentation:

    1. Ensure that you name the preinstall script “preinstall” and paste the script’s contents into the scripts area.

      1. ZLURI_PERMISSION=$(sqlite3 "/Library/Application Support/com.apple.TCC/TCC.db" "SELECT COUNT(*) FROM access WHERE service='kTCCServiceScreenCapture' AND client='com.zluri' AND auth_value=2;")
        if [[ "$ZLURI_PERMISSION" -gt 0 ]] then exit 0
        else echo "Permission is not there for Zluri"
        fi
        exit 0

         

    2. Choose the Category as the category created

    3. Now, under Options, choose Priority as Before

       

    4. Now repeat the same steps for postinstall script

      1. UUID=$(system_profiler SPHardwareDataType | awk '/UUID/ { print $3; }')
        #assigning random org_token
        ORG_TOKEN=<org_token>
        # assigning mdm type
        TYPE="jamf"
        /Applications/zluri.app/Contents/MacOS/zluri --UUID="$UUID" --org_token="$ORG_TOKEN" --mdm-mac-type="$TYPE"

         

        Replace the org_token with the token provided to you by the Zluri customer success team.

    5. Name the script as post install

    6. Choose the Priority under options pane as “After”.

    7. Save the settings.

  6. Now, Choose Policies from the left-menu, choose the Policy you created in Step 1

     

    1. Under Options, in Packages, Choose Distribution point as Cloud distribution point as shown in the screenshot above.

    2. Select the package that you uploaded in Step 4-d.

       

    3. Then, under the Scope pane, set All Computers under Target Computers and All Users under Target Users and Save.

    4. Again, go to Options under the Policies, Click on Scripts.

       

    5. Select preinstall script, set the priority to Before and for post install select After.

    6. And finally, in the General pane, Ensure to click the Enabled checkbox

       

    7. Enable the Recurring Check-in checkbox to ensure the policy runs every 15 mins

    8. Set the Execution Frequency to Ongoing

       

  7. Now that you’ve performed all the steps properly, go to Policies from the left-sidebar menu;

     

Here, you’ll see an overview of the policy (here ZLURI DA MDM) and the scripts and .pkg in the right order to execute.

 

The above steps will ensure that the Policy runs on the targeted devices and runs the preinstall.

 

After following the above steps, the policy is ready to install the Zluri app in the targeted devices.

 

Note: Please note that the updated logs of policy run in the targeted systems might be delayed.

Can’t find what you are looking for? Let us help you!

How to deploy Zluri Mac Agent through Jamf Pro?

Modified on Fri, 19 Apr at 4:13 PM

To deploy Mac Agent through JAMF, You need to have an active Jamf Integration. To integrate Jamf with Zluri, Please navigate to 'Sources->Integrations' to connect Jamf with Zluri. It takes 24-48 hours for the sync to complete. Once the first sync is complete, you can proceed with the below steps.

 

Please follow the steps below in order to integrate the Zluri scripts and .pkg into the Jamf Pro.

 

  1. Login to the jamfpro https://[instance].jamfcloud.com/

  2. Visit 'Settings' at the bottom right corner, Search 'Category' in the search box and create a new category, name such as zluri-orgname. You can follow the steps here to create a category.

  3. Create a new policy. You can follow the documentation here to create a policy.

     

  4. Download the package from this link and Upload the package in Jamf. You can follow the documentation here to upload the package.

    1. Under 'Computer Management', Select package.

       

    2. Click + New

       

    3. Under Category, choose the category that was created in Step 2

    4. Under Filename, choose the .pkg and let it upload and click Save.

  5. Now, to add the scripts, follow the Jamf pro documentation:

    1. Ensure that you name the preinstall script “preinstall” and paste the script’s contents into the scripts area.

      1. ZLURI_PERMISSION=$(sqlite3 "/Library/Application Support/com.apple.TCC/TCC.db" "SELECT COUNT(*) FROM access WHERE service='kTCCServiceScreenCapture' AND client='com.zluri' AND auth_value=2;")
        if [[ "$ZLURI_PERMISSION" -gt 0 ]] then exit 0
        else echo "Permission is not there for Zluri"
        fi
        exit 0

         

    2. Choose the Category as the category created

    3. Now, under Options, choose Priority as Before

       

    4. Now repeat the same steps for postinstall script

      1. UUID=$(system_profiler SPHardwareDataType | awk '/UUID/ { print $3; }')
        #assigning random org_token
        ORG_TOKEN=<org_token>
        # assigning mdm type
        TYPE="jamf"
        /Applications/zluri.app/Contents/MacOS/zluri --UUID="$UUID" --org_token="$ORG_TOKEN" --mdm-mac-type="$TYPE"

         

        Replace the org_token with the token provided to you by the Zluri customer success team.

    5. Name the script as post install

    6. Choose the Priority under options pane as “After”.

    7. Save the settings.

  6. Now, Choose Policies from the left-menu, choose the Policy you created in Step 1

     

    1. Under Options, in Packages, Choose Distribution point as Cloud distribution point as shown in the screenshot above.

    2. Select the package that you uploaded in Step 4-d.

       

    3. Then, under the Scope pane, set All Computers under Target Computers and All Users under Target Users and Save.

    4. Again, go to Options under the Policies, Click on Scripts.

       

    5. Select preinstall script, set the priority to Before and for post install select After.

    6. And finally, in the General pane, Ensure to click the Enabled checkbox

       

    7. Enable the Recurring Check-in checkbox to ensure the policy runs every 15 mins

    8. Set the Execution Frequency to Ongoing

       

  7. Now that you’ve performed all the steps properly, go to Policies from the left-sidebar menu;

     

Here, you’ll see an overview of the policy (here ZLURI DA MDM) and the scripts and .pkg in the right order to execute.

 

The above steps will ensure that the Policy runs on the targeted devices and runs the preinstall.

 

After following the above steps, the policy is ready to install the Zluri app in the targeted devices.

 

Note: Please note that the updated logs of policy run in the targeted systems might be delayed.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article