Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add diskio sensors for Home Assistant (in bytes/second) #37

Merged

Conversation

wittypluck
Copy link
Contributor

The aim of this PR is to add diskio sensors for Hone Assistant.
The unit is in bytes/second :

read = read_bytes / time_since_update
write = write_bytes / time_since_update

The unit test includes a sample with two disks.
Once the library is released I will create a PR in Home Assistant to use these new sensors.

Glances documentation

Note:
diskio can be configured server side in glances.conf to limit the number of disks, or it can also be disabled completely with

[diskio]
disable=True

@wittypluck wittypluck marked this pull request as ready for review April 3, 2024 20:16
@fabaff fabaff merged commit 335258d into home-assistant-ecosystem:master Apr 4, 2024
2 checks passed
@wittypluck
Copy link
Contributor Author

Thank you!

@wittypluck wittypluck deleted the glances-ha-diskio branch July 24, 2024 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants