Install and persist the ControlD daemon (ctrld) on UniFi OS devices (UCG Fiber / UDM / CloudKey, etc) and report a daily check to Healthchecks.io with:
- success/failure (exit code)
- execution time (runtime measurement)
- persistence across UniFi OS upgrades (everything under
/data+ on-boot reapply)
This is what you should see: a Started event followed by OK, with a duration shown.
Warning
This command downloads and executes code from the internet — review the repository contents before running it.
curl -fsSL https://raw.githubusercontent.com/x86txt/unifi_contrld/main/scripts/install.sh \
| bash -s -- \
--host 192.168.1.1 \
--user root \
--hc-uuid a1b2c3d4-e5f6-4789-0123-456789abcdef \
--profile prodgit clone https://github.com/x86txt/unifi_contrld.git
cd unifi_contrld
./scripts/install.sh \
--host 192.168.1.1 \
--user root \
--hc-uuid a1b2c3d4-e5f6-4789-0123-456789abcdef \
--profile prodDry-run (prints actions, makes no changes):
./scripts/install.sh \
--host 192.168.1.1 \
--user root \
--hc-uuid <UUID> \
--profile prod \
--dry-runMIT
Need professional DevOps or security consulting? Visit secunit.io for remote consulting services.
