Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation: Inform about url encoded values in synology widgets #4411

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/widgets/services/diskstation.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ An optional 'volume' parameter can be supplied to specify which volume's free sp

Allowed fields: `["uptime", "volumeAvailable", "resources.cpu", "resources.mem"]`.

Username & password will be part of the url. You should use URL encoded value!

To access these system metrics you need to connect to the DiskStation (`DSM`) with an account that is a member of the default `Administrators` group. That is because these metrics are requested from the API's `SYNO.Core.System` part that is only available to admin users. In order to keep the security impact as small as possible we can set the account in DSM up to limit the user's permissions inside the Synology system. In DSM 7.x, for instance, follow these steps:

1. Create a new user, i.e. `remote_stats`.
Expand Down
2 changes: 2 additions & 0 deletions docs/widgets/services/downloadstation.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ Note: the widget is not compatible with 2FA.

Allowed fields: `["leech", "download", "seed", "upload"]`.

Username & password will be part of the url. You should use URL encoded value!

```yaml
widget:
type: downloadstation
Expand Down