Folders and files Name Name Last commit message
Last commit date
parent directory
View all files
This script creates a client-side LaunchDaemon which marks the Mac as "unhealthy" each morning shortly after midnight.
Adding this script to your Jamf Pro daily inventory update policy will mark the Mac as "healthy" each time the policy is executed successfully.
Leverage a vendor's ability to read client-side .plist
values to determine if the Mac is "healthy" or "unhealthy", based on the Mac's ability to update its inventory with the Jamf Pro server.
Review and adjust the Organization Variables
to fit your organization
Test locally (in an elevated Terminal session), replacing the following variable names with the actual values from your customized script:
Check the value of the client-side .plist
defaults read ${plistFilepath} "${key}"
Set Configuration Files to Reset — resetConfiguration
— to the desired option during testing
None (blank)
All
LaunchDaemon
Script
Uninstall
Upload the Jamf-Pro-Health-Check-EA.zsh Extension Attribute to your Jamf Pro server
Upload the Jamf-Pro-Health-Check.zsh script to your Jamf Pro server, using the following Script Parameter Labels:
Parameter 4: Script Log Location [ /var/log/org.churchofjesuschrist.log ] (i.e., Your organization's default location for client-side logs)
Parameter 5: Configuration Files to Reset (i.e., None (blank) | All | LaunchDaemon | Script | Uninstall )
Add the script to your inventory-related policies:
Daily inventory update
Self Service inventory update
You can’t perform that action at this time.