NetAlertX is a really cool network monitoring tool. The Homepage widget can notify you of any new devices that just joined your network or of important devices that have gone offline.
Create a dataset called NetAlertX_Stuff
, and create three child datasets called NX_Config
, NX_DB
, and NX_Log
.
Select the NetAlertX_Stuff
folder and edit the permissions. Under Owner
select the User
dropdown, search for and select www-data
. Do the same for the Group
dropdown. Check the boxes for Apply User
Apply group
Apply permissions recursively
and Apply permissions to child datasets
. On the right side of the menu check all the boxes.
Now hit Save
Go to the Apps
, click Discover Apps
, then click the three dots menu next to the Custom App
button, then click Install via YAML
.
In the Name
field enter NetAlertX
.
Then paste the following code into the Custom Config
box.
version: "3"
services:
netalertx:
container_name: netalertx
image: "jokobsk/netalertx:latest"
network_mode: "host"
restart: unless-stopped
volumes:
- /mnt/your-pool-name/NetAlertX/NX_Config:/app/config
- /mnt/your-pool-name/NetAlertX/NX_DB:/app/db
- /mnt/your-pool-name/NetAlertX/NX_Log:/app/front/log
environment:
- TZ=Country/City
- PORT=20211
Ensure you replace /your-pool-name/
and Country/City
with the correct information.
Now click Save
The app should deploy. Once it is running enter http://your-server-ip:20211
into your browser.
Now it's time to learn how to configure NetAlertX! I found this YouTube video very helpful for the initial basic configuration.
https://youtu.be/umh1c_40HW8?feature=shared&t=164
And don't forget to read the official documentation!
https://github.com/jokob-sk/NetAlertX/blob/main/docs/README.md
And this is the code I have in my services.yaml
for my NetAlertX widget you saw at the top of this page.
- NetAlertX:
icon: netalertx.png
href: http://server-ip-address:20211
siteMonitor: http://server-ip-address:20211
statusStyle: dot
widget:
type: netalertx
url: http://server-ip-address:20211