Skip to content

Commit

Permalink
Upd readme
Browse files Browse the repository at this point in the history
  • Loading branch information
joente committed Sep 15, 2023
1 parent 8a0ebdb commit 94dfb5c
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,24 @@ infrasonar apply-assets missing.yaml -a -d

> :point_right: Do not forget to use **-a** to prevent removing other collectors and use **-d** to perform a dry-run for verifying the changes.
## UniFi devices

Generate YAML (or JSON) with UniFi devices which are found on a UniFi Controller asset(s) but wherefore no asset with the `unifidevice` collector is found. This YAML can then be used to install the UniFi Device collector with a single command.

Example: _(in the example below, 123 is a container Id)_

```bash
infrasonar unifi-devices 123 > missing.yaml
```

Review the missing.yaml file _(open in editor or apply a dry-run)_

```
infrasonar apply-assets missing.yaml -a -d
```

> :point_right: Do not forget to use **-a** to prevent removing other collectors and use **-d** to perform a dry-run for verifying the changes.
## Help

```
Expand Down

0 comments on commit 94dfb5c

Please sign in to comment.