pcp
[Top] [All Lists]

[Bug 1270176] Python PMAPI pmSetOptionHostList no workie

To: pcp@xxxxxxxxxxx
Subject: [Bug 1270176] Python PMAPI pmSetOptionHostList no workie
From: bugzilla@xxxxxxxxxx
Date: Mon, 12 Oct 2015 05:41:31 +0000
Auto-submitted: auto-generated
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <bug-1270176-355098@xxxxxxxxxxxxxxxxxxx>
References: <bug-1270176-355098@xxxxxxxxxxxxxxxxxxx>
https://bugzilla.redhat.com/show_bug.cgi?id=1270176



--- Comment #2 from Marko Myllynen <myllynen@xxxxxxxxxx> ---
(In reply to Nathan Scott from comment #1)
> There's a bit of a conceptual disconnect here, I think Marko...

Sorry for being horribly unclear here.

pcp.pmapi makes it clear that multiple contexts are not supported and I wasn't
after multiple contexts support but rather a way to specify the source for a
context in the same way one can specify e.g. interval or samples for the
context (now the only way to specify a host to be used for a context seems to
be using via the command line option). Ok, there's a difference of changing
parameters like interval compared to changing the source for a context but
given that pmSetOptionHostList() exists, I thought using it with one host would
be possible prior context creation as above (otherwise I wonder why it exists
at all in Python PMAPI?).

A practical use case would be to allow supporting "source" configuration file
directive in pmrep configuration file.

Thanks.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug 
https://bugzilla.redhat.com/token.cgi?t=kcW27f86RQ&a=cc_unsubscribe

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