On 03/21/2011 04:43 PM, Ken McDonell wrote:
> On Mon, 2011-03-21 at 11:35 -0500, David Smith wrote:
>> On 03/15/2011 03:07 PM, Ken McDonell wrote:
>>> On Fri, 2011-03-11 at 07:02 +1100, Ken McDonell wrote:
>>>> OK there seems to be consensus ... I'll make the changes to support
>>>> instance domains for event records.
>>>
>>> This is now done in the latest round of commits to my pcp4 branch.
>>
>> Hmm, when I use the pcp4 branch, I'm getting some odd results. pminfo
>> reports that sample.event.records exists, but both pmval and pmevent
>> report a PM_ERR_PMID (Unknown or illegal metric identifier) when I try
>> to read its value.
>>
>> Got any ideas on where I should look for the problem?
>
> Just had another thought after I wrote the text at the end of this
> mail ...
>
> the PMID for sample.event.records has changed recently
>
> pminfo sample.event.records
> will simply report the existence of the metric in the namespace
> (PMNS)
>
> pmval and pmevent will both need to look up the PMID from the
> name and then get the descriptor (pmDesc) ... this will be a
> problem if the PMID in the PMNS does not match the PMID in the
> PMDA for the metric.
>
> to fix this, ...
>
> $ cd /var/lib/pcp/pmdas/sample
> $ sudo ./Install </dev/null
>
> this will reinstall the PMDA and populate the PMNS with the
> correct name to PMID mapping.
>
> sorry about this.
Yep, that was it. Thanks for the help.
--
David Smith
dsmith@xxxxxxxxxx
Red Hat
http://www.redhat.com
256.217.0141 (direct)
256.837.0057 (fax)
|