Bug 1102610

Summary: RFE - Setting compress method in /etc/sysconfig/sysstat file
Product: Red Hat Enterprise Linux 7 Reporter: Branislav Náter <bnater>
Component: sysstatAssignee: Peter Schiffer <pschiffe>
Status: CLOSED ERRATA QA Contact: Branislav Náter <bnater>
Severity: low Docs Contact:
Priority: low    
Version: 7.0CC: lmiksik, pschiffe
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 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):
Story Points: ---
Clone Of: 1102603 Environment:
Last Closed: 2015-03-05 08:49:49 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:
Attachments:
Description Flags
sysstat-10.1.5-zip-conf.patch none

Description Branislav Náter 2014-05-29 09:46:50 UTC
+++ This bug was initially created as a clone of Bug #1102603 +++

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 2 Peter Schiffer 2014-09-01 21:19:04 UTC
Created attachment 933539 [details]
sysstat-10.1.5-zip-conf.patch

Comment 4 Jiri Herrmann 2014-12-12 15:31:56 UTC
If this Feature should be included in the 7.1 Release Notes, could you please change the Doc Type from Enhancement to "Release Note"?

Note that the Release Notes are intended to list the most prominent and customer-relevant new features rather than every single enhancement.

Cheers,
Jirka

Comment 5 Peter Schiffer 2014-12-12 16:26:20 UTC
This feature doesn't need to be in release notes.

Comment 8 errata-xmlrpc 2015-03-05 08:49:49 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.

https://rhn.redhat.com/errata/RHBA-2015-0379.html