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.

[6.0b12+webGui v2015.01.21] Monitored SMART attributes

Featured Replies

/usr/local/emhttp/plugins/dynamix/scripts/monitor currently contains the following code:

 

// process disk SMART notifications. Give messages only when changes occur!
  unset($codes);
  exec("awk '$1~/(5|187|188|197|198)/{print $1,$10,$2}' /var/local/emhttp/smart/{$disk['name']}", $codes);

 

This monitors any SMART parameter containing a "5".  This caused a problem for me because some of my drives report on "195 Hardware_ECC_Recovered" which can change frequently.

 

I think what was intended was something like:

 

// process disk SMART notifications. Give messages only when changes occur!
  unset($codes);
  exec("awk '$1~/(^5$|187|188|197|198)/{print $1,$10,$2}' /var/local/emhttp/smart/{$disk['name']}", $codes);

 

which will match only attribute "5" among the others in the list.

 

John

  • Author

That did the trick.  Thanks for pointing me to that post, Squid.

 

John

Just copy it over via the go script otherwise it won't survive a reboot

Archived

This topic is now archived and is closed to further replies.

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.