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

Self Hosted - Self-hosting your services.

14565 readers
7 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

Cross-posting

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

founded 4 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@lemmy.world 5 points 2 years ago (1 children)
[–] ASK_ME_ABOUT_LOOM@sh.itjust.works 1 points 2 years ago* (last edited 2 years 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@lemmy.world 2 points 2 years 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.

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.

[–] tony@lemmy.hoyle.me.uk 3 points 2 years ago

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