Unifi USG SNMPv3 – Observium

Enable SNMPv3 in the Unifi Controller (Settings > Services > SNMP) and define a username and password. In Observium, go to Devices > Add Device Hostname: IP or hostname of target device.Protocol Version v3Transport UDPPort 161 (default)Timeout 1 (default)Retries 5 (default)Auth Level authPrivAuth Username username defined in Unifi Controller SNMPv3 settingsAuth Password password defined in … Continue reading Unifi USG SNMPv3 – Observium

Unifi Controller – repairing the database

How to Repair a Database on Debian-based Linux 1. Stop the UniFi service service unifi stop 2. Repair the database with this command: mongod --dbpath /usr/lib/unifi/data/db --smallfiles --logpath /usr/lib/unifi/logs/server.log --repair 3. Finally, restart the UniFi service: service unifi start NOTE: If this process was performed as root the file ownership may have changed. This can be … Continue reading Unifi Controller – repairing the database

Blocking Advertisements at the network level.

We all hate Internet ads. From those really intrusive ones that auto-play movies or sounds when you visit to the compromised ad networks used to drop malware and potentially unwanted programs right on to your device without knowing it. There are lots of solutions to dealing with such annoyances including popular browser ad-blockers like uBlock … Continue reading Blocking Advertisements at the network level.

Private VLANs

Private VLANs are used to isolate ports or groups of ports within the same primary VLAN/subnet. Shared resources like routers or servers are configured on promiscuous ports which can be reached by any member of a community or isolated private VLAN. Topology subnet This is the configuration for SW1 where VLAN 100 is the … Continue reading Private VLANs