May 21, 20188 yr Hello. I would like to get an email "Missing key" when someone reset NAS and I need to enter key password to boot. But looks like there is no settings for this. How can I configure it? Edited May 21, 20188 yr by IGHOR
May 21, 20188 yr Community Expert I find your request confusing. (Is English your first language?) From what you seem to be saying, you seem to be requiring a password to start the boot process. I can only assume that this is a setting somewhere in the Motherboard BIOS. Why have you set the server up to require this action? How to you expect unRAID to send an E-mail when it is not even running?
May 21, 20188 yr Author 18 minutes ago, Frank1940 said: I find your request confusing. (Is English your first language?) From what you seem to be saying, you seem to be requiring a password to start the boot process. I can only assume that this is a setting somewhere in the Motherboard BIOS. Why have you set the server up to require this action? How to you expect unRAID to send an E-mail when it is not even running? Right, English is not my first language. I'm using xfs+encryption with password, and when unRAID boots up it won't start until I enter disk password. It exactly what I want, but I would like to be notified that unRAID was restarted and waiting decryption password.
May 21, 20188 yr When there are encrypted disks in the array, it requires a key to start the array. This key is entered via the GUI, which shows the message missing key when the system is restarted and an attempt is done to start the array without the key being present. There is no notification sent when the missing key event occurs, neither is there a setting to enable this. You may be able to send a notification using the user scripts plugin or write a custom script which is triggered on the array "starting" event.
May 21, 20188 yr Author 3 minutes ago, bonienl said: When there are encrypted disks in the array, it requires a key to start the array. This key is entered via the GUI, which shows the message missing key when the system is restarted and an attempt is done to start the array without the key being present. There is no notification sent when the missing key event occurs, neither is there a setting to enable this. You may be able to send a notification using the user scripts plugin or write a custom script which is triggered on the array "starting" event. Yes, I can do script that login to SMTP or Telegram and send notification. I had hope that it possible via GUI options. I just need to know when I should login via web to enter disk password, this feature should be implemented to be used by users who can't code scripts. Thanks for the answer.
May 21, 20188 yr Community Expert Just now, wgstarks said: You can submit this as a feature request if there isn’t one already. +1!!! You will not be the only one who would like to see such a feature.
May 21, 20188 yr Author Ok I did it If there is mistakes in English please let me know and I'll fix it.
May 21, 20188 yr 5 minutes ago, IGHOR said: If there is mistakes in English please let me know and I'll fix it. You might want to provide a link in that request thread back to this one just for clarity.
May 21, 20188 yr Author 1 minute ago, wgstarks said: You might want to provide a link in that request thread back to this one just for clarity. ok
May 14, 20224 yr +1 Best thing would be to get it as part of the regular notification settings, as I'm usually using the pushover interface to get msg about server issues. Edit: just noted that was May 2019. 😄 Anyway, does anyone know if there was an outcome? So far I couldn't find any settings allowing for notification in case of reboot. Edited May 14, 20224 yr by Tjareson 2019
May 14, 20224 yr Community Expert You can run a script on boot with the User Scripts plugin, and have that script send notification.
May 14, 20224 yr But this only offers the "at startup of array" event. My array is encrypted, so needs a password to start. So is this event fired already, if array is waiting for password? (couldn't test that yet myself right now)
May 15, 20224 yr So, I could test it today. And it doesn't work. The script is only executed by the time when the array is actually up and running, not if the start sequence of the array is waiting for the password or key file. I couldn't see any other start option which would make sense here. The crontab syntax @reboot is also not supported. Any other ideas anyone? Edited May 15, 20224 yr by Tjareson typo
May 16, 20224 yr Community Expert You can add a notification to the go file, e.g.: #!/bin/bash # Start the Management Utility /usr/local/sbin/emhttp & /usr/local/emhttp/webGui/scripts/notify -i normal -s "Boot complete"
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.