RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1102603 - RFE - Setting compress method in /etc/sysconfig/sysstat file
Summary: RFE - Setting compress method in /etc/sysconfig/sysstat file
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: sysstat
Version: 6.6
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: rc
: ---
Assignee: Peter Schiffer
QA Contact: Branislav Náter
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-29 09:39 UTC by Branislav Náter
Modified: 2014-10-14 06:40 UTC (History)
1 user (show)

Fixed In Version: sysstat-9.0.4-26.el6
Doc Type: Enhancement
Doc Text:
Feature: enable setting of data file compression method in the /etc/sysconfig/sysstat configuration file via ZIP variable Reason: easier configuration of data file compression method Result (if any):
Clone Of:
: 1102610 (view as bug list)
Environment:
Last Closed: 2014-10-14 06:40:55 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
sysstat-9.0.4-zip-conf.patch (456 bytes, patch)
2014-06-19 12:50 UTC, Peter Schiffer
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:1468 0 normal SHIPPED_LIVE sysstat bug fix and enhancement update 2014-10-14 01:10:47 UTC

Description Branislav Náter 2014-05-29 09:39:50 UTC
Description of problem:
I've realized during testing bz#1088998 that it would be nice to be able to set compress method in /etc/sysconfig/sysstat file. Currently it is possible to set it only in /usr/lib/sa/sa2 file using ZIP variable.

# grep ZIP /usr/lib64/sa/sa2
ZIP="bzip2"

Diff representing proposed enhancement:
----------------------------------------------------------------------------
--- /etc/sysconfig/sysstat	2014-02-28 23:59:01.533128486 -0500
+++ sysstat.new	2014-03-01 17:18:53.730971381 -0500
@@ -5,9 +5,12 @@
 # multiple directories, one for each month.
 HISTORY=10
 
-# Compress (using gzip or bzip2) sa and sar files older than (in days):
+# Compress (using gzip, bzip2 or xz) sa and sar files older than (in days):
 COMPRESSAFTER=31
 
+# Compression method (gzip, bzip2 or xz)
+ZIP="bzip2"
+
 # Parameters for the system activity data collector (see sadc manual page)
 # which are used for the generation of log files.
 SADC_OPTIONS="-S DISK"
-----------------------------------------------------------------------------

Comment 1 Peter Schiffer 2014-06-19 12:50:06 UTC
Created attachment 910384 [details]
sysstat-9.0.4-zip-conf.patch

Comment 3 Branislav Náter 2014-06-19 14:29:46 UTC
easy to test, qa_ack for rhel-6.6

Comment 6 errata-xmlrpc 2014-10-14 06:40:55 UTC
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, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-1468.html


Note You need to log in before you can comment on or make changes to this bug.