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 General 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 gear icon in the upper right corner, where your username is displayed.

2.  Click the General 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 command can be used to change the device's hostname:

sudo scutil --set HostName [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

Overidding Device Facts

This article,  Overriding Device Facts, provides an excellent guide for this particular method.