IP pickup

ifbell
Contributor

I am trying to find out how often the IP information of a machine is updated. Is it only when it phones home? Is it when we run an inventory? Is it both? We are trying to run recon on several machines and trying to connect with them seems to be a bit of hit and miss since we only have the last reported IP.

1 ACCEPTED SOLUTION

mm2270
Legendary Contributor III

Both. So, during the next check in interval the IP will get updated in the JSS. And of course it gets update at inventory time as well.
In our case it happens more or less immediately because we have a process that checks connection to the internal network whenever a network change occurs and sets firewall settings appropriately.
You could build something similar if you wanted immediate update of IP info. Basically a LaunchDaemon that would use /Library/Preferences/SystemConfiguration as a WatchPath and upon change, just do a 'sudo jamf log' That will be enough to get the new IP info back into the JSS.

View solution in original post

1 REPLY 1

mm2270
Legendary Contributor III

Both. So, during the next check in interval the IP will get updated in the JSS. And of course it gets update at inventory time as well.
In our case it happens more or less immediately because we have a process that checks connection to the internal network whenever a network change occurs and sets firewall settings appropriately.
You could build something similar if you wanted immediate update of IP info. Basically a LaunchDaemon that would use /Library/Preferences/SystemConfiguration as a WatchPath and upon change, just do a 'sudo jamf log' That will be enough to get the new IP info back into the JSS.