Skip to main content

CWA - Update Table Data - UnifiController

Purpose

This document provides the requested data from the Unifi controller to the ConnectWise Automate environment.

Associated Content

ContentTypeFunction
EPM - Data Collection - Agnostic - Script - Get-UnifiControllerAgnostic ScriptReturns all available data from the Unifi Controller.
CWM - Automate - Script - Update Table Data - UnifiControllerScript1. Executes Agnostic Script 2. Creates Custom Tables 3. Populates those tables with data
CWM - Automate - Custom Table - plugin_proval_unificontrollerCustom TableHolds individual controller to Client / Location Data.
CWM - Automate - Custom Table - plugin_proval_unifidevicesCustom TableEach controller has devices; this information is stored here.
CWM - Automate - Custom Table - plugin_proval_unifiwirelessCustom TableEach site has wireless information; this information is stored here.

Implementation

To implement this solution, follow these steps. Is there any manual configuration that needs to happen for this solution to succeed?

  1. Import the Automate script into the environment.
  2. Identify the devices that either host the Unifi controller or target a machine that can access that controller, and run the script.
    • Notes:
      1. Depending on the size of the controller and the number of sites and/or devices that controller has, this script could take a while to complete.
      2. The script is written in a way that the SQL injection statement should never exceed the character limit of the Automate platform; the script should loop through until all requested information is uploaded to the table.

FAQ

(This section can be filled with frequently asked questions related to the implementation or usage of the solution.)