this post was submitted on 22 Aug 2023
7 points (100.0% liked)

Self Hosted - Self-hosting your services.

11598 readers
3 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules

Important

Beginning of January 1st 2024 this rule WILL be enforced. Posts that are not tagged will be warned and if not fixed within 24h then removed!

Cross-posting

If you see a rule-breaker please DM the mods!

founded 3 years ago
MODERATORS
 

I recently stood up a new file server using ZFS on linux. I'd like to automate the disk checking in such a way that I can essentially ignore and have a service notify me when SMART or other indications are hitting failure or pre-fail levels.

I'm not looking for a fancy GUI or web UI - a plain old config file would suit me just fine. In my ideal world, it would be a container I could simply spin up with minimal configuration, but I'm willing to give anything a try.

top 5 comments
sorted by: hot top controversial new old
[–] Okay6120 5 points 1 year ago (1 children)
[–] [email protected] 1 points 1 year ago* (last edited 1 year ago) (1 children)

I used scrutiny years ago, but recall not being happy with it for some reason. I'll give it another try.

Edit: I remember now. The notification configuration is next-level awful. The documentation is close to nonexistent. Getting basic SMTP auth is non-functional. Finding an actual example of a slack notification configuration is impossible. Have any working configs you can share?

[–] Okay6120 3 points 1 year ago (1 children)

I used this .yaml example yaml

I used the pushbutton line and just filled in my details. I use it for a few other apps. There's a command line test notification on the main GitHub page. It took a couple tries but works when I test.

The GUI is ok.

[–] [email protected] 2 points 1 year ago

After a bunch of digging, I was able to find this documentation for configuring Slack integrations with shoutrrr, which is the notification system bolted on to scrutiny. After quite a bit more trial and error, I wasn't able to get token auth working (it appears shoutrrr's updated docs are already out of date), but I was able to make webhooks work. Gotta say, shoutrrr's configuration strings are awfully user-hostile.

After some more trial and error, I was able to get SMTP auth working after removing all special characters from my password and setting it to a stupidly long randomly generated string.

[–] [email protected] 2 points 1 year ago

zfs-zed, if you haven't installed it already. It will email you after a scrub, or if there's a failure etc.