October 5, 20232 yr On 9/18/2023 at 6:38 PM, kfb said: Got the fix and was able to figure out what was stopping that disk from spinning down. Thanks for the help! can you tell what? maybe it's helping others... like me
October 5, 20232 yr Author 3 hours ago, Holle88 said: since i can not install inotify i wonder how i can use this plugin... Inotify is built in to Unraid. What are you having trouble with?
October 5, 20232 yr 6 hours ago, dlandon said: Inotify is built in to Unraid. What are you having trouble with? ok inotify is running, i tried this: root@Tower:~# inotifywait -m -r -q -e open,attrib,move,create,delete --excludei appdata/... No files specified to watch! but you're plugin still not working (see attachments):
October 5, 20232 yr Author What do you mean it's not working? Because you don't have any logged events? File Activity does not log all file events. Do you have the cache_dirs plugin installed?
October 29, 20232 yr Author 5 hours ago, Corodeanu N said: it is possible for file activity plugin to be shown in the dashboard What is it that you think should "show" on the Dashboard?
October 31, 20232 yr would like to send file activity log to syslog server for diagnostics. where are they stored?
October 31, 20232 yr Author 5 hours ago, schreibman said: would like to send file activity log to syslog server for diagnostics. where are they stored? /var/log/file.activity.log
October 31, 20232 yr 13 hours ago, schreibman said: would like to send file activity log to syslog server for diagnostics. where are they stored? I have a syslog server as well... How do you send the log to the syslog server?
October 31, 20232 yr Author 1 hour ago, DevanteWeary said: I have a syslog server as well... How do you send the log to the syslog server? The syslog server works with the syslog. I don't know any way to add the file activity log to that.
November 1, 20232 yr On 10/31/2023 at 3:40 PM, dlandon said: The syslog server works with the syslog. I don't know any way to add the file activity log to that. Agreed, Basically what I did is more of a kludge, and I'm sure this is a bad way to address this, but here's what I did: create shell to cp "/var/log/file.activity.log" to my log dest "/mnt/user/logs/fileactivity$(date +%Y%m%d%H%M%S).log" then rm "/var/log/file.activity.log" then - created job in user scripts and scheduled its not going into the syslog itself, just using the same location. [Yeah, its a mess, lots of issues with my approach, not recommending it, was a stop gap for me] Edited November 1, 20232 yr by schreibman oops
November 1, 20232 yr 11 minutes ago, schreibman said: Agreed, Basically what I did is more of a kludge, and I'm sure this is a bad way to address this, but here's what I did: create shell to cp "/var/log/file.activity.log" to my log dest "/mnt/user/logs/fileactivity$(date +%Y%m%d%H%M%S).log" then rm "/var/log/file.activity.log" then - created job in user scripts and scheduled its not going into the syslog itself, just using the same location. [Yeah, its a mess, lots of issues with my approach, not recommending it, was a stop gap for me] there is a (worse?) way to do this and have it in syslog: but I can only image this is an even more horrible solution as your unraid syslog now will have all file activity: logger -n ${SYSLOG_SERVER} -P 514 -t unraid-file-activity < "/var/log/file.activity.log"
November 12, 20232 yr Is there a way to reduce the time scale for each disk that is listed in the plugin? When I go to the disk listing to see what's causing a disk to spin up, i have to scroll through disk activity from up to 24h ago. I only want to see activity in the last hour or so. Can I specify this? Thanks!
November 12, 20232 yr Author 1 hour ago, Andiroo2 said: Is there a way to reduce the time scale for each disk that is listed in the plugin? When I go to the disk listing to see what's causing a disk to spin up, i have to scroll through disk activity from up to 24h ago. I only want to see activity in the last hour or so. Can I specify this? Thanks! You can't specify how much is displayed in the log, but I have a few ideas. Let me see what I can come up with.
November 13, 20232 yr Author On 11/11/2023 at 7:02 PM, Andiroo2 said: Is there a way to reduce the time scale for each disk that is listed in the plugin? When I go to the disk listing to see what's causing a disk to spin up, i have to scroll through disk activity from up to 24h ago. I only want to see activity in the last hour or so. Can I specify this? Thanks! I've added a parameter in the settings that controls the number of events displayed so you don't have to scroll through so much data to find what you want. It displays the last 'X' number of file events for each disk or share. Update to the latest version to try it out.
November 13, 20232 yr Think the update today of 'file activity plugin' caused my server to stop working. The web GUI would lock up after 2mins of boot. You can login and then it freezes up. Deleted plugin from usb stick and now all working.. Edited November 13, 20232 yr by dopeytree
November 13, 20232 yr Author 2 minutes ago, dopeytree said: Think the update today of 'file activity plugin' caused my server to stop working. The web GUI would lock up after 2mins of boot. You can login and then it freezes up. Deleted plugin from usb stick and now all working.. Post diagnostics.
November 13, 20232 yr Don't think they'll be much use as couldn't run diagnostics during crashing. This is post delete. If no one else comments though maybe it is something else. moulin-rouge-diagnostics-20231113-1722.zip Edited November 13, 20232 yr by dopeytree
November 13, 20232 yr Author 42 minutes ago, dopeytree said: Don't think they'll be much use as couldn't run diagnostics during crashing. This is post delete. If no one else comments though maybe it is something else. moulin-rouge-diagnostics-20231113-1722.zip 209.12 kB · 0 downloads Nothing in File Activity was done to cause what you are describing. The latest reease just changed the way the file events are displayed. Install the file activity plugin again and leave it disabled and see what happens. You have issues in your log that may be contributint to your issue: Nov 13 15:40:02 Moulin-rouge nginx: 2023/11/13 15:40:02 [error] 15484#15484: *11 limiting requests, excess: 20.907 by zone "authlimit", client: 192.168.22.105, server: , request: "GET /login HTTP/1.1", host: "192.168.22.2" Nov 13 15:40:02 Moulin-rouge nginx: 2023/11/13 15:40:02 [error] 15484#15484: *9 limiting requests, excess: 20.904 by zone "authlimit", client: 192.168.22.105, server: , request: "GET /login HTTP/1.1", host: "192.168.22.2" Nov 13 15:40:03 Moulin-rouge nginx: 2023/11/13 15:40:03 [error] 15484#15484: *9 limiting requests, excess: 20.327 by zone "authlimit", client: 192.168.22.105, server: , request: "GET /login HTTP/1.1", host: "192.168.22.2" Nov 13 15:40:03 Moulin-rouge nginx: 2023/11/13 15:40:03 [error] 15484#15484: *12 limiting requests, excess: 20.326 by zone "authlimit", client: 192.168.22.105, server: , request: "GET /login HTTP/1.1", host: "192.168.22.2" Nov 13 15:40:03 Moulin-rouge nginx: 2023/11/13 15:40:03 [error] 15484#15484: *9 limiting requests, excess: 20.323 by zone "authlimit", client: 192.168.22.105, server: , request: "GET /login HTTP/1.1", host: "192.168.22.2" This is happening about 2 minutes after a boot. Close any open browser sessions to your Unraid server.
November 14, 20232 yr 11 hours ago, dlandon said: I've added a parameter in the settings that controls the number of events displayed so you don't have to scroll through so much data to find what you want. It displays the last 'X' number of file events for each disk or share. Update to the latest version to try it out. This is so great. Thank you!!
November 28, 20232 yr Thank you for adding that event limiter! Definitely makes it so much easier. I was checking my file activity and it kept telling me Disk 1 was opening a file (an icon used by FolderView I set). However, when I check the Dashboard, Disk 1 was asleep/spundown. It definitely was spun down because when I checked the disk itself, sure enough that's where the file is stored. When I loaded previews for all images in the same folder using Krusader, sure enough all of them showed up in File Activity > Disk Activity > Disk 1. So long story short, File Activity showed the image was being opened, but the drive wasn't actually being spun up. Oh by the way, the thing that triggered its entry in File Activity was me going to the Docker tab (which has FolderView folders set up), waiting a few seconds for it to load, and then going back to File Activity and refreshing. Just thought you should know!
November 28, 20232 yr 10 hours ago, DevanteWeary said: I was checking my file activity and it kept telling me Disk 1 was opening a file (an icon used by FolderView I set). However, when I check the Dashboard, Disk 1 was asleep/spundown. I think that this can happen if Linux has the information it needs cached in RAM so it does not need to access the physical drive.
March 14, 20242 yr Thanks for the plugin, it is great 1. Is it possible to show current files activity on the dashboard? 2. I have checked "Enable for Cache and Pool Disks?" but still can't see my cache drive in the tabs (I have appdata docker there so in theory it should be always in activitiy list when docker is running but it is not, only my array disks)
March 14, 20242 yr Author 12 hours ago, maTTi said: Thanks for the plugin, it is great 1. Is it possible to show current files activity on the dashboard? 2. I have checked "Enable for Cache and Pool Disks?" but still can't see my cache drive in the tabs (I have appdata docker there so in theory it should be always in activitiy list when docker is running but it is not, only my array disks) 1. Probably not because I don'rt think there is enough room to fit it in. 2. The appdata, syslog, and system shares are excluded from file activity and won't show any activity.
March 25, 20242 yr There's a possible duplication under 'Share activity' tab: ** /mnt/user/backup ** Mar 25 05:19:00 OPEN => /mnt/disk1/backup/repo/config Mar 25 05:19:00 OPEN => /mnt/disk1/backup/repo/data/6/62605 Mar 25 05:19:00 OPEN => /mnt/disk1/backup/repo/data/6/62606 Mar 25 05:19:00 DELETE => /mnt/disk1/backup/repo/data/6/62605 ** /mnt/user/data ** Mar 25 05:18:56 OPEN => /mnt/disk1/backup/repo/data/6/62660 Mar 25 05:19:00 OPEN => /mnt/disk1/backup/repo/data/6/62605 Mar 25 05:19:00 OPEN => /mnt/disk1/backup/repo/data/6/62606 Mar 25 05:19:00 DELETE => /mnt/disk1/backup/repo/data/6/62605 Listing said shares: # ls -lt /mnt/user/data total 4.0K drwxrwxrwx 1 tuxbass users 92 Jul 24 2023 win-10-user-setting-backups drwxr-xr-x 1 tuxbass users 28 Aug 25 2022 media drwxr-xr-x 1 nobody users 158 Aug 5 2021 Documents drwxrwxrwx 1 root root 0 Mar 4 2021 vm_backups drwxrwxrwx 1 tuxbass users 194 Aug 23 2020 win10-bt-drivers # ls -lt /mnt/user/backup/ total 0 drwx------ 1 root root 92 Mar 25 05:19 repo drwx------ 1 root root 32 Jul 12 2023 vms Note data share doesn't show any modifications as of late. The activity above is expected to be under the backup share alone. Any idea as to why above activity is listed also for /mnt/user/data share? Edited March 25, 20242 yr by tuxbass
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.