-
Bug
-
Resolution: Done-Errata
-
Normal
-
rhel-9.5
-
None
-
pcp-6.2.2-1.el9
-
None
-
Moderate
-
1
-
rhel-sst-pt-pcp
-
ssg_platform_tools
-
22
-
1
-
QE ack, Dev ack
-
False
-
-
No
-
Red Hat Enterprise Linux
-
PCP Sprint 5
-
Pass
-
Automated
-
Unspecified Release Note Type - Unknown
-
-
All
-
None
What were you trying to do that didn't work?
When output of pcp2openmetrics tool is redirected from the stdout to a file using "-F" command ine parameter, the redirection is ignored and the output goes to stdout anyway.
Please provide the package NVR for which bug is seen:
pcp-6.2.1-1.el9
How reproducible:
Always
Steps to reproduce
- Install pcp & pcp-export-pcp2openmetrics packages
- Start pmcd and pmlogger
- Export some metric from an archive to a file
pcp2openmetrics -a /var/log/pcp/pmlogger/$(hostname)/ -F /tmp/load.openmetrics 'kernel.all.load'
Expected results
The result is written to the /tmp/load.openmetrics file.
Actual results
The result is printed on stdout
- is related to
-
RHEL-30198 Bug fix and feature rebase for Performance Co-Pilot
-
- Closed
-
- relates to
-
RHEL-39132 Non working option '-s' in pcp2openmetrics
-
- Closed
-
-
RHEL-39159 Invalid openmetrics format generated by pcp2openmetrics tool
-
- Closed
-
-
RHEL-39293 Output of pcp2openmetrics can not be parsed by Prometheus parser
-
- Closed
-
- split to
-
RHEL-39424 [Dev] pcp2openmetrics ignores the output file specified via "-F" command line param
-
- Closed
-
- links to
-
RHBA-2024:129301 pcp bug fix and enhancement update
Since the problem described in this issue should be resolved in a recent advisory, it has been closed.
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-2024:9101