<.link navigate={~p"/agents/#{@agent_token.id}"} class="text-sm font-medium text-blue-600 hover:text-blue-700 dark:text-blue-400 dark:hover:text-blue-300" > Back to agent

Edit Agent

Update the agent name. The authentication token cannot be changed.

<.form for={@form} id="edit-agent-form" phx-change="validate" phx-submit="save" class="px-6 py-5" >
<.input field={@form[:name]} type="text" label="Agent Name" placeholder="e.g., Datacenter Agent" required />

A descriptive name to identify this agent in your organization.

<.input field={@form[:allow_remote_debug]} type="checkbox" label="Allow Remote Debugging" />
<.icon name="hero-exclamation-triangle" class="h-5 w-5 flex-shrink-0 mt-0.5" />

Performance Impact

When enabled, the server logs all SNMP data and messages for this agent. This generates significant log volume and should only be enabled temporarily for troubleshooting.

Enable verbose logging for troubleshooting SNMP discovery and polling issues. Only organization members can toggle this setting.

<.link navigate={~p"/agents/#{@agent_token.id}"} class="text-sm font-semibold text-gray-700 dark:text-gray-300 hover:text-gray-900 dark:hover:text-white" > Cancel <.button type="submit" phx-disable-with="Saving..."> Save Changes