EldonMcGuinness Posted November 28, 2023 Author Share Posted November 28, 2023 4 hours ago, bombz said: Hello, Using the 'edit' button and hiding the disk function works. However if you leave the page or refresh the page, the drive/disk reappears again. Thought I'd let you know. Cheers. I'm not seeing that behavior, do be aware that this does use cookies to store the information. Perhaps you have cookies disabled? Try it in "in-private or incognito" mode with your browser and let me know what happens. Quote Link to comment
bombz Posted November 28, 2023 Share Posted November 28, 2023 (edited) 20 hours ago, EldonMcGuinness said: I'm not seeing that behavior, do be aware that this does use cookies to store the information. Perhaps you have cookies disabled? Try it in "in-private or incognito" mode with your browser and let me know what happens. Hello, Attempted that previously too. Deleted cookies, attempted incog. mode same concern occurs. Select > Edit > un-check eye ball > disable edit The disk disappears Upon changes menu sections, or refreshing the page, the disk reappears. Thanks. Edited November 28, 2023 by bombz Quote Link to comment
fr500 Posted January 19 Share Posted January 19 For some reason I have found this plugin gone twice after a reboot Quote Link to comment
EldonMcGuinness Posted January 19 Author Share Posted January 19 55 minutes ago, fr500 said: For some reason I have found this plugin gone twice after a reboot What version of Unraid are you running? Quote Link to comment
fr500 Posted January 21 Share Posted January 21 6.12.6, and yup rebooted my server again and it's gone again Quote Link to comment
kiwijunglist Posted January 21 Share Posted January 21 You might know this already, while `smartctl --nocheck standby` won't wake a HDD, it will stop a HDD going to sleep when you poll it because it counts as activity. ie. if you set a hdd to sleep after 60 minutes of activity but you use `smartctl --nocheck standby` to poll the HDD every 30 minutes, then the HDD will never go to sleep. Quote Link to comment
kiwijunglist Posted January 21 Share Posted January 21 (edited) Thanks for the plugin. Can I suggest if you click on a drive it brings up a popup showing individual data for last 7 days, then total data for last 7 days / 30 days / all-time. (or something similar). /sda Percentage Sleep: 30% 97% ... Spin up counts: 53 3 ... Spin down counts: 52 4 ... Date: 2 Jan 1 Jan ... Last 7 days Last 30 days Alltime /sdb Percentage Sleep: 40% 92% ... Spin up counts: 33 2 ... Spin down counts: 34 2 ... Date: 2 Jan 1 Jan ... Last 7 days Last 30 days Alltime The main thing I'm interested in personally is just data on how often the drives are spinning up and down. Edited January 21 by kiwijunglist Quote Link to comment
EldonMcGuinness Posted January 31 Author Share Posted January 31 (edited) On 1/21/2024 at 2:52 PM, kiwijunglist said: Thanks for the plugin. Can I suggest if you click on a drive it brings up a popup showing individual data for last 7 days, then total data for last 7 days / 30 days / all-time. (or something similar). /sda Percentage Sleep: 30% 97% ... Spin up counts: 53 3 ... Spin down counts: 52 4 ... Date: 2 Jan 1 Jan ... Last 7 days Last 30 days Alltime /sdb Percentage Sleep: 40% 92% ... Spin up counts: 33 2 ... Spin down counts: 34 2 ... Date: 2 Jan 1 Jan ... Last 7 days Last 30 days Alltime The main thing I'm interested in personally is just data on how often the drives are spinning up and down. @kiwijunglist I would love to add this to the plug-in as well as a few other things, perhaps I will have some more time soon. At the risk of sounding like a mad capitalist, donations towards getting features added are always nice and will definitely help to move things along. If you're interested, you can do so on the github repo. On 1/21/2024 at 2:27 AM, kiwijunglist said: You might know this already, while `smartctl --nocheck standby` won't wake a HDD, it will stop a HDD going to sleep when you poll it because it counts as activity. ie. if you set a hdd to sleep after 60 minutes of activity but you use `smartctl --nocheck standby` to poll the HDD every 30 minutes, then the HDD will never go to sleep. @kiwijunglistI have moved away from manual polling and instead use the built-in polling that is part of unraid, this should not be an issue any longer. On 1/20/2024 at 11:16 PM, fr500 said: 6.12.6, and yup rebooted my server again and it's gone again @fr500 I'm not sure on this one, I'm running the latest version and am not seeing this, additionally, I have other testers that have confirmed it is not happening to them either. Perhaps this is unique to your setup? Edited January 31 by EldonMcGuinness Quote Link to comment
Vitek Posted March 13 Share Posted March 13 For some reason I have found this plugin gone twice after a reboot Quote Link to comment
EldonMcGuinness Posted March 13 Author Share Posted March 13 15 minutes ago, maTTi said: For some reason I have found this plugin gone twice after a reboot Is it happening after every reboot or only some reboots? Quote Link to comment
Vitek Posted March 13 Share Posted March 13 14 minutes ago, EldonMcGuinness said: Is it happening after every reboot or only some reboots? So far I did one reboot, let you know after the next one Quote Link to comment
Vitek Posted March 22 Share Posted March 22 Ok after next reboot plugin disappeared again. How can I provide you a logs to debug? Quote Link to comment
Gobblerpl Posted April 19 Share Posted April 19 On my Unraid 6.12.8 plugin also gone. Moreover I can't install plugin again. Quote Link to comment
fr500 Posted April 21 Share Posted April 21 I have noticed this with this plugin and the VM backup plugin It seems both download something when installing? my unraid has a VM for my firewall and until after everything starts there is no connection. On 4/19/2024 at 2:26 AM, Gobblerpl said: On my Unraid 6.12.8 plugin also gone. Moreover I can't install plugin again. Quote If the plugin is still stuck "Pending", you can open a web terminal and run: rm /tmp/plugins/pluginPending That does the trick for me Quote Link to comment
fr500 Posted April 23 Share Posted April 23 @Gobblerpl @Vitek does your unraid server also act as a firewall for you? Quote Link to comment
Vitek Posted April 23 Share Posted April 23 2 hours ago, fr500 said: @Gobblerpl @Vitek does your unraid server also act as a firewall for you? No, directly connected to router Quote Link to comment
Gobblerpl Posted April 25 Share Posted April 25 No, directly connected to router Quote Link to comment
Gobblerpl Posted April 29 Share Posted April 29 (edited) I think it's fixed now. Edit: No it's not Edited April 30 by Gobblerpl its not Quote Link to comment
Gobblerpl Posted May 4 Share Posted May 4 I found serious problem. This plugin cause flash backup every 15 minutes! Quote May 4 00:30:12 Sowia flash_backup: adding task: /usr/local/emhttp/plugins/dynamix.my.servers/scripts/UpdateFlashBackup update May 4 00:45:33 Sowia flash_backup: adding task: /usr/local/emhttp/plugins/dynamix.my.servers/scripts/UpdateFlashBackup update May 4 01:00:33 Sowia flash_backup: adding task: /usr/local/emhttp/plugins/dynamix.my.servers/scripts/UpdateFlashBackup update May 4 01:15:34 Sowia flash_backup: adding task: /usr/local/emhttp/plugins/dynamix.my.servers/scripts/UpdateFlashBackup update May 4 01:30:35 Sowia flash_backup: adding task: /usr/local/emhttp/plugins/dynamix.my.servers/scripts/UpdateFlashBackup update May 4 01:45:35 Sowia flash_backup: adding task: /usr/local/emhttp/plugins/dynamix.my.servers/scripts/UpdateFlashBackup update May 4 02:00:36 Sowia flash_backup: adding task: /usr/local/emhttp/plugins/dynamix.my.servers/scripts/UpdateFlashBackup update May 4 02:15:37 Sowia flash_backup: adding task: /usr/local/emhttp/plugins/dynamix.my.servers/scripts/UpdateFlashBackup update May 4 02:30:38 Sowia flash_backup: adding task: /usr/local/emhttp/plugins/dynamix.my.servers/scripts/UpdateFlashBackup update May 4 02:45:39 Sowia flash_backup: adding task: /usr/local/emhttp/plugins/dynamix.my.servers/scripts/UpdateFlashBackup update Quote Config change config/plugins/DriveStandbyMonitor/monitor.db | Bin 163840 -> 163840 bytes 1 file changed, 0 insertions(+), 0 deletions(-) commit db26d3a46154c1166cee364e3e6143caee8e9ab5 Author: gitbot <[email protected]> Date: Thu May 2 21:46:14 2024 +0200 Config change config/plugins/DriveStandbyMonitor/monitor.db | Bin 163840 -> 163840 bytes 1 file changed, 0 insertions(+), 0 deletions(-) commit a1780148ce23e4b7470ee6f1a0db8f7bf822c265 Author: gitbot <[email protected]> Date: Thu May 2 21:31:12 2024 +0200 Config change config/plugins/DriveStandbyMonitor/monitor.db | Bin 163840 -> 163840 bytes 1 file changed, 0 insertions(+), 0 deletions(-) commit ab72912a91694156a0f5d8c27ae645a2c009bdc9 Author: gitbot <[email protected]> Date: Thu May 2 21:16:13 2024 +0200 Config change config/plugins/DriveStandbyMonitor/monitor.db | Bin 163840 -> 163840 bytes 1 file changed, 0 insertions(+), 0 deletions(-) commit f7cccf1979041891d4077d911fe5fe727e3fe951 Author: gitbot <[email protected]> Date: Thu May 2 21:01:13 2024 +0200 Config change config/plugins/DriveStandbyMonitor/monitor.db | Bin 163840 -> 163840 bytes 1 file changed, 0 insertions(+), 0 deletions(-) Quote Link to comment
ljm42 Posted May 4 Share Posted May 4 @EldonMcGuinness please add this file to the plugin to stop Unraid Connect from backing up monitor.db every 15 minutes: echo "monitor.db" > /boot/config/plugins/DriveStandbyMonitor/.gitignore Here is an example of how the rclone plugin distributes a similar file: https://github.com/Waseh/rclone-unraid/blob/6ed5f0ecf8cf1077795ecf7831aa84fd54408096/plugin/rclone.plg#L241 Note: initially this will only take effect on new plugin installs. The next release of the Connect plugin will make sure existing systems obey that .gitignore file too, without anyone having to do anything at the command line. This does mean that Unraid Connect Flash Backup will stop backing up this file. If you think it should be backed up occasionally, you could have the plugin copy it to a new file name perhaps once a day or once every few days. The main goal here is to avoid the write amplifications that flash backup causes when this file changes every 15 minutes. Quote Link to comment
EldonMcGuinness Posted May 5 Author Share Posted May 5 2 hours ago, ljm42 said: @EldonMcGuinness please add this file to the plugin to stop Unraid Connect from backing up monitor.db every 15 minutes: echo "monitor.db" > /boot/config/plugins/DriveStandbyMonitor/.gitignore Here is an example of how the rclone plugin distributes a similar file: https://github.com/Waseh/rclone-unraid/blob/6ed5f0ecf8cf1077795ecf7831aa84fd54408096/plugin/rclone.plg#L241 Note: initially this will only take effect on new plugin installs. The next release of the Connect plugin will make sure existing systems obey that .gitignore file too, without anyone having to do anything at the command line. This does mean that Unraid Connect Flash Backup will stop backing up this file. If you think it should be backed up occasionally, you could have the plugin copy it to a new file name perhaps once a day or once every few days. The main goal here is to avoid the write amplifications that flash backup causes when this file changes every 15 minutes. Will do! 1 Quote Link to comment
ljm42 Posted May 8 Share Posted May 8 Hey @EldonMcGuinness, got another one for you I am seeing this PHP warning show up in my log: [07-May-2024 17:15:01 America/Phoenix] PHP Warning: Undefined array key "type" in /usr/local/emhttp/plugins/DriveStandbyMonitor/includes/page.php on line 47 Even though it is just a warning, we try to clean these sorts of things up. To see these warnings, go to Tools -> PHP Settings and enable "All Categories". Then press View Log. As you interact with the server you will see any PHP errors or warning in the log. Quote Link to comment
EldonMcGuinness Posted May 9 Author Share Posted May 9 On 5/7/2024 at 8:26 PM, ljm42 said: Hey @EldonMcGuinness, got another one for you I am seeing this PHP warning show up in my log: [07-May-2024 17:15:01 America/Phoenix] PHP Warning: Undefined array key "type" in /usr/local/emhttp/plugins/DriveStandbyMonitor/includes/page.php on line 47 Even though it is just a warning, we try to clean these sorts of things up. To see these warnings, go to Tools -> PHP Settings and enable "All Categories". Then press View Log. As you interact with the server you will see any PHP errors or warning in the log. Thanks for the heads up, I will put in the next update. I hope to have it out by this weekend. 1 Quote Link to comment
nexiz Posted May 23 Share Posted May 23 Is it possible to expose data to mqtt or anything else to access it via homeassistant? Or maybe have a on/off timeline per disk in unraid? Quote Link to comment
EldonMcGuinness Posted May 23 Author Share Posted May 23 That all just depends on how your service can access the data. It is just an SQLite database file that resides on your thumb drive. If your service in question can read from the file, you're welcome to pull data right from there. As for a graph, I highly doubt I'll be adding anything of that nature as it just seems overkill. The point of this was just to get a running idea of how often your drives are awake or asleep. I'm not adverse to somebody proposing a pull request to add this feature though. 😉 Quote Link to comment
Recommended Posts
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.