summaryrefslogtreecommitdiff
path: root/src/system/dlt-system.conf
blob: ee237a2e90c671900ac818ffc4294b666ed00780 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
# Configuration file of DLT system manager
#

########################################################################
# General configuration                                                
########################################################################

# The application Id used for the System manager (Default: SYS)
ApplicationId = SYS

########################################################################
# Syslog Adapter configuration                                                
########################################################################

# Enable the Syslog Adapter (Default: 0)
SyslogEnable = 1

# The Context Id of the syslog adapter (Default: SYSL)
SyslogContextId = SYSL

# The UDP port opened by DLT system mamager to receive system logs (Default: 47111)
SyslogPort = 47111

########################################################################
# Filetransfer Manager                                                
########################################################################

# Enable the Filetransfer (Default: 0)
FiletransferEnable = 0

# The Context Id of the filetransfer (Default: FILE)
FiletransferContextId = FILE

# Time after startup of dlt-system when first file is transfered (Default: 30)
# Time in seconds
FiletransferTimeStartup = 30

# Time to wait when transfered file is deleted and next file transfer starts (Default: 10)
# Time in seconds
FiletransferTimeDelay = 10

# Time to wait between two file transfer logs of a single file to DLT.  (Default: 10)
# Time in ms seconds
FiletransferTimeoutBetweenLogs = 10

# Temporary directory to use.
# File transfer will move a file to this directory
# while it is being compressed and sent
FiletransferTempDir = /tmp

# You can define multiple file transfer directories
# Define the directory to watch, whether to compress
# the file with zlib and the zlib compression level
# For parsing purposes, FiletransferCompressionLevel
# must be the last one of three values.
FiletransferDirectory = /var/dlt/ft1
FiletransferCompression = 1
FiletransferCompressionLevel = 5

# Second directory to watch
FiletransferDirectory = /var/dlt/ft2
FiletransferCompression = 0
FiletransferCompressionLevel = 5

# And so on...
FiletransferDirectory = /var/dlt/ft3
FiletransferCompression = 0
FiletransferCompressionLevel = 5


########################################################################
# Log short files, especially from proc filesystem                                                
########################################################################

# Enable the logging of files (Default: 0)
LogFileEnable = 0

# Log different files
# Mode: 0 = off, 1 = startup only, 2 = regular
# TimeDelay: If mode regular is set, time delay is the number of seconds for next sent

# Log the file /etc/sysrel
LogFileFilename = /etc/sysrel
LogFileMode = 1
LogFileTimeDelay = 3
LogFileContextId = VER

# Log the file /proc/version
LogFileFilename = /proc/version
LogFileMode = 1
LogFileTimeDelay = 3
LogFileContextId = VERK

# Log the file /proc/meminfo
# LogFileFilename = /proc/meminfo
# LogFileMode = 2
# LogFileTimeDelay = 5
# LogFileContextId = MEM

# Log the file /proc/cpuinfo
# LogFileFilename = /proc/cpuinfo
# LogFileMode = 2
# LogFileTimeDelay = 5
# LogFileContextId = CPU

# Log the file /proc/stat
LogFileFilename = /proc/stat
LogFileMode = 2
LogFileTimeDelay = 1
LogFileContextId = STAT

# Log the file /proc/modules
# LogFileFilename = /proc/modules
# LogFileMode = 2
# LogFileTimeDelay = 5
# LogFileContextId = MOD

# Log the file /proc/ioports
# LogFileFilename = /proc/ioports
# LogFileMode = 1
# LogFileTimeDelay = 5
# LogFileContextId = IOP

# Log the file /proc/iomem
# LogFileFilename = /proc/iomem
# LogFileMode = 1
# LogFileTimeDelay = 5
# LogFileContextId = IOM

########################################################################
# Log Processes                                                
########################################################################

# Enable the logging of processes (Default: 0)
LogProcessesEnable = 0

# The Context Id of the kernel version (Default: PROC)
LogProcessesContextId = PROC

# Log different processes
# Name: * = all process, X=alternative name (must correspind to /proc/X/cmdline
# Filename: the filename in the subdirectory /proc/processid/
# Mode: 0 = off, 1 = startup only, 2 = regular
# TimeDelay: If mode regular is set, time delay is the number of seconds for next sent

LogProcessName = *
LogProcessFilename = stat
LogProcessMode = 2
LogProcessTimeDelay = 5

# LogProcessName = dlt_viewer
# LogProcessFilename = stat
# LogProcessMode = 2
# LogProcessTimeDelay = 1