Closed H-Sachse closed 2 years ago
Please, check the latest version of fs.pm
, and let me know if it works as expected.
Don't forget to add the new option has_removable_devices
in your <fs>
section:
<fs>
...
has_removable_devices = y
...
</fs>
This option will force a device name recalculation on every new update.
Sorry for the late response. Seems to work OK. Thanks for the fix.
I have an issue with the fs I/O activity graph not logging data when the drive is not there when monitorix starts.
Here's the log:
and here's the graph:
The fs usage graph has no issue:
here's my config from conf.d:
The drives with problems are in an external 4-bay hot-swap USB enclosure and are mounted via udev rule so they may not yet be mounted when monitorix starts. I did reboot the affected computer at the time where the gap is visible in the graph. To fix the issue, a restart of monitorix is necessary. I did another reboot later and the problem was there again and was fixed with a restart of monitorix. It would be nice if the fs script would determine the device name when a mount comes online, not only on startup.