pcp
[Top] [All Lists]

Re: a PMDA using another PMDA

To: <gilly@xxxxxxxxxx>, <pcp@xxxxxxxxxxx>
Subject: Re: a PMDA using another PMDA
From: "Nathan Scott" <nathans@xxxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 17 Jul 2001 12:12:36 +1000
In-reply-to: "gilly" <gilly@exanet.com> "a PMDA using another PMDA" (Jul 16, 12:40pm)
References: <003b01c10de3$c9218900$2a04000a@exanet>
Sender: owner-pcp@xxxxxxxxxxx
hi,

On Jul 16, 12:40pm, gilly wrote:
> Subject: a PMDA using another PMDA
> Is it possible to write a PMDA which its metrics are accumulative metrics of
> another PMDA from other hosts? for example - a PMDA that calculates all RPC
> metrics of 5 hosts it monitors, therefore inside the 'total-RPC' PMDA
> there's a call to pmFetch for the rpc metrics (from linux PMDA) from the
> other hosts (the context is - PM_CONTEXT_HOST). Actually the call to
> 'pmFetch' for the accumulative metrics calls pmFetch for each host - for the
> calculated metrics.

Yes, that is possible.  In fact on IRIX & in pcp-pro there
is a configurable "summary" PMDA which used pmie(1) to do
just this sort of thing.

> Does it matter if the PMDA's are installed as DSO?

Do you mean in general or in this particular instance?  See
my mail to the list from the other day for some thoughts on
this topic.

cheers.

-- 
Nathan

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