Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. Unifi OS Server - How to detect as "Wireless Controller"

Unifi OS Server - How to detect as "Wireless Controller"

Scheduled Pinned Locked Moved Support
2 Posts 2 Posters 169 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K
    K
    KSAIT
    wrote last edited by
    #1

    Hi there,

    In the 6.0.2 release notes it said
    Added wireless controller bridge for UniFi controllers (PR #255)

    What would we need to do to enable this?
    We don't have a Unifi appliance, rather a basic Linux Ubuntu VM that runs Unifi OS Server https://help.ui.com/hc/en-us/articles/34210126298775-Self-Hosting-UniFi

    The VM has a NetXMS agent on & we've added the server into the wireless domain , but doesn't currently then pick up the Unifi install on the device at all - Is there a way at all to have NetXMS pick this up? I don't believe the server OS spits out SNMP at all, so it might not be possible but thought I'd ask!

    Kind regards

    1 Reply Last reply
    0
    • A
      A
      Alex Kirhenshtein
      wrote last edited by
      #2

      Hi,

      Yes, this works with a self-hosted UniFi OS Server, and SNMP isn't needed. The bridge doesn't use the node at all. The NetXMS server calls the UniFi Network API directly, and everything is configured as custom attributes on the wireless domain object. You can remove the VM node from the domain, because it does nothing in this mode.

      1. Add Module = wlcbridge to netxmsd.conf and restart the server.

      2. On the wireless domain, add these custom attributes:

      wlcbridge        UniFi
      unifi.base-url   https://<vm-ip>:<port>    # same URL you open the UniFi web UI on
      unifi.login      <local admin account>
      unifi.password   <password>                # plain text, or encrypted with: nxencpasswd <login> <password>
      unifi.site       <site id>                 # only if not "default"
      

      Instead of login/password you can set unifi.token to an API key created in the Network application. Login/password is the safer option, though. The account has to be a local one, not a UI.com cloud account.

      1. Run a configuration poll on the wireless domain. The output should show "Reading access point list via bridge interface UniFi" and the number of access points reported. The access points are created under the domain.

      Important detail: leave unifi.isAppliance unset. The name is misleading: true is for the old standalone Network Application (the one on port 8443), and UniFi OS Server needs it unset.

      If the poll reports "Cannot retrieve access point list", set debug level 7 for tag wlcbridge.unifi. The server log will then show the exact URL being requested and the HTTP code that came back.

      1 Reply Last reply
      0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      Powered by NodeBB Contributors
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups