Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Failure notice configuration and critical alert timing

Featured Replies

I'm coming form a hardware raid migrating to unraid. If I have a drive in any of my raid arrays get so much as a bad block, I get a notice. It happens via windows event viewer and a EV monitor. I need this same level of monitoring on my unraid disks. I want an email the instant a drive starts having issues so I can swap/remove before it gets worse or fails. I'm new to unraid and the only place I see for any kind of notice is under the web interface Settings, notification settings. For array status I can pick some interval from every hour to every month, and for available notifications I can pick email, and finally for entity I can pick email for warning and alerts. These settings are not intuitive to me. I do not want notices of alerts every hour, I want them immediately. Can someone elaborate on what these setting actually apply to, how the system works in the case of a drive with an issue, and it's notices? And, let me know if there is somewhere else I need further configuration.

  • Community Expert

Warnings and alerts are immediate.

Unraid monitors certain SMART attributes for each disk, the default attributes are in Disk Settings, and these defaults can be overridden for each disk.

  • Community Expert

Just make sure you configure notifications in the settings to get disk alerts

  • Author
13 hours ago, MowMdown said:

Just make sure you configure notifications in the settings to get disk alerts

Which settings explicitly please? Under settings/Notifications I have "Array status notification" set to hourly, as low as it will go. And I have "Array status" set to Email. And under "Notification entity" I have warnings and Alerts set to email. I had nothing checked on Notices, but I was getting hourly updates anyway.

  • Author
16 hours ago, trurl said:

Warnings and alerts are immediate.

Unraid monitors certain SMART attributes for each disk, the default attributes are in Disk Settings, and these defaults can be overridden for each disk.

Under Main/(click on a disk)/Smart Settings, I have the defaults set there which appear to just define some thresholds. But at "SMART attribute notifications", there is an empty line that you can enter something, mine is blank, and below that there is a list of attributes, all checked except #188. What those checkbox imply (although it is not clear) to me, is those are the things that go with "SMART attribute notifications". Should I have something additional in the empty line beside that setting? Or am I in the right place you are talking about.

  • Author
13 hours ago, MowMdown said:

Just make sure you configure notifications in the settings to get disk alerts

And... What the "Array status notification" settings seem to me to do, is to report hourly (per my setting). And for that hourly report, it reports it via my what kind of notice setting (Email selected) for Warning or Alert. Not instant as I'd want for an Alert, or warning. Am I misinterpreting?

  • Community Expert

A failure would usually come with other signs, e.g. smart errors, a disk being disabled which would come instantly. Array status is essentially a "summary".

Edited by Kilrah

  • Community Expert

Much of the webUI has help. You can toggle help for a specific setting by clicking its label.

You can toggle help for the entire webUI by clicking the (?) help in the Main bar

image.png

  • Author
2 hours ago, trurl said:

Much of the webUI has help. You can toggle help for a specific setting by clicking its label.

You can toggle help for the entire webUI by clicking the (?) help in the Main bar

Thanks. Appreciate the pointers but... I read all the help popups. They didn't answer my questions. And read the docs section that applies, it's basically the same thing as the popups but adds some errors. I tried RTM first. /

  • Author

Here's one tidbit I found by trial and error and from finding a command to send a dummy notice:
/usr/local/emhttp/webGui/scripts/notify -s "Test Complete" -d "Test has been completed" -l "/Main"


If you have "Browser" set/checked you get a popup on the UI. As it only lasts 5 seconds it is worthless there since all you have to do is look away for 5 seconds and you miss it. In this case the notice goes to the Bell/Notifications/Unread section. If you uncheck that "Browser" setting, then you get no (worthless IMO) pop-up, and instead of the notice going to Bell/Notifications/Unread, it auto-moves to "Archive".

The popup should stay unless/until it is dismissed, if you have set it to be on.

Still fuzzy on what happens with the rest. I did get an alert out-of-schedule today for a disc capacity, that made me feel a little better about thinking it will alert me out of schedule, but the docs are very weak in this regard. And these events should go to syslog IMO, for searching after the fact as desired, or scripting. And it would be good to have a full list of what is checked, how it is checked, and what constitutes an alert/warning/notice in the docs.


notify [-e "event"] [-s "subject"] [-d "description"] [-i "normal|warning|alert"] [-m "message"] [-x] [-t] [-b] [add]

create a notification

use -e to specify the event

use -s to specify a subject

use -d to specify a short description

use -i to specify the severity

use -m to specify a message (long description)

use -l to specify a link (clicking the notification will take you to that location)

use -x to create a single notification ticket

use -r to specify recipients and not use default

use -t to force send email only (for testing)

use -b to NOT send a browser notification

all options are optional


Edited by getgray

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.