We are using an API script to get the Site a computer is in. That works fine. When Jamf Pro is working.
What blob of code are you using in your script that exits out if Jamf Pro is not responding.
By "not responding" we don't mean using ping, we mean Jamf Pro is not responding.
healthCheck.html
value doesn't seem to do the trick, since []
shows even if API calls fail.
Basically if API call is successful, populate EA, else leave EA value alone.