Skip to main content
Question

Find default DP

  • January 25, 2016
  • 7 replies
  • 46 views

Forum|alt.badge.img+5

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?

7 replies

bpavlov
Forum|alt.badge.img+18
  • Esteemed Contributor
  • January 25, 2016

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>

Forum|alt.badge.img+5
  • Author
  • Contributor
  • January 25, 2016

@bpavlov Thanks! Will give that a try.


bentoms
Forum|alt.badge.img+35
  • Hall of Fame
  • January 25, 2016

@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?


roiegat
Forum|alt.badge.img+16
  • Valued Contributor
  • January 25, 2016

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.


Forum|alt.badge.img+5
  • Author
  • Contributor
  • January 25, 2016

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.


bentoms
Forum|alt.badge.img+35
  • Hall of Fame
  • January 25, 2016

@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?


Forum|alt.badge.img+5
  • Author
  • Contributor
  • January 25, 2016

@bentoms Nope, they are like 18GB. I tried to DMG them previously and it just didn't seem to work.