File tree 4 files changed +61
-1
lines changed
4 files changed +61
-1
lines changed Original file line number Diff line number Diff line change
1
+ #
2
+ # Default settings for /etc/init.d/sysstat, /etc/cron.d/sysstat
3
+ # and /etc/cron.daily/sysstat files
4
+ #
5
+
6
+ # Should sadc collect system activity informations? Valid values
7
+ # are "true" and "false". Please do not put other values, they
8
+ # will be overwritten by debconf!
9
+ ENABLED="true"
Original file line number Diff line number Diff line change
1
+ # How long to keep log files (in days).
2
+ # Used by sa2(8) script
3
+ # If value is greater than 28, then use sadc's option -D to prevent older
4
+ # data files from being overwritten. See sadc(8) and sysstat(5) manual pages.
5
+ HISTORY=7
6
+
7
+ # Compress (using xz, gzip or bzip2) sa and sar files older than (in days):
8
+ COMPRESSAFTER=10
9
+
10
+ # Parameters for the system activity data collector (see sadc(8) manual page)
11
+ # which are used for the generation of log files.
12
+ # By default contains the `-S DISK' option responsible for generating disk
13
+ # statisitcs. Use `-S XALL' to collect all available statistics.
14
+ SADC_OPTIONS="-S DISK"
15
+
16
+ # Directory where sa and sar files are saved. The directory must exist.
17
+ SA_DIR=/var/log/sysstat
18
+
19
+ # Compression program to use.
20
+ ZIP="xz"
21
+
22
+ # By default sa2 script generates yesterday's summary, since the cron job
23
+ # usually runs right after midnight. If you want sa2 to generate the summary
24
+ # of the same day (for example when cron job runs at 23:53) set this variable.
25
+ #YESTERDAY=no
26
+
27
+ # By default sa2 script generates reports files (the so called sarDD files).
28
+ # Set this variable to false to disable reports generation.
29
+ #REPORTS=false
30
+
31
+ # The sa1 and sa2 scripts generate system activity data and report files in
32
+ # the /var/log/sysstat directory. By default the files are created with umask 0022
33
+ # and are therefore readable for all users. Change this variable to restrict
34
+ # the permissions on the files (e.g. use 0027 to adhere to more strict
35
+ # security standards).
36
+ UMASK=0022
Original file line number Diff line number Diff line change 32
32
update-alternatives --set ebtables /usr/sbin/ebtables-nft
33
33
systemctl restart ufw
34
34
35
+ - name : Configure sysstat
36
+ copy :
37
+ src : files/sysstat.sysstat
38
+ dest : /etc/sysstat/sysstat
39
+
40
+ - name : Configure default sysstat
41
+ copy :
42
+ src : files/default.sysstat
43
+ dest : /etc/default/sysstat
44
+
45
+ - name : Create Sysstat log directory
46
+ file :
47
+ path : /var/log/sysstat
48
+ state : directory
49
+
35
50
- name : Install other useful tools
36
51
apt :
37
52
pkg :
Original file line number Diff line number Diff line change 1
- postgres-version = " 15.1.0.78 "
1
+ postgres-version = " 15.1.0.79 "
You can’t perform that action at this time.
0 commit comments