Debian Codegraph @

man/man5/ramanage.conf.5.in

raw
1 .\"
2 .\" Argus-5.0 Software
3 .\" Copyright (c) 2000-2024 QoSient, LLC
4 .\" All rights reserved.
5 .\"
6 .\"
7 .TH RAMANAGE.CONF 5 "13 November 2018" "ramanage.conf 5.0.3"
8 .SH NAME
9 \fBramanage.conf\fP \- \fBramanage\fP configuration options
10 .SH SYNOPSIS
11 .B ramanage.conf
12 .SH DESCRIPTION
13 The following options control the behavior of the compress, upload and
14 delete commands.
15 These are set in @sysconfdir@/ramanage.conf or in a file referenced
16 by the -f option.
17 On Windows systems, these can be set in the 64-bit registry.
18 See the WINDOWS REGISTRY section below for details.
19
20 .SH RAMANAGE_LOCK_FILE
21 ramanage is designed to be run from rastream(1).
22 rastream will spawn one process for each file it closes, as the files
23 are closed which will lead to multiple ramanage processes.
24 To prevent all processes from consuming CPU and/or network resources
25 simultaneously, a lock file can be specified which will ensure that
26 only one ramanage process is working at any given time.
27 The filename must be specified using posix conventions, meaning
28 forward slashes between directories even on Windows systems.
29 Currently, Cygwin is used for building Windows binaries and therefor
30 the filenames must also adhere to the layout of Cygwin's "filesystem".
31 On Unix systems, /var/lib and /var/lock are common places for this
32 sort of file.
33
34 .SH RAMANAGE_COMPRESS_EFFORT
35 Set the gzip compression effort.
36 Allowed range is 1-9 inclusive.
37 Currently not implemented.
38
39 .SH RAMANAGE_COMPRESS_METHOD
40 Set the compression algorithm.
41 Only gzip is supported.
42 Currently not implemented.
43
44 .SH RAMANAGE_COMPRESS_MAX_KB
45 Limit the amount of data from the archive that can be compressed in one
46 run of ramange.
47 If compression is enabled, ramanage will always compress the file after
48 the -r option, regardless of size.
49 After, if archive processing is enabled, ramange will start with the
50 oldest uncompressed file in the archive and will compress files until
51 it reaches this limit.
52 If no limit is specified or is set to zero, ramanage will continue until
53 the entire archive is compressed.
54 Must be a positive integer value.
55
56 .SH RAMANAGE_UPLOAD_USE_DNS
57 Look for a service record in DNS pointing to the QoSient collection
58 system.
59 The service record (SRV) name has the format
60 _argus_upload._tcp.\fIdomainname\fP.
61 ramanage uses the resulting hostname and port values to find the
62 collector.
63 Priority and weight are ignored.
64 Valid values are "yes" and "no".
65
66 .SH RAMANAGE_UPLOAD_USE_DNS_DOMAIN
67 Look in DNS for a service record in this domain.
68 Use in conjunction with RAMANAGE_UPLOAD_USE_DNS.
69 Valid values are valid domain names.
70 Omit the trailing dot/period.
71
72 .SH RAMANAGE_UPLOAD_SERVER
73 If not using a DNS service record to locate the collector,
74 provide the numeric IPv4 or IPv6 address here.
75
76 .SH RAMANAGE_UPLOAD_DIR
77 Upload (PUT) files into this directory on the collector.
78 QoSient collectors default to /uploads.
79 ramanage assumes no default directory.
80
81 .SH RAMANAGE_UPLOAD_USER
82 When using BasicAuth, authenticate with this username.
83
84 .SH RAMANAGE_UPLOAD_PASS
85 When using BasicAuth, authenticate with this password.
86 Note that if an external curl binary is used, the password
87 will appear on the commandline.
88
89 .SH RAMANAGE_UPLOAD_AUTH
90 Set the authenticate type for HTTPS uploads.
91 Leave blank for BasicAuth or set to "spnego"
92 for Kerberos V5.
93
94 .SH RAMANAGE_UPLOAD_MAX_KB
95 Limit the amount of data from the archive that can be uploaded in one
96 run of ramange.
97 If upload is enabled, ramanage will always upload the file after the -r
98 option, regardless of size.
99 After, if archive processing is enabled, ramange will start with the
100 oldest file in the archive and will upload files until it reaches
101 this limit.
102 If no limit is specified or is set to zero, ramanage will continue until
103 the entire archive is uploaded.
104 Must be a positive integer value.
105
106 .SH RAMANAGE_UPLOAD_DELAY_USEC
107 Delay uploads by some random time limited by this value.
108 It is assumed that many systems will be uploading data to
109 the same QoSient collector at the same time (since most systems
110 have some sort of time synchronization, like NTP).
111 Stagger the uploads some by waiting for an unpredictable
112 time.
113 Disable by setting to zero.
114
115 .SH RAMANAGE_PATH_ARCHIVE
116 Specify the location of the local Argus file archive (mandatory).
117 The filename must be specified using posix conventions, meaning
118 forward slashes between directories even on Windows systems.
119 Currently, Cygwin is used for building Windows binaries and therefor
120 the filenames must also adhere to the layout of Cygwin's "filesystem".
121
122 .SH RAMANAGE_PATH_STAGING
123 Specify the location of the local Argus file staging directory
124 (mandatory).
125 This is where files will be moved after upload.
126 File remain in this directory until they are deleted,
127 according to the ramange configuration.
128 The filename must be specified using posix conventions, meaning
129 forward slashes between directories even on Windows systems.
130 Currently, Cygwin is used for building Windows binaries and therefor
131 the filenames must also adhere to the layout of Cygwin's "filesystem".
132
133 .SH RAMANAGE_RPOLICY_DELETE_AFTER
134 Delete files in the staging and archive directories after the duration
135 specified here in days.
136 Must be a positive integer.
137
138 .SH RAMANAGE_RPOLICY_COMPRESS_AFTER
139 Compress files in the staging and archive directories after the
140 duration specified here in days.
141 Must be a positive integer.
142 Set to zero to compress immediately.
143
144 .SH RAMANAGE_RPOLICY_MAX_KB
145 Delete the oldest files in the archive if more than this amount of
146 storage is used.
147 Currently not implemented.
148
149 .SH RAMANAGE_RPOLICY_MIN_DAYS
150 Keep at least this many days worth of argus data in the archive, even
151 if this exceeds the storage requirements set in RAMANAGE_RPOLICY_MAX_KB.
152 Currently not implemented.
153
154 .SH RAMANAGE_RPOLICY_IGNORE_ARCHIVE
155 Set to "yes" if only the file specified by -r should be processed.
156 Defaults to "no".
157
158 .SH RAMANAGE_PROCESS_ARCHIVE_PERIOD
159 ramanage is designed to be run from rastream(1).
160 rastream will spawn one process for each file it closes, as the files
161 are closed which will lead to multiple ramanage processes.
162 To prevent the archive compression and upload phases from running in
163 close succession as a result, specify how often it is permissible
164 to compress/upload/delete files in the archive.
165 Value must be a non-negative integer and has units of seconds.
166
167 .SH RAMANAGE_CMD_COMPRESS
168 Set to "yes" to enable file compression.
169 Defaults to "no".
170
171 .SH RAMANAGE_CMD_DELETE
172 Set to "yes" to enable file deletion.
173 Defaults to "no".
174
175 .SH RAMANAGE_CMD_UPLOAD
176 Set to "yes" to enable file uploads.
177 Defaults to "no".
178
179 .SH "WINDOWS REGISTRY"
180 If present, configuration items in the Windows registry will be preferred
181 over those in configuration files.
182 These are stored in HKLM:\\SOFTWARE\\QoSient\\ArgusClients\\ramanage.
183 Configuration items have the same names as those in configuration files
184 and have a type of either SZ for string values, or QWORD for numeric
185 values.
186
187 To view current settings from PowerShell,
188 .ft CW
189 .ps 8
190 .nf
191 .in +0.5i
192 C:\\> Get-ItemProperty HKLM:\\SOFTWARE\\QoSient\\ArgusClients\\ramanage
193 .in
194 .fi
195 .ps
196 .ft
197
198 Create the registry key if not present:
199 .ft CW
200 .ps 8
201 .nf
202 .in +0.5i
203 C:\\> New-Item -Path HKLM:\\SOFTWARE -Name QoSient
204 C:\\> New-Item -Path HKLM:\\SOFTWARE\\QoSient -Name ArgusClients
205 C:\\> New-Item -Path HKLM:\\SOFTWARE\\QoSient\\ArgusClients -Name ramanage
206 .in
207 .fi
208 .ps
209 .ft
210
211 Configuration values can be added to the ramanage key from PowerShell
212 with the Set-ItemProperty cmdlet.
213 Numeric values require the -Type parameter.
214 To enter string values, omit the type parameter.
215 .ft CW
216 .ps 8
217 .nf
218 .in +0.5i
219 C:\\> Set-ItemPropery -Path HKLM:\\SOFTWARE\\QoSient\\ArgusClients\\ramanage `
220 .in +0.5i
221 -Type QWord `
222 -Name RAMANAGE_RPOLICY_DELETE_AFTER `
223 -Value 180
224 .in -0.5i
225 C:\\> Set-ItemPropery -Path HKLM:\\SOFTWARE\\QoSient\\ArgusClients\\ramanage `
226 .in +0.5i
227 -Name RAMANAGE_CMD_UPLOAD `
228 -Value yes
229 .in -0.5i
230 .in -0.5i
231 .fi
232 .ps
233 .ft
234
235 The regedit program (not regedit32) can be used to create the ramanage
236 key and its properties if a graphical interface is preferred.
237
238 .SH SEE ALSO
239 .BR ramanage (1),\ rastream (1)
240
241 .SH COPYRIGHT
242 Copyright (c) 2000-2024 QoSient. All rights reserved.