Comments (9)
OK, I have replaced that one
https://github.com/openmediavault/openmediavault/blob/master/deb/openmediavault/usr/share/openmediavault/engined/rpc/filesystemmgmt.inc#L166
with
and that works.
Any chance to have this change accepted ? ;)
from openmediavault.
Please create a PR to discuss this. I want to have something for testing.
from openmediavault.
One problem is that DiskMgmt::enumerateDevices returns data that is not "static". If the configuration is created at a time a USB device is plugged in it will be added to the collectd configuration. Some minutes later the USB device is unplugged and the collectd config becomes invalid and will produce errors.
Therefore, I tend not to accept such a PR.
from openmediavault.
OK. That's a good reason. Maybe there a way to know the 'static' disk vs the USB one ?
Or maybe select the requested disks within the UI ? The user should select the correct disks, which add those in the collectd conf file.
Sorry for the Pull Request, I'm new to github... I have to learn how to use it !
from openmediavault.
I think you misunderstood me. With 'static' i mean something that is stored in the OMV database.
Or maybe select the requested disks within the UI ? The user should select the correct disks, which add those in the collectd conf file.
No, that's not possible because this will break the OMV concept and philosophy. OMV is no webmin UI where you can configure everything, instead the configuration for all services is done from a small configuration that is done by the user via UI. All services and other things derive their information from this config. In the current case the information which disks are monitored is derived from the filesystem mount config.
from openmediavault.
Reviving this old issue.
i think this is still a problem, i got a device with a single sata disk that is shared over iscsi (the whole disk)
this means i cannot use a filesystem mount on it directly on the openmediavault box and therefor the stats page will not work as it is now and that is very unfortunate and a problem.
from openmediavault.
Reviving this old issue.
i think this is still a problem, i got a device with a single sata disk that is shared over iscsi (the whole disk)
What does this mean? Shared via block or file? If block, then the diskstat plugin can't be used because a filesystem is required.
this means i cannot use a filesystem mount on it directly on the openmediavault box and therefor the stats page will not work as it is now and that is very unfortunate and a problem.
Without a filesystem (which is unter control of OMV) the disk stats plugin may not work.
from openmediavault.
Reviving this old issue.
i think this is still a problem, i got a device with a single sata disk that is shared over iscsi (the whole disk)What does this mean? Shared via block or file? If block, then the diskstat plugin can't be used because a filesystem is required.
block device shared over iscsi using the tgt plugin
this means i cannot use a filesystem mount on it directly on the openmediavault box and therefor the stats page will not work as it is now and that is very unfortunate and a problem.
Without a filesystem (which is unter control of OMV) the disk stats plugin may not work.
true, because of how the web page showing the stats is designed and that's where the problem is.
i can edit /etc/collectd/collectd.conf.d/disk.conf and add my sata disk and collectd will store the stats as expected.
web interface wont show it because it only includes block devices with a filesystem on it but if i adjust the html code in the browser by adjusting the url to rrd.php a little the graph shows up.
so collecting and displaying it is possible.
also disk is referenced via the web ui so it is not like i've done something outside of the openmediavault web ui.
adding removable disks to collectd probably makes not much sense so they can be ignored but other block devices should imo be included.
from openmediavault.
Reviving this old issue.
i think this is still a problem, i got a device with a single sata disk that is shared over iscsi (the whole disk)What does this mean? Shared via block or file? If block, then the diskstat plugin can't be used because a filesystem is required.
block device shared over iscsi using the tgt plugin
this means i cannot use a filesystem mount on it directly on the openmediavault box and therefor the stats page will not work as it is now and that is very unfortunate and a problem.
Without a filesystem (which is unter control of OMV) the disk stats plugin may not work.
true, because of how the web page showing the stats is designed and that's where the problem is.
i can edit /etc/collectd/collectd.conf.d/disk.conf and add my sata disk and collectd will store the stats as expected.
web interface wont show it because it only includes block devices with a filesystem on it but if i adjust the html code in the browser by adjusting the url to rrd.php a little the graph shows up.
so collecting and displaying it is possible.also disk is referenced via the web ui so it is not like i've done something outside of the openmediavault web ui.
adding removable disks to collectd probably makes not much sense so they can be ignored but other block devices should imo be included.
Please open the issue here: https://github.com/OpenMediaVault-Plugin-Developers/openmediavault-tgt/issues
It is the job of the plugin to ship the Salt state files for services like collectd.
from openmediavault.
Related Issues (20)
- Hostname change on interface causes raspberry os lite to fail on boot HOT 5
- .sh-script in Openmediavault HOT 2
- Raid 1 mounting problem exists after clean install of OMV HOT 1
- Some plugins are missing from OMV7 HOT 2
- Basic auth
- Only using NFSv2 and/or NFSv3 disabling NFS via TCP HOT 1
- OMV7 Fresh install on RPi 5 8GB - default admin user and password not working. HOT 1
- System Logs viewer cuts of messages containing text matching "<[A-Za-z]"
- IsDirty: Exception when executed without parameters HOT 1
- Add running tasks list, with option to stop/cancel HOT 1
- Log per task run with status indication HOT 1
- Provide known hosts handling from GUI HOT 2
- Best way to configure alerts on drive smart changes HOT 14
- Add python support to codeEditor component
- Allow codeEditor language to be dynamically changed
- re-creating a logical volume causes error 500 HOT 9
- Imported groups with GID > 65500 do not appear in the GUI HOT 1
- SSL-certs - something creates an empty folder named like a openmediavault cert - anacron job "check_ssl_cert_expiry" fails HOT 3
- Allow arbitrary UID/GID in rsync module. HOT 3
- Updating PhotoPrism HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openmediavault.