Skip to content

Commit 73a8957

Browse files
committed
Update health checks page and images
1 parent 9d905bb commit 73a8957

26 files changed

+144
-33
lines changed

docs/.markdownlint.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
},
3232
"link-image-style": {
3333
"collapsed": false,
34-
"shortcut": false,
34+
"shortcut": true,
3535
"url_inline": false
3636
},
3737
"no-duplicate-heading": {
-4.58 KB
Loading

docs/pages/client/afterInstall.md

Lines changed: 74 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,13 @@ toc_depth: 2
44

55
# Notifiarr Client After Install
66

7-
Log into the Web UI to configure the client. Skim through the rest of this page for important information.
7+
Do these things:
8+
9+
1. [Log into the Web UI](#web-ui) to configure the client.
10+
1. [Set a Hostname](#hostname).
11+
1. [Setup Plex Webhook](#plex-webhook).
12+
1. [Install Snapshot Dependencies](#snapshot-dependencies).
13+
1. Do all the things under [Configure the client](#configure-the-client).
814

915
## Web UI
1016

@@ -21,8 +27,8 @@ key in the config file @ `/etc/notifiarr/notifiarr.conf` or
2127
the API key in the config file in your home folder.
2228

2329
Most users will use the API key as the password to login into the client's WebUI for
24-
the first time. You can set a dedicated password after logging in.
25-
**The default username is `admin`**.
30+
the first time. You can set a dedicated password after logging in by clicking your
31+
*username in the menu => Trust Profile*. **The default username is `admin`**.
2632

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

@@ -41,9 +47,10 @@ Some examples of how to do that:
4147
- Unraid users add `-h notifiarr` to `Extra Parameters`.
4248
- Kubernetes hostnames are automatically determined based on the pod name.
4349

44-
!!! note
50+
!!!note
4551
Failure to set a hostname will result in duplicate clients that need to be
4652
[fixed once a hostname is set](../../pages/website/clientConfig.md#resolving-duplicate-clients).
53+
**Restart the client if you set or change the hostname.**
4754

4855
## WSL2 users
4956

@@ -70,19 +77,6 @@ Environment Variables - and the Unraid Template - override settings in the Confi
7077
configure these values using the client's Web UI. For consistency, we recommend setting the API key and Plex token
7178
in the Unraid template.
7279

73-
## Log Files
74-
75-
Find your logs here:
76-
77-
- Linux: `/var/log/notifiarr/{app,http,services}.log`
78-
- Log paths for linux apt/deb installations are hardcoded
79-
- FreeBSD: `/var/log/syslog` (w/ default syslog)
80-
- macOS: `~/.notifiarr/Notifiarr.log`
81-
- Windows: `<home folder>/.notifiarr/Notifiarr.log`
82-
83-
In the Web UI log settings can be found under `Logging` in *Settings => Configuration*.
84-
Log file contents can be viewed in the UI under *Insights => Log Files*.
85-
8680
## Plex Webhook
8781

8882
If you're using Plex, you can configure it to send Notifications. Unlike other integrations, Plex
@@ -118,7 +112,7 @@ for it, shown below. This feature is enabled on the website.
118112

119113
### Snapshot Sudoers
120114

121-
The following sudoers entries are used by various snapshot features. Add them if you use the respective feature.
115+
The following sudoers entries are used by various snapshot features. Add them if you use the respective feature. **Restart the client after modifying sudoers entries.**
122116
You can usually just put the following content into `/etc/sudoers` or `/etc/sudoers.d/00-notifiarr`.
123117
Make sure the 00-notifiarr file has the proper permissions needed `chmod 400 /etc/sudoers.d/00-notifiarr`.
124118

@@ -150,3 +144,65 @@ Install optional package(s) for snapshot data collection.
150144
- **Synology**: `opkg install smartmontools`, but first get Entware:
151145
- Entware (synology): <https://github.com/Entware/Entware-ng/wiki/Install-on-Synology-NAS>
152146
- Entware Package List: <https://github.com/Entware/Entware-ng/wiki/Install-on-Synology-NAS>
147+
148+
## Configure The Client
149+
150+
![Profile Page](./images/profile.png){ width="250" align="right" }
151+
152+
- **This is your after install check list.**
153+
154+
It does not cover everything, but it's the things you should get done first.
155+
You should definitely check out the stuff above though, a lot of it is important prerequisites.
156+
157+
### Set a password
158+
159+
Set a password, or configure your auth proxy header on the *Trust Profile* page.
160+
Find this page by clicking your username in the Web UI menu. There's a screenshot
161+
of it to the left; click that to see a larger version.
162+
163+
### Setup Log Files
164+
165+
Head to the *Settings => Configuration* page and scroll down to *Logging*.
166+
If you don't see an *Application Log File* (and only a placeholder), then add one,
167+
and click Save Configuration.
168+
169+
![Logging Configuration](./images/logging.png){ width="400" }
170+
171+
Click the Folder icon to open a server-side file browser.
172+
You may optionally add Services, HTTP and Debug log files. These are not strictly necessary.
173+
174+
![Starr Page](./images/starr.png){ width="250" align="right" }
175+
176+
### Configure Apps
177+
178+
!!!info "Test Button"
179+
Click the Test button while adding instances. Make sure it works. The test button is
180+
the green double-check mark button next to the URL.
181+
182+
1. On the Starr Apps pages, configure your apps.
183+
1. We recommend adding them all. If you have all the starr apps, add them all.
184+
1. All you need is a URL and an API key.
185+
1. If you turn on database backup checks (on the website), a username and password is also required.
186+
1. Add all your download apps too. And Plex, and add Tautulli if you use it.
187+
Find these on their respective pages: *Download Apps* and *Media Apps*.
188+
189+
### Health Checks
190+
191+
Set the health check intervals on all your apps if you want notifications when an app goes down.
192+
See the [Health Checks](./healthChecks.md) page for more information about that.
193+
194+
## Log Files
195+
196+
![Log Files Page](./images/logFiles.png){ width="250" align="right" }
197+
198+
**Log file contents can be viewed in the UI under *Insights => Log Files*.**
199+
200+
These are the default location for application output (logs).
201+
Make sure you [setup a log file](#setup-log-files) if you can't find your logs.
202+
203+
- Linux: `/var/log/notifiarr/{app,http,services}.log`
204+
- Log paths for linux apt/deb installations are hardcoded
205+
- FreeBSD: `/var/log/syslog` (w/ default syslog)
206+
- macOS: `~/.notifiarr/Notifiarr.log`
207+
- Windows: `<home folder>/.notifiarr/Notifiarr.log`
208+
- Docker: `docker logs Notifiarr` (recommend [setting a log file](#setup-log-files))

docs/pages/client/cloudflare.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ Specific configuration required for Cloudflare's various options are detailed be
1818

1919
1. Login to your Cloudflare teams account at [dash.teams.Cloudflare.com](https://dash.teams.Cloudflare.com/)
2020
1. Click **Tunnels** and then **configure** next to the Cloudflare Tunnel you would like to use.
21-
![cf-tunnel-configure_sm2.png](../../assets/screenshots/client/cf-tunnel-configure_sm2.png)
21+
![cf-tunnel-configure_sm2.png](./images/cf-tunnel/configure_sm2.png)
2222
1. In your Tunnel section click on **Public Hostname** and add a new hostname by clicking on **Add a public hostname**.
23-
![cf-tunnel-configure_publichostname.png](../../assets/screenshots/client/cf-tunnel-configure_publichostname.png)
23+
![cf-tunnel-configure_publichostname.png](./images/cf-tunnel/configure_publichostname.png)
2424
1. Fill in the public hostname information on the next screen.
25-
![cf-tunnel-configure_hostnamepage.png](../../assets/screenshots/client/cf-tunnel-configure_hostnamepage.png)
25+
![cf-tunnel-configure_hostnamepage.png](./images/cf-tunnel/configure_hostnamepage.png)
2626
1. `Subdomain`: Notifiarr (or whatever else you want it to be)
2727
1. `Domain`: choose one of your domains
2828
1. `Service`: HTTP + Your Local IP Address for Notifiarr

docs/pages/client/gui.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ interface to configure Integrations for use with Notifiarr.
99
Head back to [After Install](afterInstall.md#web-ui) or
1010
[Troubleshooting](troubleshooting.md#forgotten-passwords) for help getting logged in.
1111

12-
![login](../../assets/screenshots/client/login.png)
12+
![Login Form](./images/login.png)
1313

1414
## Landing Page
1515

1616
Once logged in you will be taken to the Landing page.
1717
From here you are free to navigate the Client and have the power to
1818
update settings, configure and trigger integrations and much, much more.
1919

20-
![landing](../../assets/screenshots/client/landing.png)
20+
![Landing Page](./images/landing.png)
2121

2222
The Web UI is full of documentation. **It's even available in multiple languages.**
2323
If you have suggestions where the UI can be improved, or documentation added,

docs/pages/client/healthChecks.md

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
# Notifiarr Client Health Checks
2+
3+
This is one of the most powerful features we provide. And it's free.
4+
You can configure an unlimited number of service checks in the Notifiarr
5+
Client. These checks can check URLs for specific response codes, look for
6+
running processes, or check TCP ports.
7+
8+
!!!warning "Enable Network Integration"
9+
- This client feature sends reports to the [website] using the *Network Integration*.
10+
- Make sure you enable that Integration on the website and choose a chat channel for notifications.
11+
12+
This page explains the logic the [service check module] uses.
13+
14+
![Starr Page](./images/starr.png){ width="250" align="right" }
15+
16+
## Automatic Instance Checks
17+
18+
The application will automatically add service checks for any instances you configure.
19+
An instance is just an application like Radarr or Transmission. When you add the instance,
20+
all you need to do is choose a *Check Interval* duration. That determines how often the
21+
client checks the instance's health.
22+
23+
!!!danger "Assumptions"
24+
Some of the automatic service checks may set the HTTP expect code to something other
25+
than 200 / OK. This is normal. There are few configurations for the automatic service
26+
checks, most settings are hard coded assumptions. The [test buttons] in the Web UI
27+
use different logic than the [automatic service checks].
28+
29+
**The automatic service checks do not work in every environment.**
30+
You should disable them, and create custom checks if they are not working for you.
31+
32+
![Services Page](./images/services.png){ width="250" align="right" }
33+
34+
## Custom Health Checks
35+
36+
Health checks currently supported are `HTTP`, `TCP port`, `ICMP`, and `UDP Ping`.
37+
Future versions may include the ability for [subscribers] to run commands and scripts.
38+
39+
Configure custom checks in the Web UI on the *Settings => Services* page.
40+
The Web UI does a good job of documenting the service check configuration, so
41+
this section is light on words. Go check out the Web UI for information about
42+
how to configure a service check. The screenshot to the right does not do it justice.
43+
44+
## Monitoring
45+
46+
- Find current statuses on the *Insights => Monitoring* page in the client Web UI.
47+
- Configure a custom *Service Status Page* on the [website] in the **Network Integration**.
48+
49+
![Monitoring Page](./images/monitoring.png){ width="250" align="right" }
50+
51+
!!!info "Website Configuration"
52+
Configure the notifications chat channel, which role gets pinged, and a few
53+
other notification settings in the **Network Integration** on the [website].
54+
55+
When a service changes state the new state is immediately reported to the website.
56+
By default the website will turn this state change into an immediate notification.
57+
The notification goes to the *Network Integration* channel that has been selected.
58+
59+
[website]: https://nightly.notifiarr.app/user.php?page=integrations#
60+
[automatic service checks]: https://github.com/Notifiarr/notifiarr/blob/04ae29c5d0e7c01bd0dd9cfa53302ca7bf4f8d5b/pkg/services/apps.go
61+
[test buttons]: https://github.com/Notifiarr/notifiarr/blob/04ae29c5d0e7c01bd0dd9cfa53302ca7bf4f8d5b/pkg/checkapp/downloaders.go
62+
[service check module]: https://github.com/Notifiarr/notifiarr/tree/main/pkg/services
63+
[subscribers]: ../faq/faq.md#q-what-are-the-user-level-differences
File renamed without changes.

docs/assets/screenshots/client/cf-tunnel-addaplication.png renamed to docs/pages/client/images/cf-tunnel/addaplication.png

File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)