pcp
[Top] [All Lists]

Re: [pcp] [PATCH] Add NFS Server PMDA

To: myllynen@xxxxxxxxxx
Subject: Re: [pcp] [PATCH] Add NFS Server PMDA
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Tue, 16 Sep 2014 23:59:06 -0400 (EDT)
Cc: pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <54185B64.50500@xxxxxxxxxx>
References: <54185B64.50500@xxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: aSwh+gCy70JzjwEe+R1M/t9VGzG4HQ==
Thread-topic: Add NFS Server PMDA
Hi Marko,

----- Original Message -----
> Hi,
> 
> please find the first cut of (Linux) NFS Server PMDA below. Needs at least a
> proper domain number, 135 used in the patch was randomly picked up unused
> number for testing, tested on RHEL 6 / Fedora 20. If the server is not
> exporting all NFS 2/3/4 versions, then during Install there will be warning
> for missing metrics and the values are obviously unavailable but otherwise
> does not prevent the PMDA working.

There seems to be a fair bit of overlap between these metrics and the
RPC/NFS server metrics in the Linux kernel PMDA.  Do you want to find
any missing ones and add them into the kernel PMDA instead?  (so that
they're available by default)

See src/pmdas/linux/proc_net_rpc.{c,h} - I think that is doing alot of
the same sort of procfs file parsing.

cheers.

--
Nathan

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