-
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
Add statistics from /proc/self/mountstats for nfs clients (like iostat -n) #188
base: main
Are you sure you want to change the base?
Conversation
I'm running this fella now, and one thing I should note is that collectd configuration tends to CamelCase, while your configuration uses lowercase_with_underscores -- this should probably be cleaned up from a user experience perspective. enable_client_stats_per_mountpoint is a really verbose config option too -- maybe something more like EnableMountStats would be better? |
This patch is causing coredumps for me on RHEL 6.4:
|
@jgoldschrafe : could you provide more information ? What signal number does it crash with ? Does it crash after a long time (more than 10 minuntes) or when you start it ? Does it crash after you just mounted/unmounted some NFS share ?
What do those vars contain ? dest, dest->nb_op, dest->op[dest->nb_op].op_name, src, i, src->op[i].op_name ? Regards, |
@jgoldschrafe : I agree with you about configuration file in CamelCase style. Please check commit 27dc489. |
I am very much looking forward to this. Can anyone give an update on the status of this PR? |
This patch cannot be merged due to conflict, closing it for now, do no hesitate to re-open when you have a mergeable patch, thanks again! |
Hello, I updated my patch (https://github.com/ymettier/collectd/tree/ym/nfs_self_mountstats) and it does not conflict any more. It seems that I'm not allowed to reopen. Could you do it for me ? Or should I create a new PR ? |
Thanks for updating the code @ymettier ! I reopened the issue so that the conversation isn't lost. |
Any chance this could get merged? This is /exactly/ what we are searching to accomplish. NFS stats per mount point on the client side. Would make life much easier to have this merged upstream. |
Hello, I updated my patch. You can merge again on master branch. Regards, |
Hi there, is there any chance to merge this feature to upstream? We will test it in a near future, so I can post some info if needed. |
Hi, there is clearly interest in this to get merged. Is anybody willing to brush up the pull request so it merges cleanly and passes CI? Thanks and best regards, |
Hello, Sorry to answer so late. Sorry too because I'm not working on collectd and NFS any more : I will not be able to update my patch. Please feel free to fork it and update it to make it work. Regards, |
Hello,
On a nfs client, run "iostat -n" and have a look on /proc/self/mountstats...
This patch parses /proc/self/mountstats and get statistics about all NFS mountpoints.
Note : patch against release 5.1.1 is in perfwatcher/collectd-pw in branch patch-nfs_stats_with_network_plugin/5.1.1 if you are also interested in it.
Regards,
Yves