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.

unraid-overtemp-shutdown generates overly-verbose email

Featured Replies

I've just upgraded to unMenu 1.3 and installed unraid-overtemp-shutdown.  I've been testing overtemp by specifying thresholds below normal operating temperature, and while the warning email and automatic shutdown processes both work fine, the generated emails are excessivly verbose.  Where I would expect one status line for each drive, instead it seems to be iterating the same information almost endlessly - over 2000 lines and 74k of text for six drives!

 

Here's the first couple of iterations.  Anyone have any idea how to rein it in?

 

Subject:EMERGENCY unRaid Overtemp Shutdown Warning
Date: Wed Nov  3 13:45:03 CDT 2010
Server Name: Tower
Server IP: 192.168.0.8
** disk /dev/disk/by-id/ata-ST31500341AS_9VS1NC4L temperature is 40C
.
** disk /dev/disk/by-id/ata-ST31500341AS_9VS1RW26 temperature is 40C
** disk /dev/disk/by-id/ata-ST31500341AS_9VS1NC4L temperature is 40C
.
.
   disk /dev/disk/by-id/ata-ST31500541AS_6XW01X0V temperature is 34C
** disk /dev/disk/by-id/ata-ST31500341AS_9VS1NC4L temperature is 40C
.
** disk /dev/disk/by-id/ata-ST31500341AS_9VS1RW26 temperature is 40C
** disk /dev/disk/by-id/ata-ST31500341AS_9VS1NC4L temperature is 40C
.
.
.
   disk /dev/disk/by-id/ata-ST31500541AS_9XW0DVCD temperature is 34C
** disk /dev/disk/by-id/ata-ST31500341AS_9VS1NC4L temperature is 40C
.
** disk /dev/disk/by-id/ata-ST31500341AS_9VS1RW26 temperature is 40C
** disk /dev/disk/by-id/ata-ST31500341AS_9VS1NC4L temperature is 40C
.
.
   disk /dev/disk/by-id/ata-ST31500541AS_6XW01X0V temperature is 34C
** disk /dev/disk/by-id/ata-ST31500341AS_9VS1NC4L temperature is 40C
.
** disk /dev/disk/by-id/ata-ST31500341AS_9VS1RW26 temperature is 40C
** disk /dev/disk/by-id/ata-ST31500341AS_9VS1NC4L temperature is 40C
.
.
.
.
   disk /dev/disk/by-id/ata-ST3160827AS_4LJ1JF63 temperature is 34C
** disk /dev/disk/by-id/ata-ST31500341AS_9VS1NC4L temperature is 40C
.
** disk /dev/disk/by-id/ata-ST31500341AS_9VS1RW26 temperature is 40C
** disk /dev/disk/by-id/ata-ST31500341AS_9VS1NC4L temperature is 40C
.
.
   disk /dev/disk/by-id/ata-ST31500541AS_6XW01X0V temperature is 34C
** disk /dev/disk/by-id/ata-ST31500341AS_9VS1NC4L temperature is 40C
.
** disk /dev/disk/by-id/ata-ST31500341AS_9VS1RW26 temperature is 40C
** disk /dev/disk/by-id/ata-ST31500341AS_9VS1NC4L temperature is 40C
.
.
.
   disk /dev/disk/by-id/ata-ST31500541AS_9XW0DVCD temperature is 34C
** disk /dev/disk/by-id/ata-ST31500341AS_9VS1NC4L temperature is 40C
.
** disk /dev/disk/by-id/ata-ST31500341AS_9VS1RW26 temperature is 40C
** disk /dev/disk/by-id/ata-ST31500341AS_9VS1NC4L temperature is 40C
.
.
   disk /dev/disk/by-id/ata-ST31500541AS_6XW01X0V temperature is 34C
** disk /dev/disk/by-id/ata-ST31500341AS_9VS1NC4L temperature is 40C
.
** disk /dev/disk/by-id/ata-ST31500341AS_9VS1RW26 temperature is 40C
** disk /dev/disk/by-id/ata-ST31500341AS_9VS1NC4L temperature is 40C
.
.
.
.
.
** disk /dev/disk/by-id/scsi-SATA_ST31500341AS_9VS1NC4L temperature is 40C
** disk /dev/disk/by-id/ata-ST31500341AS_9VS1NC4L temperature is 40C
.
** disk /dev/disk/by-id/ata-ST31500341AS_9VS1RW26 temperature is 40C
** disk /dev/disk/by-id/ata-ST31500341AS_9VS1NC4L temperature is 40C
.
.
   disk /dev/disk/by-id/ata-ST31500541AS_6XW01X0V temperature is 34C
** disk /dev/disk/by-id/ata-ST31500341AS_9VS1NC4L temperature is 40C
.
** disk /dev/disk/by-id/ata-ST31500341AS_9VS1RW26 temperature is 40C
** disk /dev/disk/by-id/ata-ST31500341AS_9VS1NC4L temperature is 40C
.
.
.
   disk /dev/disk/by-id/ata-ST31500541AS_9XW0DVCD temperature is 34C
