pcp
[Top] [All Lists]

[Bug 1272082] New: Can't record archives without pmcd with Python PMAPI

To: pcp@xxxxxxxxxxx
Subject: [Bug 1272082] New: Can't record archives without pmcd with Python PMAPI
From: bugzilla@xxxxxxxxxx
Date: Thu, 15 Oct 2015 12:47:15 +0000
Auto-submitted: auto-generated
Delivered-to: pcp@xxxxxxxxxxx
https://bugzilla.redhat.com/show_bug.cgi?id=1272082

            Bug ID: 1272082
           Summary: Can't record archives without pmcd with Python PMAPI
           Product: Fedora
           Version: 23
         Component: pcp
          Assignee: nathans@xxxxxxxxxx
          Reporter: myllynen@xxxxxxxxxx
        QA Contact: extras-qa@xxxxxxxxxxxxxxxxx
                CC: brolley@xxxxxxxxxx, fche@xxxxxxxxxx, lberk@xxxxxxxxxx,
                    mgoodwin@xxxxxxxxxx, nathans@xxxxxxxxxx,
                    pcp@xxxxxxxxxxx, scox@xxxxxxxxxx



Description of problem:
This one is firmly in the nice-to-have category.

pmlogger(1) can collect metrics without pmcd(1) using local DSO PMDAs with the
-o option. PCPIntro(1) states that @ as host has a special meaning, it refers
to PM_CONTEXT_LOCAL. However, when using pmgui.pmRecordAddHost, @ is used with
the -h option and pmlogger fails to start. Since adding -h is currently
hard-coded it's not possible, for example, to workaround this by adding -o with
pmgui.pmRecordControl/PM_REC_SETARGS. So it would be nice to pass "-o" instead
of "-h @" to pmlogger when the host is @.

For the above to be fully usable, it should probably be possible to pass -K
<spec> via the API as well. While PM_REC_SETARGS already should allow this, a
Python client started with -K can't query its own parameters for -K so
something like pmapi.pmGetOptionSpecLocal() would probably be needed.

I'm not entirely sure would this be worth the effort but let's at least
document the current situation here, just for the record.

-- 
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=j7eWgubpWc&a=cc_unsubscribe

<Prev in Thread] Current Thread [Next in Thread>
  • [Bug 1272082] New: Can't record archives without pmcd with Python PMAPI, bugzilla <=