Skip to content
Merged
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
Binary file removed docs/assets/screenshots/client/admin.jpg
Binary file not shown.
Binary file removed docs/assets/screenshots/client/general3.png
Binary file not shown.
Binary file added docs/assets/screenshots/client/landing.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/assets/screenshots/client/logging1.png
Binary file not shown.
Binary file modified docs/assets/screenshots/client/login.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/assets/screenshots/client/services.png
Binary file not shown.
Binary file removed docs/assets/screenshots/client/settings.png
Binary file not shown.
Binary file removed docs/assets/screenshots/client/ssl.png
Binary file not shown.
Binary file not shown.
Binary file removed docs/assets/screenshots/client/ui_homepage2.png
Binary file not shown.
Binary file removed docs/assets/screenshots/client/user_profile.png
Binary file not shown.
152 changes: 152 additions & 0 deletions docs/pages/client/afterInstall.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,152 @@
---
toc_depth: 2
---

# Notifiarr Client After Install

Log into the Web UI to configure the client. Skim through the rest of this page for important information.

## Web UI

When you open the application on MacOS or Windows for the first time, you're
prompted for your API key. Enter it. Must provide the "All" API key from your
[Profile page on notifiarr.com](https://notifiarr.com/user.php?page=profile)

!!! info "API Key"
The Notifiarr client uses the API key for bi-directional authorization between notifiarr.com and the Client. Keep it safe, and never share it.

If you're on Linux or FreeBSD and installed with root, you should set the API
key in the config file @ `/etc/notifiarr/notifiarr.conf` or
`/usr/local/etc/notifiarr/notifiarr.conf`. If you installed on a seed box, set
the API key in the config file in your home folder.

Most users will use the API key as the password to login into the client's WebUI for
the first time. You can set a dedicated password after logging in.
**The default username is `admin`**.

The login URL will usually look like one of these. The default listen port is `5454`.

- `http://localhost:5454`
- `http://notifiarr`
- `http://192.168.1.10:5454`
- `http://notifiarr.yourdomain.com` (if you setup a [proxy](reverseProxy.md))

## Hostname

It is important that a static hostname is set so the site can keep track of multiple clients' settings.
Some examples of how to do that:

- Docker Run users add `-h notifiarr` to your `docker run` command.
- Docker Compose users add `hostname: notifiarr` to your docker-compose.yaml file.
- Unraid users add `-h notifiarr` to `Extra Parameters`.
- Kubernetes hostnames are automatically determined based on the pod name.

!!! note
Failure to set a hostname will result in duplicate clients that need to be
[fixed once a hostname is set](../../pages/website/clientConfig.md#resolving-duplicate-clients).

## WSL2 users

Add this volume to your Notifiarr container. This is used for a unique UUID for each client instance.

```yaml
volumes:
/etc/machine-id:/etc/machine-id
```

## Docker Users

When a new docker image is deployed with an empty `/config` folder mounted, the app will do two things:

- *If the API Key is not configured or invalid:* Create a new Web UI `admin` **password** and print it into the log file and docker logs.
- Write a brand new config to `/config/notifiarr.conf` file with this password already saved.
- Find the password by running `docker logs Notifiarr`.

Environment Variables - and the Unraid Template - override settings in the Config file.

!!! danger "Unraid Users"
The Official Unraid Template for Notifiarr Client contains the API Key and Plex Token as pre-defined inputs.
Normally, you can just go ahead and set those there. Alternatively, you can delete them from the template, and
configure these values using the client's Web UI. For consistency, we recommend setting the API key and Plex token
in the Unraid template.

## Log Files

Find your logs here:

- Linux: `/var/log/notifiarr/{app,http,services}.log`
- Log paths for linux apt/deb installations are hardcoded
- FreeBSD: `/var/log/syslog` (w/ default syslog)
- macOS: `~/.notifiarr/Notifiarr.log`
- Windows: `<home folder>/.notifiarr/Notifiarr.log`

In the Web UI log settings can be found under `Logging` in *Settings => Configuration*.
Log file contents can be viewed in the UI under *Insights => Log Files*.

## Plex Webhook

If you're using Plex, you can configure it to send Notifications. Unlike other integrations, Plex
sends all its webhooks through the client. We do this because Plex can get overzealous with how
much data it sends. The client can buffer these webhooks and filter duplicate notifications.
It also checks the Plex API for sessions after it gets a webhook so it can provide richer notifications.

!!!info "Plex Token"
You must configure the Plex URL and
[Plex Token](https://support.plex.tv/articles/204059436-finding-an-authentication-token-x-plex-token/)
in the client Web UI *Media Apps* page for this to work.

- In Plex Media Server, add this URL to webhooks:
- `http://localhost:5454/plex?token=plex-token-here`
- Replace `localhost` with the IP or host of the notifiarr client application.
- Replace `plex-token-here` with your plex token.
- **The Notifiarr application uses the Plex token to authorize incoming webhooks.**

## Snapshot Dependencies

This application can take a snapshot of your system at an interval and send
you a notification. Snapshot means system health like cpu, memory, disk, raid, users, etc.
Other data available in the snapshot: mysql health, `iotop`, `iostat` and `top` data.
Some of this may only be available on Linux, but other platforms have similar abilities.

If you monitor drive health you must have smartmontools (`smartctl`) installed.
If you use smartctl on Linux, you must enable sudo. Add the sudoers entry below to
`/etc/sudoers` and fix the path to `smartctl` if yours differs. If you monitor
raid and use MegaCli (LSI card), add the appropriate sudoers entry for that too.

To monitor application disk I/O you may install `iotop` and add the sudoers entry
for it, shown below. This feature is enabled on the website.

### Snapshot Sudoers

The following sudoers entries are used by various snapshot features. Add them if you use the respective feature.
You can usually just put the following content into `/etc/sudoers` or `/etc/sudoers.d/00-notifiarr`.
Make sure the 00-notifiarr file has the proper permissions needed `chmod 400 /etc/sudoers.d/00-notifiarr`.

```yml
# Allows drive health monitoring on macOS, Linux/Docker and FreeBSD.
notifiarr ALL=(root) NOPASSWD:/usr/sbin/smartctl *

# Allows disk utilization monitoring on Linux (non-Docker).
notifiarr ALL=(root) NOPASSWD:/usr/sbin/iotop *

# Allows monitoring megaraid volumes on macOS, Linux/Docker and FreeBSD.
# Rarely needed, and you'll know if you need this.
notifiarr ALL=(root) NOPASSWD:/usr/sbin/MegaCli64 -LDInfo -Lall -aALL
```

### Snapshot Packages

Install optional package(s) for snapshot data collection.

#### Windows

`smartmontools` - get it here <https://sourceforge.net/projects/smartmontools/>

#### Linux

- Debian/Ubuntu: `apt install smartmontools`
- RedHat/CentOS: `yum install smartmontools`
- **Docker**: It's already in the container. Lucky you! Just run the container in `--privileged` mode.
- **Synology**: `opkg install smartmontools`, but first get Entware:
- Entware (synology): <https://github.com/Entware/Entware-ng/wiki/Install-on-Synology-NAS>
- Entware Package List: <https://github.com/Entware/Entware-ng/wiki/Install-on-Synology-NAS>
2 changes: 1 addition & 1 deletion docs/pages/client/cloudflare.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Notifiarr Client - Cloudflare Configuration
# Notifiarr Client Cloudflare Proxy

!!! danger
None of this is required or necessary. **We recommend NOT exposing your
Expand Down
105 changes: 28 additions & 77 deletions docs/pages/client/configuration.md
Original file line number Diff line number Diff line change
@@ -1,43 +1,11 @@
# Notifiarr Client Configuration

Log into the Web UI to configure the client. Skim through the rest of this page for important information.
!!!danger "Deprecated Page"
This page is deprecated and the application configuration is now documented in the
application [Web UI](gui.md). Log into the user interface in a web browser to read
about all the configuration options.

## Web UI

When you open the application on MacOS or Windows for the first time, you're
prompted for your API key. Enter it. This is an "All" key from notifiarr.com.

If you're on Linux or FreeBSD and installed with root, you should set the API
key in the config file @ `/etc/notifiarr/notifiarr.conf` or
`/usr/local/etc/notifiarr/notifiarr.conf`. If you installed on a seed box, set
the API key in the config file in your home folder.

You will use the API key as the password to login into the client's WebUI for
the first time. You can set a dedicated password after logging in. The default
username is `admin`.

The login URL will usually look like one of these. The default listen port is `5454`.

- `http://localhost:5454`
- `http://notifiarr`
- `http://192.168.1.10:5454`

## Docker Users

When a new docker image is deployed with an empty `/config` folder mounted, the app will do two things:

- *If the API Key is not configured or invalid:* Create a new Web UI `admin` and print it into the log file and docker logs.
- Write a brand new config file with this password already saved.
- Find the password by running `docker logs Notifiarr`.

!!! danger "Unraid Users"
The Official Unraid Template for Notifiarr Client contains the API Key and Plex Token as pre-defined inputs.
Normally, you can just go ahead and set those there. Alternatively, you can delete them from the template, and
configure these values using the client's Web UI. For consistency, we recommend setting the API key and Plex token
in the Unraid template.

!!! info "Docker Users"
Note that Environment Variables - and the Unraid Template - override settings in the Config file.
**Use the Web UI to change the application configuration.**

## `.conf` File

Expand All @@ -48,39 +16,9 @@ client with automation such as puppet or ansible, then you should use environmen
variables for configuration. It's possible the config file format may change in the
future, and the env variables are more likely to remain unaffected.

**Use the WebUI to change the application configuration.**

- Must provide the "All" API key from your
[Profile page on notifiarr.com](https://notifiarr.com/user.php?page=profile)
- **The Notifiarr client uses the API key for bi-directional authorization between the Site and the Client.**

## Hostname

It is important that a static hostname is set so the site can keep track of multiple clients' settings.
Some examples of how to do that:

- Docker Run users add `-h notifiarr` to your `docker run` command.
- Docker Compose users add `hostname: notifiarr` to your docker-compose.yaml file.
- Unraid users add `-h notifiarr` to `Extra Parameters`.
- Kubernetes hostnames are automatically determined based on the pod name.

!!! note
Failure to set a hostname will result in duplicate clients that need to be
[fixed once a hostname is set](../../pages/website/clientConfig.md#resolving-duplicate-clients).

### WSL2 users

Add this volume to your Notifiarr container. This is used for a unique UUID for each client instance.

```yaml
volumes:
/etc/machine-id:/etc/machine-id
```

## Configuration Options

Config File and Environment Variables are listed below.
**This data is often out of date.**
The up-to-date data now lives in the client's Web UI.

- Any variable not provided takes the default.
Expand All @@ -91,6 +29,8 @@ The up-to-date data now lives in the client's Web UI.
`DN_SONARR_2_URL`, etc or by duplicating the starr block in the conf file.
- Note the header of `[[radarr]]`, `[[sonarr]]`, `[[readarr]]`, etc. is required.

**The following data is out of date, and may not be updated very often.**

### Global Configuration

| Config Name | Variable Name | Default / Note |
Expand Down Expand Up @@ -125,7 +65,21 @@ Recommend not messing with these unless instructed to do so.

*Note: You may disable the GUI (menu item) on Windows and MacOS by setting the env variable `USEGUI` to `false`.*

#### MySQL Snapshots
### Snapshots

Many of the snapshot settings are on the website, but a few are configured locally.

#### Nvidia

The app can collect Nvidia GPU stats for snapshot notifications.

| Config Name | Variable Name | Note |
| ------------------------ | ----------------------------- | ---------------------------------------------- |
| snapshot.nvidia.disabled | `DN_SNAPSHOT_NVIDIA_DISABLED` | Set this to true to turn off this feature. |

**Busids and smi path are missing. ^** This is incomplete.

#### MySQL

You may add mysql credentials to your notifiarr configuration to snapshot mysql
service health. This feature snapshots `SHOW PROCESSLIST` and `SHOW STATUS` data.
Expand Down Expand Up @@ -262,15 +216,7 @@ This has three different features:
- Notify all sessions on a longer interval (30+ minutes).
- Notify on session nearing completion (percent complete).
- Notify on session change (Plex Webhook) ie. pause/resume.

You [must provide the Plex Token](https://support.plex.tv/articles/204059436-finding-an-authentication-token-x-plex-token/) for this to work.
You also need to add a webhook to Plex so it sends notices to this application.

- In Plex Media Server, add this URL to webhooks:
- `http://localhost:5454/plex?token=plex-token-here`
- Replace `localhost` with the IP or host of the notifiarr application.
- Replace `plex-token-here` with your plex token.
- **The Notifiarr application uses the Plex token to authorize incoming webhooks.**
- See Plex Webhook in the [After Install](afterInstall.md#plex-webhook) page for more info.

| Config Name | Variable Name | Note |
| ----------- | --------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
Expand All @@ -289,6 +235,11 @@ your Plex users and it allows you to easily enable a service check.
| tautulli.url | `DN_TAUTULLI_URL` | No Default. Something like: `http://localhost:8181` |
| tautulli.api_key | `DN_TAUTULLI_API_KEY` | No Default. Provide URL and API key if you want name maps from Tautulli |

### Endpoint URL Relay

The application can poll (download) a URL on a schedule and relay it as a notification.
**This is incomplete.**

### Service Checks

The Notifiarr client can also check URLs for health. If you set names on your Starr apps they will be automatically checked and reports sent to Notifiarr.
Expand Down
Loading