** disk /dev/disk/by-id/ata-ST31500341AS_9VS1NC4L temperature is 40C
.
** disk /dev/disk/by-id/ata-ST31500341AS_9VS1RW26 temperature is 40C
** disk /dev/disk/by-id/ata-ST31500341AS_9VS1NC4L temperature is 40C
.
.
   disk /dev/disk/by-id/ata-ST31500541AS_6XW01X0V temperature is 34C
** disk /dev/disk/by-id/ata-ST31500341AS_9VS1NC4L temperature is 40C
.
** disk /dev/disk/by-id/ata-ST31500341AS_9VS1RW26 temperature is 40C
** disk /dev/disk/by-id/ata-ST31500341AS_9VS1NC4L temperature is 40C
.
.
.
.
   disk /dev/disk/by-id/ata-ST3160827AS_4LJ1JF63 temperature is 34C
** disk /dev/disk/by-id/ata-ST31500341AS_9VS1NC4L temperature is 40C
.
** disk /dev/disk/by-id/ata-ST31500341AS_9VS1RW26 temperature is 40C
** disk /dev/disk/by-id/ata-ST31500341AS_9VS1NC4L temperature is 40C
.
.
   disk /dev/disk/by-id/ata-ST31500541AS_6XW01X0V temperature is 34C
** disk /dev/disk/by-id/ata-ST31500341AS_9VS1NC4L temperature is 40C
.
** disk /dev/disk/by-id/ata-ST31500341AS_9VS1RW26 temperature is 40C
** disk /dev/disk/by-id/ata-ST31500341AS_9VS1NC4L temperature is 40C
.
.
.
   disk /dev/disk/by-id/ata-ST31500541AS_9XW0DVCD temperature is 34C
** disk /dev/disk/by-id/ata-ST31500341AS_9VS1NC4L temperature is 40C
.
** disk /dev/disk/by-id/ata-ST31500341AS_9VS1RW26 temperature is 40C
** disk /dev/disk/by-id/ata-ST31500341AS_9VS1NC4L temperature is 40C
.
.
   disk /dev/disk/by-id/ata-ST31500541AS_6XW01X0V temperature is 34C
** disk /dev/disk/by-id/ata-ST31500341AS_9VS1NC4L temperature is 40C
.
** disk /dev/disk/by-id/ata-ST31500341AS_9VS1RW26 temperature is 40C
** disk /dev/disk/by-id/ata-ST31500341AS_9VS1NC4L temperature is 40C
.
.
.
.
.
.
** disk /dev/disk/by-id/scsi-SATA_ST31500341AS_9VS1RW26 temperature is 40C

There should only be one line per disk...

 

What do you get when you type (you'll probably want to cut/paste this):

ls --time-style='+%Y-%m-%d %I:%M%p' /dev/disk/by-id/* -Hl | grep -v plugdev | grep -v "by-id/usb" | grep -v '\-part[1-9]$' | awk '{print $9}'

 

It should return one line per drive.  Apparently, on your server, it is returning much more?

 

What "exactly" did you put in the temperature threshold field?

 

Joe L.

  • Author
What do you get...?

root@Tower:~# ls --time-style='+%Y-%m-%d %I:%M%p' /dev/disk/by-id/* -Hl | grep -v plugdev | grep -v "by-id/usb" | grep -v '\-part[1-9]$' | awk '{print $9}'
/dev/disk/by-id/ata-ST31500341AS_9VS1NC4L
/dev/disk/by-id/ata-ST31500341AS_9VS1RW26
/dev/disk/by-id/ata-ST31500541AS_6XW01X0V
/dev/disk/by-id/ata-ST31500541AS_9XW0DVCD
/dev/disk/by-id/ata-ST3160827AS_4LJ1JF63
/dev/disk/by-id/scsi-SATA_ST31500341AS_9VS1NC4L
/dev/disk/by-id/scsi-SATA_ST31500341AS_9VS1RW26
/dev/disk/by-id/scsi-SATA_ST31500541AS_6XW01X0V
/dev/disk/by-id/scsi-SATA_ST31500541AS_9XW0DVCD
/dev/disk/by-id/scsi-SATA_ST3160827AS_4LJ1JF63
root@Tower:~#

 

 

What "exactly" did you put in the temperature threshold field?
Exactly "35" and "38" for warning and shutdown respectively.

 

Would I be correct in surmising that the fact that each drive is appearing twice - once as "ata-..." and once as "scsi-SATA_..." is confusing things?

The double entries would just result in two lines per disk.  I got the impression you were seeing much more.

 

Am I correct?  (Not that two lines per disk is right, but I can get rid of the dupes now that I know they might occur in some hardware.)

 

in the event of a temperature warning, it will get your attention, that's for sure. ;)

  • Author

Yes, you read my original post correctly, I'm seeing many dozens of iterations of basically the same messages.  I've attached the complete warning email below.

msg407412.txt

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.