forked from lausser/check_logfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
372 lines (372 loc) · 14.5 KB
/
ChangeLog
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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
* 3.9 2018-06-11
add option maxage
* 3.8.1.4 2017-11-13
increase number of capture groups to 20
* 3.8.1.3 2017-10-26
fix issue #33
* 3.8.1.2 2017-10-17
fix getfilefingerprint for automounted nfs-shares (device-no jumps)
* 3.8.1.1 2017-07-26
fix rununique for windows
* 3.8.1 2017-07-13
fix eventlog rewind&unstick
pull request #22, journald filtering
* 3.8.0.3 2017-07-05
bugfix in type wevtutil when eventlog contains spaces
* 3.8.0.2 2017-04-25
reorg Makefile.am
* 3.8.0.1 2017-04-24
add forgotten files to the dist
* 3.8 2017-04-22
add type systemd (journald), pull request #15 from adrianlzt
* 3.7.6.3 2016-11-14
fix perl undef mesg when truncating with %(0-9)s part II
* 3.7.6.2 2016-11-11
fix perl undef mesg when truncating with %(0-9)s
* 3.7.6.1 2016-11-11
truncate eventlog message with %(0-9)s
* 3.7.6 2016-11-10
add option preview
* 3.7.5.2 2016-07-13
fix debian packaging infrastructure
* 3.7.5.1 2016-07-13
move debian files into debian/
* 3.7.5 2016-07-13
add debian package build tools (Thanks Hannes Hoerl)
* 3.7.4.2 2016-06-22
bugfix for lastoffset and 16-bit-encodings
* 3.7.4.1 2016-04-14
bugfix for flatfiles using privatestate
bugfix for protocolfileerror
* 3.7.4 2015-12-08
add global option protocolfileerror
* 3.7.3.1 2015-11-02
add logfilemissing as command line option
* 3.7.3 2015-09-29
bugfix for inversepat&allyoucaneat (pullrequest by ibpl)
* 3.7.2 2015-09-22
add option logfilemissing=[warning|critical]
* 3.7.1.5 2015-09-07
bugfix in --rununique, also add $options="rununique"
* 3.7.1.4 2015-08-04
bugfix in loadstate(), very strange scenario
* 3.7.1.3 2015-07-22
bugfix in --warning/--critical macros
* 3.7.1.2 - 2015-06-11
cleanup my pidfile
* 3.7.1.1 - 2015-06-03
fix a macro-bug
* 3.7.1 - 2015-04-22
add homevartmp as another autodetect location for seekfiles
* 3.7 - 2015-04-01
add type wevtutil to support EVTX (Crimson) event logs.
* 3.6.3 - 2014-12-21
resolve macros in seekfilesdir
* 3.6.2.1 - 2014-04-09
fix eventid-format for _tecad_win_
* 3.6.2 - 2014-04-08
eventlogformat _tecad_win_
* 3.6.1.1 - 2014-02-04
fix a race-condition (pid file) in unix-daemon-mode (thanks Klaus Wagner)
* 3.6.1 - 2014-01-25
added search-option "capturegroups"
add forgotten --allyoucaneat
* 3.6 - 2013-11-14
added global option "nooutputhitcount"
added search-option "thresholdexpiry="
okpattern resets threshold counters
* 3.5.3.3 - 2013-09-24
exe files without x-bit can now run in a cygwin environment (Thanks Michael Glaser)
* 3.5.3.2 - 2013-03-28
fixed a bug in allyoucaneat (if used with rotations)
* 3.5.3.1 - 2012-11-29
--verbose finally works on the commandline
htmlencode can also be an option inside a config file
* 3.5.3 - 2012-10-26
add option htmlencode (Thanks Sven Nierlein)
* 3.5.2.1 - 2012-09-19
fix a bug related to nfs-mounted logfiles under linux
* 3.5.2 - 2012-06-21
fix a bug in CL_PATTERN_KEY (Thanks Frank Rothaupt)
* 3.5.1 - 2012-06-02
add parameters --warning and --critical (they become CL_WARNING/CL_CRITICAL)
add option "savestate" for type "virtual"
* 3.5 - 2012-04-23
--timeout aborts searches in a controlled manner
* 3.4.7.1 - 2012-01-16
fix a bug in maxmemsize and solaris
fix a bug where a supersmartpostscript's output was overwritten by longoutput
* 3.4.7 - 2012-01-10
add new type dumpel (customer's request
bugfix in errpt's unstick method (Thanks Jim Winkle)
* 3.4.6.1 - 2012-01-05
make rotatewait a global option
make logfileerror a global option
* 3.4.6 - 2012-01-04
add maxmemsize
cleanup tab-indendation
add option logfileerror (unlike seekfileerror it is local)
add option rotatewait (sleep until chaos during rotation is over)
[selected]searches can be regexp
Eliminate "Use of qw(...) as parentheses is deprecated" warnings in perl 5.14 (Thanks Tommi)
* 3.4.5.2 - 2011-11-08
set the path to gzip for hpux /opt/contrib..)
fix a bug where % in error messages caused ugly perl-errors when used with scriptstdin (Thanks Thomas Klaradic)
* 3.4.5.1 - 2011-09-28
seekfilesdir can be "autodetect" with a configfile
also protocolsdir (dirname(dirname(cfgfile)) + [/var/tmp|/tmp]
also scriptpath (dirname(dirname(cfgfile)) + [/local/lib/nagios/plugins|/lib/nagios/plugins]
type executable
fix a perl undef (patternkey stuff which i don't remember)
* 3.4.5
add parameter --rununique
* 3.4.4.2 - 2011-08-03
patterns can be hashes
* 3.4.4.1 - 2011-05-31
seekfilesdir is now local (./var/tmp) in an OMD environment
* 3.4.4 - 2011-04-19
add parameter patternfile
* 3.4.3.2 - 2011-03-15
fix a bug with --type rotating::uniform on the commandline
* 3.4.3.1 - 2011-03-10
create the pidfile's directory if it doesn't exist
new option unstick (Thanks Holger Reif)
* 3.4.3 - 2011-01-19
add pid file handling to avoid concurrent processes with --daemon
* 3.4.2.2 - 2010-09-29
add pattern loglog0bz2log1bz2 (Thanks Christian Schulz)
add pattern ehl (Thanks Daniel Haist)
* 3.4.2.1 - 2010-08-04
add %u (User) to option eventlogformat
* 3.4.2 - 2010-06-29
fixed a bug where exceptions only worked if patterns were defined. (Thanks Heiko)
small patch so filenames can be specified with --tag
* 3.4.1 - 2010-05-08
new option archivedirregexp
fixed a bug in eventlogs. (take care of type EVENTLOG_SUCCESS)
* 3.4 - 2010-05-07
used a new version of par::packer for check_logfiles.exe (there were problems if PERL5LIB was set by an oracle/veritas/... perl installation)
* 3.3 - 2010-04-27
speedup in pattern matching
new (global) option seekfileerror
added Win32::Daemon to the windows version
* 3.2 - 2010-04-08
better errorhandling for type=eventlog. non-existing eventlogs and dead remote servers result in unknown
type=eventlog now opens a secure channel to ipc$ if necessary
type=eventlog now checks if the desired eventlog exists (reads registry)
speedup in tivoli mode
add 099benchmark.t
* 3.1.5 - 2010-03-05
lookback option is now allowed in the config file
fixed a bug which caused a perl-warning (only if criticalpattern=.* and last line is empty). (Thanks Sven Nierlein)
matching empty lines are displayed as _(null)_
* 3.1.4 - 2010-02-24
just beautify the release string
* 3.1.3.2 - 2010-02-24
added option randominode (Thanks Sergio)
implemented the allyoucaneat option in Eventlog
added option preferredlevel
* 3.1.3.1 - 2010-01-14
made the logfile name visible in PRIVATESTATE
changed HOMEPATH to USERPROFILE for the Windows HOME (Thanks Richard Tryzna)
* 3.1.3 - 2009-12-12
fixed a bug in module Ipmitool
* 3.1.2 - 2009-12-08
fixed a bug in scriptparams+macros+batsccipt
* 3.1.1 - 2009-12-02
max plugin output length is now configurable with $options="maxlength=8192"
* 3.1 - 2009-11-22
report can now be set in a cfgfile (global, e.g. $options="report=long")
new option "allyoucaneat" (the initial run starts from line 0)
new option "eventlogformat" (e.g. options='eventlogformat="id:%i %m",..')
Eventlog can now be filtered with include and exclude
new module Esxdiag
* 3.0.4 - 2009-09-20
accept the contents of a config file as encoded string
* 3.0.3.1 - 2009-09-07
Fixed a bug where incorrect EventIDs were read from the EventLog
* 3.0.3 - 2009-08-26
Speedup in Eventlog scans
Under some OSs the daemon did not detach itself from the terminal
* 3.0.2 - 2009-07-23
fixed a bug for --config. (Windows uses HOMEPATH instead of HOME)
fixed a bug in Eventlog+Tivoli (Thanks Werner Breitschmid)
* 3.0.1 - 2009-06-25
fixed a bug in Eventlog+Tivoli
added match_them_all and match_never_ever as predefined patterns
* 3.0 - 2009-06-19
added the ability to run as a windows service. (needs Win32::Daemon)
* 2.6 2009-05-26
added the --lookback parameter to simulate filter-written of CheckEventLog
--critical/warningpattern can now be "match_them_all" instead of ".*"
--archivedir is now also a cmd line parameter
added the --daemon parameter.
warning/criticalthreshold moved into options.
added --warning/criticalthreshold to the list of possible comdline parameters
Sven Nierlein wrote a module which reads patterns from a Tivoli Format File.
fixed incorrect calculation of protocolretention. (Thanks Rainer Rose)
* 2.5.6.1 - 2009-03-25
there was some debugging output left from 2.5.6
* 2.5.6 - 2009-03-25
fixed a bug in oraclealertlog+sticky
rewrote oraclealertlog so that the key is database time and not the plugin's system time
added the --macro parameter, e.g. --macro CL_LOGIN=nagios --macro CL_PASS=secret
added errorresource to type errpt
added the --nocase parameter
fixed a bug with line endings in unicode files
* 2.5.5.2 - 2009-02-20
added the report variable to config files
more extensive testing of the logfile's permissions
added the option maxlength which truncates lines (Thanks Thomas Borger)
added the option winwarncrit which uses EventLog types instead of patterns
* 2.5.5.1 - 2009-02-02
another bugfix for blanks in protocolsdir
i accidentially published a messed-up version of 2.5.5
* 2.5.5 - 2008-01-23
multiline output with --report=long/html
bugfix in rotation patterns (Thanks Elbert Lai and Prasana Iyengar)
bugfix in type=oraclealertlog
bugfix in scripts and windows pathnames with blanks. (Thanks Juergen Walker)
* 2.5 - 2008-11-04
native support for Windows eventlog (type=eventlog)
* 2.4.1.9 - 2008-10-30
bugfix in handling of config file paths. (Thanks Ken Harford)
* 2.4.1.8 - 2008-10-24
bugfix in Windows scriptpath. (Thanks Markus Wagner)
relative pathnames for config files are now possible under windows
* 2.4.1.7 - 2008-10-10
bugfix in rotating::uniform and macros in rotation
bugfix scriptparams with CL_TAG (Thanks Markus Wagner)
* 2.4.1.6 - 2008-09-03
added parameter --environment
* 2.4.1.5 - 2008-08-15
syslogclient hostnames can be case insensitive with option nocase
* 2.4.1.4 - 2008-07-20
scripts have access to a state hash, Environ. LAST_RUNTIME, RUN_COUNT
bugfix in type=uniform
* 2.4.1.3 - 2008-06-24
fixed a bug in --sticky=<duration> (Thanks Severin Rossignol)
* 2.4.1.2 - 2008-06-18
fixed a bug in CL_DATE_YY (Thanks beboy)
* 2.4.1.1 - 2008-05-29
archivedir can contain macros
* 2.4.1 - 2008-05-22
fixed a bug in sticky code (Thanks Nils Mueller)
* 2.4 - 2008-05-07
added support for oracle alert log through database connection
* 2.3.3 - 2008-04-10
introduced -F which allows directories full of configfiles
(ending in .cfg or .conf)
fixed a typo in LOGLOG0LOG1 definition
* 2.3.2.1 - 2008-02-26
fixed a bug which appeared with perl 5.10
tinkered with encoding.
* 2.3.2 - 2008-02-12
added support for ipmitool system event log.
fixed a small errpt bug.
added decoding of ucs-2 encoded files as proposed by Dominic Horn.
* 2.3.1.3 - 2008-01-28
small change to make it work with perl 5.10
* 2.3.1.2 - 2007-12-27
added macro CL_PROTOCOLFILE
more commandline options
Fixed a bug in conjunction with very big logfiles.
* 2.3.1.1 - 2007-11-16
Fixed a bug concerning sticky. (Thanks Marc Richter)
New option savethresholdcount. (Thanks Hannu Kivimäki)
* 2.3.1 - 2007-10-14
Added search templates. Thanks Axel.
Threshold counters are remembered.
Fixed a big in scriptparams found by Niall Downie.
Support for bzip2'ed archives
* 2.3 - 2007-09-10
Added AIX errpt as a new type of logfile.
Performance data are now in the expected format.
Added the sticky option. (I hate it. No support!)
Added the syslogclient option.
Error counters can now be reset with okpatterns.
Buxfixes for supersmart postscript output.
* 2.2.4.1 - 2007-06-11
Fixed a bug (--searches) found by Mark Petersen
* 2.2.4 - 2007-06-06
Added support for "virtual" files. (like /proc/*)
* 2.2.3 - 2007-06-05
Fixed a bug with non-linux unices.
Banged my head against the table.
* 2.2.2 - 2007-06-02
Added support for supersmart pre/postscripts with no output
* 2.2.1 - 2007-06-01
Added parameters to perl-based scripts
Fixed bugs in DOS batch files
* 2.2 - 2007-05-31
Scripts can now be code references.
Added smart scripts.
* 2.1.2 - 2007-05-24
Added the [no]case option to enable case insensitive searches.
Fixed a bug related to acls and linux. (thx Marcus Fleige).
* 2.1.1 - 2007-05-21
Removed sloppyness from the release 2.1
* 2.1 - 2007-05-21
Added support for Windows (ActiveState Perl)
Added the mod_log_rotate method for Apache and Windows.
Fixed a bug in configure for solaris/awk
Added "selectedsearches" as proposed by Lars Stavholm.
* 2.0 - 2007-05-09
New layout of code using perl objects.
Added handling of nonrotating logfiles as proposed by Kai Nielsen.
Added performance data.
Bugs, improvements, cosmetics, tests
* 1.3.6.1 - 2006-10-20
Corrected a bug which created protocol files even if no pattern matched.
Added a delay option as proposed by some users of the syslog check method.
* 1.3.6
Added execution of scripts if inverse patterns are not found.
Corrected typos in README
Added command line parameters as proposed by Hendrik "Andurin" Baecker.
* 1.3.5 - 2006-08-23
Code cleanup
Removed nsca support in favour of a more flexible script handling.
Added support for script parameters and modeling of the script's input.
Matches are now passed as environment parameters to scripts.
* 1.3.4 - 2006-08-06
Added support for shifting logfilenames through macros.
* 1.3.3 - 2006-07-03
Added nsca support for standalone use of check_logfiles
* 1.3.2 - 2006-07-27
Added "watchdog" patterns which raise an alert when not found.
Added exceptions for patterns which stop processing of a preceding match.
More documentation in README
Fixed syntax errors found by Doug Lochart.
* 1.3.1 - 2006-07-24
Added automatic deletion of old protocol files.
Added handling of an unreadable logfile.
* 1.3 - 2006-07-04
Added an option for syslogservers to filter out foreign log entries.
Added macros in patterns.
Fixed a bug in timeout handling.
Added Debian to the list of predefined rotation methods.
* 1.2.6 - 2006-07-03
Added options {critical,warning}threshold as proposed by jorge cabrera.
* 1.2.5 - 2006-04-17
Fixed a bug in the fake seek algorithm.
* 1.2.4 - 2006-04-15
Added a workaround to enable seeking in a pipe.
Minor bugfixing in tracing output.
Added some more examples to README.
* 1.2.3 - 2006-04-11
Minor modifications to tracing.
Duplicate file detection to prevent scanning the same file twice.
Added examples to README.
* 1.2.2 - 2006-03-31
Added an new item to tracing as requested
* 1.2.1 - 2006-03.27
Fixed a small bug in mtime comparison
* 1.2 - 2006-03-27
Changed the default timeout to 60 seconds
Added a better rotation detection
Added -d option to activate extensive tracing
Bugfixing and commenting
* 1.1 - 2006-03-24
Added the first match to the plugin's output
* 1.0 - 2006-03-12
Initial release