I don't think this is a regression ... this is the same as your bash
completion not working.
If you turn on -D pmns also, I think you'll see it is using the local
PMNS and returning pmid 70:*:* for mmv (no descendent metrics below the
root of the dynamic substree of the pmns).
This is the second part of the changes that I'm currently working on.
The commits so far will mean we build the dsotbl on the fly to be the
same as the old compile-time one for the mmv pmda, but noting else has
changed.
On Thu, 2010-04-15 at 15:58 +1000, Nathan Scott wrote:
> ----- "Ken McDonell" <kenj@xxxxxxxxxxxxxxxx> wrote:
>
> > Changes committed to git://oss.sgi.com/kenj/pcp.git dev
>
> Hmm, somethings not quite right here...
>
> 15:42 nathans@verge /source/git/pcp/src/libpcp/src 253> pminfo -Dcontext -L
> -f mmv
> build_dsotab: parsing /etc/pmcd/pmcd.conf
>
> [6] domain=60, name=/var/lib/pcp/pmdas/linux/pmda_linux.so, init=linux_init
>
> __pmLocalPMDA(op=ADD, domain=60, name=/var/lib/pcp/pmdas/linux/pmda_linux.so,
> init=linux_init)
>
> Local Context PMDA Table
>
> 0x9c049a0 [0] domain=60 name=/var/lib/pcp/pmdas/linux/pmda_linux.so
> init=linux_init handle=(nil)
> [7] domain=70, name=/var/lib/pcp/pmdas/mmv/pmda_mmv.so, init=mmv_init
> __pmLocalPMDA(op=ADD, domain=70, name=/var/lib/pcp/pmdas/mmv/pmda_mmv.so,
> init=mmv_init)
> Local Context PMDA Table
> 0x9c04a18 [0] domain=60 name=/var/lib/pcp/pmdas/linux/pmda_linux.so
> init=linux_init handle=(nil)
> 0x9c04a5c [1] domain=70 name=/var/lib/pcp/pmdas/mmv/pmda_mmv.so init=mmv_init
> handle=(nil)
> [9] domain=30, name=/var/lib/pcp/pmdas/sample/pmda_sample.so, init=sample_init
> __pmLocalPMDA(op=ADD, domain=30,
> name=/var/lib/pcp/pmdas/sample/pmda_sample.so, init=sample_init)
> Local Context PMDA Table
> 0x9c04ad0 [0] domain=60 name=/var/lib/pcp/pmdas/linux/pmda_linux.so
> init=linux_init handle=(nil)
> 0x9c04b14 [1] domain=70 name=/var/lib/pcp/pmdas/mmv/pmda_mmv.so init=mmv_init
> handle=(nil)
> 0x9c04b58 [2] domain=30 name=/var/lib/pcp/pmdas/sample/pmda_sample.so
> init=sample_init handle=(nil)
> pmNewContext(3, (null)) -> 0
>
>
> So, its finding mmv alright but failing to fetch from it? Fetching mmv
> metrics
> from pmcd locally works as expected.
>
> cheers.
>
|