----- "Ken McDonell" <kenj@xxxxxxxxxxxxxxxx> wrote:
> I know you don't particularly like the environment variable approach,
> but following the $PCP_DERIVED_CONFIG example, we could introduce
> $PCP_LOCAL_CONFIG that might specify the name of a file (perhaps
> in $HOME/.pcp at the user's discretion) that contained local PMDA
> specifications (in the syntax for __pmSpecLocalPMDA that was recently
> So in your case, the file might contain
> or indeed, simply take the default and add the aconex PMDA, as in
> In some ways this is less ugly than the -K stuff for cases where the
> of PMDAs you'd like to be available for PM_CONTEXT_LOCAL is
> and fixed.
I was thinking something along those lines, but more system-wide than
user specific. If we had a /etc/pcp.local.d/ directory, we could have
the agent Install scripts drop a file in there in __pmSpecLocalPMDA
format for dso agents, and we could ship a kernel and mmv one in there
Infiniband rpm installs could then drop one in there, and the cluster
PMDA would be simplified a bit.
We could also do away completely with dsotab in libpcp then... and
fill that in "on the fly" based on contents of that directory.