pcp
[Top] [All Lists]

Re: [pcp] nfsclient pmda

To: Nathan Scott <nathans@xxxxxxxxxx>
Subject: Re: [pcp] nfsclient pmda
From: Martins Innus <minnus@xxxxxxxxxxx>
Date: Tue, 25 Feb 2014 16:20:04 -0500
Cc: pcp@xxxxxxxxxxx, Ben Myers <bpm@xxxxxxx>, Max Matveev <makc@xxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <742242243.21951337.1391769716120.JavaMail.root@xxxxxxxxxx>
References: <52F3A564.4060007@xxxxxxxxxxx> <1469416634.21700255.1391728771761.JavaMail.root@xxxxxxxxxx> <D2E9833E-1D7F-41F5-97C4-4438712E3BF2@xxxxxxxxxxx> <742242243.21951337.1391769716120.JavaMail.root@xxxxxxxxxx>
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
Nathan,

On 2/7/14 5:41 AM, Nathan Scott wrote:
Hi Martins,

----- Original Message -----
Nathan,
   Yes that would be great to get it in the tree. We are very interested in
   these metrics and would look at getting it up and running.

OK, its merged now and disabled from packaging pending your review,
updating, testing & so on.  Good luck, and have fun!

Thanks. Got it working with the attached patch. For now I just ignore the statvers. Seems to give sane values on a simple nfs setup.


There have been several advances since that post too - the perl API
grew support for the pmdaCache routines that Max talks about there.

Also, python became an option for PMDAs in the interim - if someone
is keen to pick up those review comments and hack on this further,
might be worth considering that aspect too (python, too, can use the
pmdaCache APIs).  An automated test to exercise the logic would be
a welcome addition as well (e.g. qa/553 "Exercise the gluster PMDA"
would make a good reference there).

So, you guide me - would it be helpful in the tree and not packaged
as Max suggested?

Is there an example perl pmda that uses pmdaCache that I could look at? I probably don't have the time to rewrite in Python right now, but could hack on the existing perl following Max's suggestions as I have time.

Thanks

Martins

Attachment: nfsclient.patch
Description: Text document

<Prev in Thread] Current Thread [Next in Thread>