-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix getting output from
sar -A
, moving sar to "system-load"
Fix 'sar -A' from timing out: This issue was that when the human-readable output of `sar -A` was added in April to `--entries=xenserver-logs`, the timeout for the capability was not defined. The capability xenserver-logs uses the default timeout of -1 which is racey for commands as they are immediately stopped due to timeout of -1 running out unless the are very very brief. To fix this, it was suggested that sar (a system load report) could be moved to a new capability. Also, it should be noted that sar records are binary system load records, not xenserver-specific log files. Therefore, create a new capability (system_load), repsonsible for collecting the the sar data files (and the humand-readable of output of `sar -A`) with a timeout of 30 seconds and a max_size of 70 MB. Signed-off-by: Bernhard Kaindl <bernhard.kaindl@cloud.com>
- Loading branch information
1 parent
5013b05
commit 8b3fc57
Showing
2 changed files
with
42 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters