-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
UBI plugin: collect some stats about the UBIFS #3204
Conversation
UBIFS is a filesystem for unmanaged flash memory devices. This plugin collects some stats about the UBIFS: * bad physical underlying blocks (bad_peb_count) * max erase counter value (max_ec)
* compile the plugin by default * reword the configure.ac description * do not touch ChangeLog
Update the README, the collectd.conf.in and collectd.conf.pod
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @rpv-tomsk ,
Your remarks are taken into account.
The plugin is compiled only for the Linux system because it does not make sense for others.
I completed some documentation as well (README, conf file, ).
Should I drop this pull request and create an other one with an atomic commit ?
I don't think you should. You should wait for someone who is trusted contributor to merge this PR. Thanks for your work. |
@octo What do you think about this ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I was about to create a plugin for OpenWrt for the luci app-statistics. Unfortunately it's not possible to create a valid picture, because the lines are always 0. The value max_ec should 68. The value bad_peb_count is 0 but that is OK, because I have no badblock on my ubi nand. From my point of view the used data type COUNTER is wrong. I do not want to get the rate But this is calculated with the type COUNTER. Better would be the tpye GAUGE. Or am I missing something here?
|
@pticon @dago |
ChangeLog: The new "ubifs" plugin reports block state for flash memory devices with UBIFS filesystem
This plugin collects some stats about the UBIFS:
Signed-off-by: Pierre Lebleu [email protected]