Posted on 01-25-2016 08:08 AM
Has anybody been able to find a way to pull a client machine's default distribution point using either the jamf binary or an API call?
Posted on 01-25-2016 08:21 AM
With the API you can GET on /JSSResource/computers/id/{id}/subset/General where {id} would be the computer's JSS ID but you can use any of the other options such as serial number ( /computers/serialnumber/{serialnumber}/subset/General ) or UUID ( /computers/udid/{udid}//subset/General ).
Either way the info you're looking for will be located here:
<General>
<distribution_point>
</distribution_point>
</General>
Posted on 01-25-2016 10:01 AM
@bpavlov Thanks! Will give that a try.
Posted on 01-25-2016 11:16 AM
@mattbomarc1 if that returns -1, then it means that the JSS is assigning per network segments. (Which it should).
What's the requirement for this?
Posted on 01-25-2016 11:36 AM
So we assign DP, SUS, and netboot via the network segments. Using the API I can see the SUS and Netboot assigned to each machine, but DP is blank. Very odd.
Posted on 01-25-2016 02:40 PM
Mine shows nothing for the DP on a few different machines also.
@bentoms I am wanting to setup a file share on each of our DP's to make some large ISO files available to client machines. I was hoping to pull down the default DP for each client and send them to the closest server.
Posted on 01-25-2016 02:52 PM
@roiegat & @mattbomarc1 Sorry. -1 is in the DB.
But nothing would be right as the JSS is assigning via network segments.
@mattbomarc1 Can you deliver these ISO's via the JSS? If no, can you get the Mac's IP & then figure out the DP?
Posted on 01-25-2016 03:06 PM
@bentoms Nope, they are like 18GB. I tried to DMG them previously and it just didn't seem to work.