The Devices section within Addigy is an excellent tool for viewing and taking action on your managed devices. By default, the Device Name column in the table displays the device's hostname. However, you may wish to change a device's name in order to make it more user-friendly.
There are several ways that this can be accomplished:
1. Change your Addigy Account Settings to display device names by their localhost name instead of their hostname.
2. Change the device's hostname through commands.
3. Override the device fact for the device's name in the Devices table.
Changing the Addigy Settings
1. From the portal, click the arrow in the upper right corner, where your username is displayed.
2. Click the Account Settings tab.
3. Scroll down to the slider titled Use LocalHost Name as Device Name. Toggling this slider makes Addigy display the device names by using their localhost names. It should be noted that this configuration will affect all of the devices, so this may not be a viable solution if you are only concerned with changing the name of one device.
Changing the Device's Name through Commands
One method for changing the device name is to run commands. Our Running Commands article provides a thorough explanation of how to push commands to your devices through Addigy.
The following commands can be used to change the various name parameters of your machines:
sudo scutil --set HostName [Desired device name]
sudo scutil --set LocalHostName [Desired device name]
sudo scutil --set ComputerName [Desired device name]
The device name may not change until the DNS cache has been cleared, which can be accomplished by running the following command:
killall -HUP mDNSResponder
Changing a Device Name using Addigy MDM
If the device is enrolled into Addigy MDM, you can adjust the Device Name using GoLive > Overview:
Overidding Device Facts
This article, Overriding Device Facts, provides an excellent guide for this particular method.