Bug 1879350
Summary: | [RFE] Provide a pcp-ss(1) tool in pcp-system-tools | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Yogesh Babar <ybabar> | |
Component: | pcp | Assignee: | Mark Goodwin <mgoodwin> | |
Status: | CLOSED ERRATA | QA Contact: | Jan Kurik <jkurik> | |
Severity: | high | Docs Contact: | Petr Hybl <phybl> | |
Priority: | unspecified | |||
Version: | 8.0 | CC: | agerstmayr, igkioka, jkurik, jvaldez, mgoodwin, nathans, patrickm | |
Target Milestone: | rc | Keywords: | FutureFeature, Triaged | |
Target Release: | 8.5 | |||
Hardware: | All | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | pcp-5.3.1-3.el8 | Doc Type: | Enhancement | |
Doc Text: |
.The new `pcp-ss` PCP utility is now available
The `pcp-ss` PCP utility reports socket statistics collected by the `pmdasockets(1)` PMDA.
The command is compatible with many of the `ss` command line options and reporting formats. It also offers the advantages of local or remote monitoring in live mode and historical replay from a previously recorded PCP archive.
|
Story Points: | --- | |
Clone Of: | ||||
: | 1981223 (view as bug list) | Environment: | ||
Last Closed: | 2021-11-09 17:49:39 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1981223 |
Description
Yogesh Babar
2020-09-16 03:42:07 UTC
Setting DTM to 18, which is a few weeks before BZ#1922040 (Rebase PCP to 5.3.0+) Committed upstream for pcp-5.3.2: commit d2e9fd0dce7f24b8f81109b2b664ca637abfd2fc Author: Mark Goodwin <mgoodwin> Date: Thu Jun 24 12:42:54 2021 +1000 pcp-ss: initial version of new client tool, with QA and docs Initial commit for pcp-ss(1) front end client for pmdasockets(1), implementing many (but not yet all) of the ss(8) options. This is packaged in pcp-system-tools. New QA test 1633 is added along with test archive and man page. Still TODO are some PMDA changes for a persistent filter config file and various additional metrics, e.g. supporting the --process option, see https://github.com/performancecopilot/pcp/issues/1231 Resolves: RHBZ#1879350 New QA test 1633 can be used to verify. Upstream commits in addition to those in Comment#4: commit 47f9df215a609c5b3097080e22a1415ad83e2b8e Author: Mark Goodwin <mgoodwin> Date: Mon Jun 28 16:44:40 2021 +1000 pcp-ss: fix EAGAIN exceptions, add filter header, QA Use explicit scale="instant" in fetchgroups to avoid rate conversion. This was causing fetchgroups for metrics with counter semantics to throw EAGAIN exceptions in the report function. pcp-ss reports the raw counters, but other tools such as pmrep want to do rate conversion, so we keep the correct (native) semantics. Also simplify the code a bit, add missing bytes_sent in the --info report. Add a header in the report for the current timestamp and filter, which is especially useful for archive replay since the filter can change over time whilst logging (it's a storable metric). Tweaked pcp-ss report in qa/1634.out commit 6e19b22d183b3a5118ab9f5e0d1b4e7bc8a73838 Author: Mark Goodwin <mgoodwin> Date: Mon Jun 28 16:20:31 2021 +1000 pmdasockets: add persistent filter, new metrics, parser fixes and QA Add persistent filter (loaded on start only) as a config file in PCP_SYSCONF_DIR/sockets/filter.conf This can be overridden at runtime with a store to network.persocket.filter. Tweak the parser to handle the case where some filters (e.g. "state established") cause the second column in the ss report to be omitted. Also add some appl0 and app1 debug diags. qa/1634 updated to use the QA domain (FORQA=251) and a private pmns, avoiding cached indom updates by pmlogger or other clients whilst the test is running (was occuring when the sockets PMDA is enabled, causing intermittent mysterious timing related failures) Related: RHBZ#1879350 - pcp-ss commit af2c47e7755dc27db145f3568ead61458181ccdf Author: Marko Myllynen <myllynen> Date: Thu Jun 24 13:06:29 2021 +0300 pcp-ss.1: fix syntax, sort SEE ALSO Also drop some unrelated references like pmchart(1). Couple more: commit 1ff17fc3220a5d4bf3980f0fe5bef44ba29be7bc (HEAD -> main) Author: Mark Goodwin <mgoodwin> Date: Tue Jun 29 14:24:57 2021 +1000 docs: document pmdasockets filter config file Updated pmdasockets(1) man page. commit a2a4527d328b6c737c744f3b58fd6012616bd9bc Author: Mark Goodwin <mgoodwin> Date: Tue Jun 29 14:00:28 2021 +1000 pmdasockets: fix resource leak coverity CID371684 Plug leak in error handling path: Note to QE: the fix for BZ#1980459 - "Test '000' of the pcp upstream testsuite fails if hacluster pmda is installed and registered" did not make it into the pcp-5.3.1-3 build. So test 000 will fail if either of the sockets or hacluster PMDA is enabled (they are both optional PMDA and not enabled by default). Switching to VERIFIED as the tool is implemented and works. Follow-up issues are tracked in bz 1981886. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (pcp bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2021:4171 |