Skip to main content
Connect UniFi Site Manager and the agent works network tickets with each client’s UniFi data, without a technician opening the console. When a ticket says the WiFi is down, an access point is offline or the internet keeps dropping, the agent reads the client’s UniFi site: offline devices, the device a computer connects through, ports and PoE, and the internet link’s latency and packet loss. It writes up what it found in an internal note. When a fix is needed, it proposes the smallest one, such as power-cycling one PoE port. Nothing changes until a technician approves the plan.

Prerequisites

  • A UI account that owns or administers your clients’ UniFi consoles. For an organization, use an organization API key.
  • Each console running firmware 5.0.3 or later, so Rallied’s cloud connection can reach its Network application. Rallied never connects to a console on its local network.

How to connect

1

Create a Site Manager API key

Sign in to UniFi Site Manager with the UI account that owns or administers your clients’ consoles. Open API in the left menu and create a Site Manager API key.
2

Connect UniFi

In Rallied, go to Settings → Integrations, find the Ubiquiti UniFi card and click Connect. Paste the key into Site Manager API key and click Connect.
Rallied checks the key with Site Manager before it saves it. It refuses a key that UniFi rejects, and a key whose account sees no console.
UniFi API keys have no scopes of their own. The key carries the permissions of the account that created it. That account must be an admin of every console where the agent should restart devices or change settings. A view-only account gives the agent reads only.

Mapping sites to clients

When you connect, Rallied syncs every site the key’s account can see, one per console site. Until a site is matched to a client, the agent can’t read or change any client’s network. Click Match companies at the top of the integration’s detail page and pick each site’s client. The Companies tab lists the sites with their site key. Click Sync sites there to pick up sites you’ve added since. A client has one UniFi site. If a client has a second site, it stays unmatched. On a client’s ticket, the agent reads and changes only that client’s site. It fills in the site key automatically, and refuses a device, WiFi network or guest that isn’t on that site. In the MSP admin Chat, the agent can also list every site with its health counts. To restart a device or change a setting from the chat, name the client: UniFi actions run only for a named client. End users can’t run any UniFi tool.

How the agent uses it

A typical “the WiFi is down in the office” ticket goes like this. The agent:
  1. Reads the site’s health: offline devices, WAN uptime, current internet issues, and whether the console answers through the cloud.
  2. Finds the offline access point and reads its state, uplink and ports.
  3. Follows the chain to the switch above it and checks that port’s PoE state.
  4. Proposes the smallest fix, such as power-cycling that PoE port, and waits for a technician’s approval.
  5. After approval, runs it, waits, then reads the device again before saying it’s fixed.
For tickets opened from a UniFi alert email, the agent first checks whether the alert is still true. A device that’s back online needs no action, so the agent notes its current uptime and proposes nothing. If the console doesn’t answer at all, the site is likely without power or internet. The agent reports that instead of proposing a restart. For “the internet is slow” tickets, the agent reads the internet link’s history: latency, packet loss and downtime windows, at 5-minute detail for the last 24 hours or hourly for up to 30 days. An ISP problem goes to a technician. The agent doesn’t restart the gateway to fix it.

Restarting devices

  • Power-cycling a PoE port reboots whatever is plugged into it, such as a camera, phone or access point. The port must be PoE with PoE turned on.
  • Restarting an access point or switch drops everything connected through it for about a minute.
  • The agent never restarts the gateway (console), because that takes the whole site offline. Its PoE ports can still be power-cycled.

Changing WiFi and guest access

Each change touches one WiFi network, device or guest, and one setting. The agent reads the current settings, changes that one setting and reads it back. The approval names the WiFi network or device and says what drops.
  • Turn a WiFi network on or off. Turning it off disconnects everyone on it.
  • Change a WiFi passphrase. Only on WPA2 or WPA3 Personal networks. Open and Enterprise (RADIUS) networks are refused. Rallied generates the passphrase, and the agent never sees it. You read it on the card in the admin chat, or the agent delivers it securely. Every device on the network must join again. When an unverified requester asks for this on a ticket, it waits for a technician. See Identity verification.
  • Block or unblock a device on one WiFi network, by MAC address. The network must use a block list. A network that uses an allow list is refused. Blocking is per network, so keeping a device off two networks takes two steps.
  • Let a guest device on for up to 7 days, with optional data and speed limits. There’s no unlimited option. The agent can also end a guest’s access.
  • Create guest vouchers: up to 50 at a time, each valid for up to 30 days from first use. The agent never sees the codes. It hands them over with a secure delivery or puts them in an internal note for the technician.
If UniFi accepts a change but the agent can’t confirm it on the read-back, the agent says the result is unknown. It reads the setting again before asking for anything more, and never repeats the change blindly.

Limits

  • The agent doesn’t change the gateway or the site’s default network. Make those changes in the UniFi console.
  • UniFi doesn’t tell the agent which switch port a computer is plugged into or its WiFi signal strength. The agent sees only the device the computer connects through.
  • Turning a network (VLAN) on or off is off by default. To let the agent request it, set unifi-set-network-enabled to Approval needed on the Policies tab.

Tools

To change a default, open the Policies tab on Settings → Integrations → Ubiquiti UniFi. See Approval settings.

See also