[Top] [All Lists]

RE: multiple PMDA's with one root

To: <pcp@xxxxxxxxxxx>
Subject: RE: multiple PMDA's with one root
From: "gilly" <gilly@xxxxxxxxxx>
Date: Tue, 3 Jul 2001 19:27:27 +0200
Importance: Normal
In-reply-to: <Pine.LNX.4.21.0107032023250.29556-100000@xxxxxxxxxxxxxxxxxxxxxxxxx>
Reply-to: <gilly@xxxxxxxxxx>
Sender: owner-pcp@xxxxxxxxxxx
thanks for the quick reply, but I encounter another problem concerning the
same issue - I have a different ID for each PMDA and I don't know where
should I define an ID for the root. does the PMDA_PMID for each metric in
each PMDA should change (right now it's PMDA_PMID(0,x) since the tree
consists of 2 levels only).
I pass the compilation phase, but while running "Install" script I get
PM_ERR_NAME (it doesn't recognize the PMDA name).

-----Original Message-----
From: Mark Goodwin [mailto:markgw@xxxxxxx]
Sent: Tuesday, July 03, 2001 12:28 PM
To: gilly
Cc: pcp@xxxxxxxxxxx
Subject: Re: multiple PMDA's with one root

On Tue, 3 Jul 2001, gilly wrote:

> Is it possible to create different PMDA's with one root in the PMNS?
> For example - if I use different PMDA's for different linux services
> like -  linux_nfs, linux_disk, linux_kernel, etc...), but I want all these
> PMDA's to be set under one root named linux in the PMNS.
> If so, where should I define this 'linux' root ('cause the different
> don't know of each other)?

Just duplicate the non-leaf nodes in the PMNS for each PMDA. Each PMDA
"Install" script calls pmnsadd(1) and/or pmnsmerge(1) to merge a subtree
into an existing PMNS.

-- Mark

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