Bug 598794
Summary: | Enable parametrization of sadc arguments | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Kevin Graham <kgraham> | ||||||
Component: | sysstat | Assignee: | Ivana Varekova <varekova> | ||||||
Status: | CLOSED ERRATA | QA Contact: | BaseOS QE - Apps <qe-baseos-apps> | ||||||
Severity: | low | Docs Contact: | |||||||
Priority: | low | ||||||||
Version: | 5.5 | CC: | bnater, mpoole, pat.kartas, rvokal, tao | ||||||
Target Milestone: | rc | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: |
Previously, there was no easy way to enable collection of statistics about disks and interrupts. Now, the SADC_OPTIONS variable can be used to set parameters for the sads utility, fixing this bug.
|
Story Points: | --- | ||||||
Clone Of: | |||||||||
: | 661724 690400 (view as bug list) | Environment: | |||||||
Last Closed: | 2011-07-21 10:42:51 UTC | Type: | --- | ||||||
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: | 661724, 690400 | ||||||||
Attachments: |
|
Description
Kevin Graham
2010-06-02 03:45:15 UTC
The sourcing /etc/sysconfig/sysstat should also be performed in /etc/rc.d/init.d/sysstat sadc, which is the underlying data gather command, only pays attention to the -d flag if creating a new file, and not when updating an existing file or rotating an old file to start the next day's file (see comments in /usr/lib/sa/sa1) since a system administrator might not realise this is the case and expected simply changing the config file to alter behaviour it would be sensible to emit a warning if the disk stats flag is set when the data files are not going to honour it. Created attachment 438481 [details]
patch to warn disk stats will not be gathered
Created attachment 438485 [details]
patch to source /etc/sysconfig/sysstat in sa1 & init script
This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unfortunately unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux. This request was erroneously denied for the current release of Red Hat Enterprise Linux. The error has been fixed and this request has been re-proposed for the current release. *** Bug 586217 has been marked as a duplicate of this bug. *** Bugfix was verified on sysstat-7.0.2-8.el5 package on all supported architectures. It's now possible to set sadc parameters using SADC_OPTIONS variable in /etc/sysconfig/sysstat file. Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Previously, there was no easy way to enable collection of statistics about disks and interrupts. Now, the SADC_OPTIONS variable can be used to set parameters for the sads utility, fixing this bug. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2011-1005.html |