source: nscp/changelog

0.4.1
Last change on this file was 91f567f, checked in by Michael Medin <michael@…>, 2 weeks ago
  • Fixed a bug in the check_logfile which made filtering bail-out after the first hit.
  • Added default column-split as \t
  • Property mode set to 100644
File size: 91.8 KB
Line 
1TODO:
2 * Process times and similar ?
3 * Fix configuration GUI (low priority)
4 * Fix dependonservice LanManWorkStation (old win)
5 * Fix RtlStringFromGUID problem on NT4
6
72013-05-05 MickeM
8 * Fixed a bug in the check_logfile which made filtering bail-out after the first hit.
9 * Added default column-split as \t
10 
112013-04-30 MickeM
12 * Fixed issue with negative performance data
13 * Added unit test for arguments and external script
14 * Fixet truncation issue with performance data (#624)
15
162013-04-27 MickeM
17 * Fixed bug added in build 95 regarding allowing nasty characters
18
192013-04-24 MickeM
20 * Added auto-uc to get hostname as upper case
21
222013-04-23 MickeM
23 * Added encoding option to external scripts
24 * Added encoding option to NSCAClient
25 * Added NSCPDOTNET.dll for making dot-net plugins
26
272013-04-22 MickeM
28 * Fixed an issue with % in warn and crit thresholds for CheckCPU
29
302013-04-21 MickeM
31 * Fixed issue with eventlog reset (will not rescan from the beginning if an error is encountered)
32
332013-04-16 MickeM
34 * re-added check_nt FILEAGE option.
35
362013-04-13 MickeM
37 * Fixed issue with binding to multiple interfaces (ie. machines with both ipv6 and ipv4 addresses).
38 * Fixed some missing documentation from core settings keys such as /settings/log and /includes.
39 * Added debug message warning about having $ARG??$ in external scripts wehn allowe arguments is false.
40 * Removed need to escape and qoute commands for external scripts (command line will now be used as-is)
41 * Fixed qouting issues with external scripts
42 
432013-01-21 MickeM
44 * Fixed two include files issues
45
462013-01-19 MickeM
47 * Fixed Wix 3.7 and added wix to dependencies
48
492013-01-17 MickeM - 0.4.1 RELEASE (2)
50 * Added nsclient-full.ini with "all" (non advanced) avalible options.
51 * Fix for reloading settings from file from script: core:reload('settings') will not work.
52   Notice it still will onlya reload the settings not the modules so modules have to be reloaded manually.
53 * Fixed return code issue in nsclient-ini full generator.
54 * Added support for delayed reloading
55
562013-01-13 MickeM
57 * Fixed crash when collector thread is not started.
58
592013-01-02 MickeM
60 * Fixed message dialog when loading PythonScript module without python installed.
61 * (re)add check_fiulesize which was accidentally removed.
62 * Fix for http settings
63 * fix for --version command line option
64
652012-12-28 MickeM
66 * Reverted default NRPE encoding to "system" (not UTF-8).
67 * Added new option to configure NRPE encoding:
68    [/settings/NRPE/server]
69    encoding = utf8
70   Valid values are currently system and utf8 (and strangely enough utf7). If you need something else let me know.
71
722012-12-25 MickeM
73 * Added option scan-range to CheckEventLog.
74   This new option reduces the entries scanned a *lot* and can help solve memory, time and CPU issues.
75   The idea is that is negative we start scanning from the end and once we hit something outsiden the range we stop scanning.
76   There is a chanse that entries reported are "outside" the range so set range bigger then generate/written date/times (to reduce this risk).
77     CheckEventLog file=application file=system MaxWarn=1 MaxCrit=1 "filter=generated gt -1h AND level eq 'info'" truncate=800 unique descriptions "syntax=%severity%: %source%: %message% (%count%)"
78   Executes in 7 seconds adding scan-range=-5h executes in 0 seconds (yields the same result).
79 * Added error message when overriding a commad (ie. when alias check_cpu overrides the new command check_cpu).
80   Wont work (for technical reasons) for duplicate aliases ie.- alias x=foo and x=bar
81
822012-12-18 MickeM - 0.4.1 RELEASE (1)
83 * Fixed path issues in the installer
84 * Fixed shortcuts in the installer
85 * Fixed so clients can understand no prefixed arguments ie.
86     ... -c nrpe_query -a command=check_ok host=129.168.0.1
87
882012-12-02 MickeM
89 * Added option to disable new alias check_cpu and only register old ones CheckCPU
90   [/settings/default]
91   modern commands=false
92
932012-11-29 MickeM
94 * Improved exception handling in server threads
95
962012-11-28 MickeM
97 * Fixed crash in NRPE server when payload was to large (#585 #582)
98 * Fixed issue with lua unit test
99 * Added payload length simulation in lua unit tests (so it returns various payload sizes)
100 * Added nscp.sleep to Lua scripts (but dont use as I will implement coroutines in 0.4.2)
101 * Fixed registry settings bug
102 * Fixed issue with parsin performance data with leading spaces
103 * Fixed issue with rendering filters
104
1052012-11-18 MickeM
106 * Created nscpnobp.exe which is a version without break pad for older machines (windows 2000 and nt4).
107   This can only be foundin the zip file (not the msi)
108 * Added some missing file to zip
109 * Removed counters.defs since it is not used anymore
110
1112012-11-17 MickeM
112 * CheckEventLog: Added debug message lisgin all loaded filters to make it simpler to detect missing once
113 * SimpleCache: Added keywords not-found-msg and not-found-code option to configure the outcome of "item not found".
114    check_cache index=foobar "not-found-code=Doch! item was not found" not-found-code=critical
115 * CheckProcess is no longer case sensetive
116 * CheckServiceState: added support for pending states
117
1182012-11-16 MickeM
119  * CheckDriveSize now supports regular expressiion filtering:
120    CheckDriveSize ShowAll MaxWarn=1M MaxCrit=2M CheckAll=volumes matching=.*[CD].*
121
1222012-11-15 MickeM
123 * CheckFiles filter is now optional (not specifying a filter will find all files matching)
124 * CheckFiles no longer matching . and ..
125
1262012-11-14 MickeM
127 * Added perf-unit to allow for stable performance data units (if not specified it will guess which is the current solution).
128    checkmem type=paged MaxWarn=80% perf-unit=M
129     => 'paged bytes %'=34%;80;0 'paged bytes'=8454.04M;19629.84;0;0;24537.3
130    checkmem type=paged MaxWarn=80% perf-unit=K
131     => 'paged bytes %'=34%;80;0 'paged bytes'=8655200K;20100963.19;0;0;25126204
132    checkmem type=paged MaxWarn=80% perf-unit=B
133     => 'paged bytes %'=34%;80;0 'paged bytes'=8872108032B;20583386316;0;0;25729232896
134    checkmem type=paged MaxWarn=80%
135     => 'paged bytes %'=34%;80;0 'paged bytes'=8.25G;19.1;0;0;23.96
136 * Fixed threadding issue related to servers (ie. check_nt causing a crash)
137    Dont know what I was thinking when I designed that, pretty stupid bug :(
138
1392012-11-11 MickeM
140 * Fixed issue with loading performance counters (check_cpu)
141 * Fixed default service name (nscp)
142 * CheckWMI: Added support for lists of integers
143
1442012-10-25 MickeM
145 * Fixed installer in preparation of 0.4.1
146
1472012-10-15 MickeM
148 * Added support for lists in targets/destination (passive checks/channels)
149 * Added new --remove-defaults option when generating settings files.
150   nscp settings --remove-defaults --generate
151 * Added new module SimpleFileWriter for writing passive check results to files.
152 * Fixed issues here and there (mainly new filtering for CheckLogFile)
153
1542012-10-14 MickeM
155 * Added support for real-time log file checks (Linux)
156
1572012-10-07 MickeM
158 * Added support for real-time log file checks (Windows)
159
1602012-09-28 MickeM
161 * Fixed NRPE and NSCA buffer issue: Invalid packet length: 1059 != 1036 configured payload is: 1024
162
1632012-09-27 MickeM
164 * Much improved CheckLogFile with warn/crit/filter concepts (currentl no real-time support)
165   check_logfile debug "file=c:\\test.txt" "column-split=\\t" "filter=column1 eq '123' OR column(2) like 'bar' or column3 like 'foo'" "warn=column3 like 'foo'" "crit=column1 eq '123'"
166   Use "check_logfile help" for more details
167
1682012-09-25 MickeM
169 * Initial version of CheckLogFile added (currentl no real-time support)
170
1712012-09-23 MickeM
172 * Fixed a centos (?) linkage issue with PythonScript module
173
1742012-09-22 MickeM
175 * Fixed performance data parsing for empty sections such as f=1;;;;1 will now work (and not become f=1;0;0;0;1)
176 * Added unit test for perfoamnce data parsing
177 * Added gtest unit test to ctest
178
1792012-09-11 MickeM
180 * Added NSCP uptime to check_nscp
181
1822012-09-08 MickeM
183 * Fixed log matching in CheckEventLog when no log was specified
184 * Improved command line syntax for eventlog
185 * Fixed return code issue in SimpleCache module
186
1872012-09-08 MickeM
188 * Improved command line help texts and added global --version option.
189   Running nscp without options now lists all context and their use.
190 * settings: bool options are now case insensetive so TrUe will now evaluate to true...
191 * Improved clients command line interface adding support for default command
192 * Improved command line syntax removing som extra printouts
193 * Added support for lists (int and string) to wmi checks and commands.
194
1952012-09-07 MickeM
196 * Full SSL support for all server (NRPE, NSCA, check_mk, NSCP) by full I mean certificate based authentication
197
1982012-09-06 MickeM
199 * Full SSL support for all clients (NRPE, NSCA, check_mk, NSCP) by full I mean certificate based authentication
200
2012012-09-05 MickeM
202 * Full SSL support for NRPE (meaning certificate based authentication)
203
2042012-09-04 MickeM
205 * Fixed config parser issue for inheriated fields
206 * Changed so ports in clients/servers are strings (so smtp and such should work)
207
2082012-09-03 MickeM
209 * New module SimpleCache which acts as a brdge between passive and active monitoring (and other use cases)
210   Enables storing of results for later use
211   Replaces check_eventlogcache (since it does the same)
212 * REMOVED cache from check eventlog (use SimpleCache instead)
213
2142012-08-26 MickeM
215 * Added google test and the first (of many) google test unit case
216 * Added SimpleCache module
217 * Removed caching from CheckEventLog (use SimpleCache instead)
218
219 2012-08-26 MickeM
220 * REMOVED global maximum age from real-time eventlog
221 * Added per-filter maximum age option to real-time eventlog
222 * Added per-filter log option to real-time eventlog (this can be set to "any" to make this match recoreds from all checked logs)
223 * Improved fetchdeps script which now takes an option (--msver) to set target visual studio version (currently 2005 and 2008)
224 * Added initial support for real certificates
225
2262012-08-30 MickeM
227 * Fixed issue with NSCA and AES encryption (still broken, but broken the way it was before)
228 * Fixed issue with aliases in upperaase not working (#554)
229 * Fixed (yet more) performance data parsing issues.
230
2312012-08-25 MickeM
232 * Added initial check_mk server CheckMKServer
233
2342012-08-25 MickeM
235 * Added initial check_mk client CheckMKClient
236 * Added sample check_mk lua script
237
2382012-08-23 MickeM
239 * Added initial proof of concept for the check_mk client
240
2412012-08-21 MickeM
242 * Refactoring and cleanup of the lua scripting wrappers
243
2442012-08-14 MickeM
245 * New experimental way to build things automagically as well as new cleanedup build scripts.
246   http://nsclient.org/nscp/wiki/build/04x#Automatic
247
2482012-08-07 MickeM
249 * Fixed issue with perfoamnce data overflowing 32-bit integers (#550)
250 * Fixed issue with CheckUptime and time rendering beein wrong (#549)
251 
2522012-08-04 MickeM
253 * Re implemented INSTANCES command via the new pdh exec subsystem.
254
2552012-08-04 MickeM
256 * Fixed exception with "nscp service"
257 * Improved nscp settings so help is displayed.
258 * Improved nscp settings so default action (no arguments) also lists all installed services.
259 * Improved nscp settings to default list service nscp as well as legcy nsclientpp
260 * Added initial retry (default 3) when sending data.
261 * Fixed protocol issue in NSClientServer (should now work again)
262
2632012-08-03 MickeM
264 * Hopefully fixed the "cant load counter" issue by reowrking how counters are handled.
265
2662012-08-02 MickeM
267 * major improvments to the CheckSystem command line syntax:
268   Run: "nscp sys" to get help.
269   A good way to validate your CheckSystem issues are running the following:
270     nscp sys --validate
271
2722012-08-02 MickeM
273 * Added so commandline parser will stop at .. and pass along all extra options to the module.
274    So now you can do: (Notice the double --log where the first is a log arg and the second is a module arg)
275      nscp lua --log debug .. --script foo.lua --log this-is-a-lua-argument
276    But perhaps more importantly you can do:
277      nscp lua .. --help
278    Which previously would always give you "command line help" and not lua help.
279
2802012-08-01 MickeM
281 * Resolved issue with crypto++ on linux (introduced by buildspeedups)
282 * Added so running "nscp settings" will list all loaded settins context (as a tree).
283   Quick way to see where your settings are stored.
284
2852012-07-31 MickeM
286 * Fixed issue with files not copied by default build
287 * Swapped graphite client to use UTC instead of local time
288
2892012-07-30 MickeM
290 * Restructured settings a bit removing dead code
291 * Added nscp settings --validate to validate a given settings file listing all invalid (unregistered) keys.
292 * Added SamplePluginSimple which currently is not very rich but at least has some comments to explain some of the things.
293
2942012-07-29 MickeM
295 * Tracked down a few memoryleaks when connections time-out.
296 * Added testcases for connection timeouts in lua NRPE test suite
297 * Improved the LUA module a bit
298
2992012-07-26 MickeM
300 * Fixed some memoryelaks in LUAModule
301 * Extracted the test functions into a library
302 * Added lib folder as search path for lua scripts
303 * Tweaks and improvments all around
304 * Improved the build scripts a lot making files work on linux (still need to manually build the targets though)
305
3062012-07-23 MickeM
307 * Added support for LUAScripts to linux enviornments (still a few warnings to sort out)
308 * Improved lua unit test scripts
309 * Added support for using member functions as handlers in Lua scripts
310
3112012-07-17 MickeM
312 * Performance enhancements to build time
313
3142012-07-11 MickeM
315 * LUAScript: Improved lua scripting module a lot
316 * LUAScript: Added protocol buffer support to lua scripts
317 * tests: Rewrote (halfway there) test_nrpe python script as a lua script.
318 * CheckEventLog: Fixed command name when submitting real-time "no action checks"
319
3202012-06-18 MickeM
321 * Fixed issue with parsing in test mode
322 * Fixed Graphite client using wrong time for datestamp
323 * Added so debug NSCA logs host name
324
3252012-06-16 MickeM
326 * Initial (rather crude) NRDP support.
327
3282012-06-16 MickeM
329 * Merged in master branch
330 * Fixed almost all -Wall warnings (the rest are probably not getting fixed in the near future due to their nature)
331 
3322012-06-12 MickeM
333 * Improved error handling in performance counters #436
334 * Improved parsing of "legacy command lines"
335
3362012-06-12 MickeM
337 * Added log level = off to disable logging.
338 * Added option in NSCAClient to hostname (auto-lc) to use lower case version of hostname. #533
339 * Reworked how commands are read.
340   If a command is defined without a section (default) no section will be added and instead a comment will be addded on how to add the section.
341   This should (I hope) resolve the "missing command" for good.
342 * Improved error messages for missing commands
343 * Fixed scientific notation on performance data (#)
344
3452012-06-11 MickeM
346 * Fixed some gcc compile issues
347 * Fixed a lot of gcc -Wall warnings
348
3492012-06-08 MickeM
350 * Fixed some issues with real time eventlog.
351 * Extended the event log unit tests to encompass the new real-time checks.
352
3532012-06-01 MickeM
354 * Tweaked all servers to use the new internals and added first testcase for NSCP socket
355
3562012-05-24 MickeM
357 * Reworked real time event log support to be a lot more flexible
358   You can now specify all options on a "filter" level.
359 * WARNING*
360   Old syntax NOT supported (and will not upgrade) but hopefully not to many will be affected.
361 * Added support for ipv6 allowed hosts validation
362
3632012-05-21 MickeM
364 * Sofia Born (My second daughter)
365
3662012-05-19 MickeM
367 * Fixed issue with checking rate counters (such as disk idle %)
368 * Fixed (I think) the negative denominator counter issue
369 * Fixed so indexes are only converted on \\123\\ and not also \\123 hello world\\ which caused some issues with numeric counter variables.
370
3712012-05-13 MickeM
372 * Take 2 on fixing the empty command parsing.
373 * Refactored (same as with server) client internals to be more uniform (Again, next up are NSClient Server and NRDP)
374
3752012-05-07 MickeM
376 * Fixed parsin of empty sections (CheckExternalScripts) - #524
377 * Fixed so duplicate command are not created when both sections and shorthands are used (CheckExternalScripts)
378 * Added a test to see if I can resolve the negative denominator issue.
379
3802012-05-06 MickeM
381 * Refactored server internals to be more uniform (This is the first step to adding more protocols like NRDP and unittests for check_nt)
382 
3832012-05-03 MickeM
384 * Fixed issue with parsing size-type (usch as MinCritFree=10G)
385
3862012-05-01 MickeM
387 * Release 0.4.0
388
3892012-04-26 MickeM
390 * Fixed issue with check-cpu sampling interval being 10seconds and not 1/10 second.
391
3922012-04-23 MickeM
393 * Fixed issue with missing performance data via NSCA
394 * Fixed issue with hostnames beeing lowercase
395
3962012-04-28 MickeM
397 * Changed how files are generated to reduce number of projcts
398
3992012-04-12 MickeM
400 * Fixed so keys with parents are advanced (in favour of the parent)
401 * Fixed so NSClientServer uses the correct default path for its parents (ie. /settings/default)
402
4032012-04-10 MickeM
404 * Fixed crash in new logger
405 * Fixed a few command line parsing issues (most notably test and --log-to-file)
406 * Changed default location for process dumps to be a non-elevated location (under common-appdata).
407 * Fixed (ish) check_nt issue (check_nt really really is broken... this will probably cause problems with people sending large payloads though)
408 
4092012-04-06 MickeM
410 * Easter break!
411
4122012-04-04 MickeM
413 * Fixed issue with empty filters in active eventlog
414
4152012-04-04 MickeM
416 * Resolved some issues with loggingin default set to debug.
417 * Fixed so --debug actually works
418 * Added --log-to-file and set "nscp test" to not log to file.
419 * Fixed typo related to allow arguments option
420 * Added levels to comment for log level in config.
421
4222012-04-01 MickeM
423 * Fixed issue with default port for NSCA/NRPE/* clients
424
4252012-03-31 MickeM
426 * Rewritten log implementation from ground up without using crappy boost library which requires DNS :(
427
4282012-03-27 MickeM
429 * Removed some annoying "error" messages
430 * Tweaked FileLogger a bit to be more "modern"
431 * Changed so file-name expansion is more efficient
432 * Changed so modules are defaulted to 0 in config.
433 * Log levels are case sensitive
434 * Fixed so log level is not read from ini file
435 * improved plugin processing from ini files
436
4372012-03-26 MickeM
438 * Fixed perfoamcen data parsing issue
439 * Fixed external scripts performance data issue
440 * Fixed boolen flag handling in settings (default generated as false regardless of actual state)
441 * Fixed so "advanced properties" are not generated with --update-defalts
442 * Added some "advanced properties" here and there
443 * Fixed path handling for object
444
4452012-03-25 MickeM
446 * Added last few features to the GraphitePlugin (which is now usable)
447 * Tweaked nscp settings command line syntax a bit to be more flexible and usable...
448
4492012-03-20 MickeM
450 * Fixed alias/service name for real-time event log filters
451 * Added smtp/syslog and graphite clients to installer
452 * Fixed so eventlog wont crahs on invalid messages
453
4542012-03-19 MickeM
455 * Fixed issue in installer and "Make file writable" by everyone now uses Users SID.
456 * Fixed issue in installer and "Default plugins" now correctly sets them to 1.
457 
4582012-03-18 MickeM
459 * Removed dependency on tcpip from the service and the installer
460 * Added new command to EventLog CheckEventlogCached which checks result caught by the real-time process.
461   CheckEventLogCACHE warn=gt:1 crit=gt:5
462   Requires a configured real-time checker to work.
463 * Added a series of keywords to EventLog check to facilitate better checking
464 * Added a set of aliases to make EventLog behave more like Wdinwos Eventlog viewer.
465 * Added a lot of unit test cases to the Eventlog checker.
466 * Fixed issue with default schedule beeing added as an item and not a template
467
4682012-03-11 MickeM
469 * Fixed a lot of issues with the installer
470 * Added so the installer can generate a config file for you
471 * Fixed so installer uses the correct path for password and allowed hosts
472
4732012-03-08 MickeM
474 * Major improvments to the WMI command line syntax.
475   You can now: list namespaces, list classes, list instances as well as run queries.
476   Means you can use NSCLient++ as a almost full featured WMI command line client.
477   For details use: nscp wmi --help
478 * Added sample python WMI script to list all classes in all namespaces
479 * Fixed so if python scripts does not expose init and shutdown they will not be called
480 * Added new option --simple to CheckWMI wmi commands to return a simple list without formatting.
481       
4822012-03-06 MickeM
483 * Added "back" WMI Query command line exec like so:
484    nscp wmi --exec wmi-query
485        CheckWMI Command line syntax:
486        Allowed options:
487          -h [ --help ]                        Show help screen
488          -w [ --wmi-query ] arg               Query to execute
489          -l [ --limit ] arg                   Limit number of rows
490          -n [ --namespace ] arg (=root\cimv2) Namespace
491        nscp wmi --exec wmi-query --query="Select * from Win32_Process" --limit 2
492
4932012-03-05 MickeM
494 * Fixed so time/date comparissons are actually done in UTC (fixed for real this time!)
495 * Added a series of testcases for CheckFiles (test_w32_file)
496
4972012-03-04 MickeM
498 * Added new dot-net API (Which does not require any strange wrappers)
499 * Added brand new sample C# plugin
500 * Fixed issue with python unit script loading usig the wrong default options
501
5022012-02-21 MickeM
503 * Added new module CauseCrash which has a single command CrashClient to allow the service to be crashed remotly
504   *WARNING* Dont use this command, it is for debugging and testing purpouses only
505 * Fixed issue with BreakPad which was disabled
506 * Fixed some unix issues (sorry but hudson's stopped emailing me again:( )
507 * Fixed service --install (now sets correct options)
508 * Fixed service --install (now sets description correctly)
509 * Fixed log level defined in protobuf (now same as rest of the system)
510 * Fixed some issues with the check_nscp command
511
5122012-02-20 MickeM
513 * Fixed NRPE buffer issue
514 * Added test case for 65K NRPE buffer length as well as 1Mb
515 * Added support for not regexp as operator to filters (Eventlog) (#463)
516 * Added support for computer as filter keyword and format keyword in EventLog (#442)
517   "filter=computer = 'foo'" syntax=%computer%
518 * Improved messages rendering of eventlog messages a bit
519
5202012-02-19 MickeM
521 * Added new unit context on command line for running simple unit test cases:
522   nscp unit --language python --script test_nsca
523 * Added dependency on Tcpip
524 * Dropped OS bit-match requirement so now you can install any version on x64 plattform.
525 * Added so you can specify multiple counters for CheckCounter and poll them all in one go (#387)
526 * Added test cases (a bit flaky) for counters.
527 * Added ${host} and ${domain} to hostname settings option which might be used to construct your own hostname. (#428)
528   Not 100% sure about domain as on my box the "hostname" is only a name ie. has no domain...
529
5302012-02-18 MickeM
531 * Fixed so too long log messages are trunacated instead of discarded
532 * Added option to truncate logfile if to large (#358)
533   [/settings/file logger]
534   max size = 1000
535 * Added keyword to reload (settings) to reload settings store (ie. flushing the cache) (#249).
536 * Added ability to load all files in a given directory (#366)
537
5382012-02-17 MickeM
539 * Tweaked a bit in regards to ExternalScripts so it works better and handles errors better (#367)
540 * Fixed default report mode in 0.4.0 (#290)
541 * Made NSCA Client handle timestamps like send_nsca (ie. ignoring local time)
542
5432012-02-16 MickeM
544 * Replaced command reader with object handler
545 * Added support for running commands as other users (#131)
546 * Improved pseed oflarge buffers for external commands (ie. when you return very large outputs) (#481)
547 * Added limit to test interface message length (when messages are to long only first 4k are displayed)
548
5492012-02-15 MickeM
550 * Fixed missing icon on nscp.exe
551 * Fixed missing version info on nscp.exe (#294)
552
5532012-02-13 MickeM - 0.4.0 RC2
554 * Fixed installer issue (could not start service)
555
5562012-02-12 MickeM
557 * Added support for specifying targets on schedules:
558   [/settings/scheduler/schedules/foo]
559   target = foo-host
560   Will re-target the NSCA (or whatever you use) towards a given target.
561 * Fixed is schedule manager uses new standard object reader
562 * Fixed some issues with reading schedule
563
5642012-02-05 MickeM
565 * Added test cases for targets to NRPE
566 * Added test cases for targets to NSCA
567 * Added test cases for lenghts to NSCA
568 * Changed to python API sleep uses milliseconds (not seconds as before)
569   Makes NSCA unittests go much faster (as I can wait much less)
570 * Fixed a lot of bugs related to target handling.
571 * implemented target refactoring on all Client modules.
572
5732012-02-05 MickeM
574 * Refactored the targets concept internally to be simpler to use (less code)
575 * Fixed issue with reloading plugins
576 * Fixed target handling in NRPE Client, will add NSCA client tomorrow...
577
5782012-02-02 MickeM
579 * Implemented full API for LuaScript
580        Now "everything" (ish) works including channels, exec and query (via moderna API)
581        Still no protocol buffer support but not sure how to play that yet so will not be avalible in 0.4.0.
582
5832012-02-01 MickeM
584 * Implemented full settings API for LuaScript (next RC will have to wait till next weekend)
585
5862012-01-31 MickeM1
587 * Fixed issue with parsing "invalid external commands".
588   If parsing falies it will notify you but use the legacy split string method instead.
589 * LuaScript module is now modern (ie. works with 0.4.0)
590   Should be 99% compatbile (function needs to be defined before registration) but all old scripts should work now (I think)
591 * LuaScript module has been modernized
592   The new API is very similar to Python
593   Concepts are working but not all commands have beenh implementes (and no testcases either)
594   The old API will still work
595 * Fixed issue with
596
5972012-01-27 MickeM
598 * Changed CheckCounter format option to take a coma separated list of keyword from the below list:
599         nocap100: Counter values above 100 (for example, counter values measuring the processor load on multiprocessor computers) will not be reset to 100. The default behavior is that counter values are capped at a value of 100.
600         1000: Multiply the actual value by 1000.
601         noscale: Do not apply the default scaling factor.
602         So format=nocap100,noscale would combine the two aspects above.
603
6042012-01-26 MickeM
605 * Fixed issue with parsing multiple performance data items (internally)
606 * Added option to CheckCounter format=nocap100 to not cap counters at 100% (for multi cpu machines)
607
6082012-01-22 MickeM
609 * Fixed help when specifying invalid options on command line
610 * Eradicated a potential memoryleakin the NSCA encryption library
611
6122012-01-22 MickeM
613 * Fixed so NSCAClient parses address correctly
614 * setings exception is now derived from exception meaning it will show up more with details (instead of unknown)
615 * Added API for handling log level (replaces older debug flag)
616 * Added options for settings debug level
617 * Changed to --settings is a global argument (meaning you canuse it in any mode)
618 * Added arguments parsing to test: so you can use global arguments such as --log and --settings.
619 * Removed memory leak in settings parsing interface
620
6212012-01-20 MickeM
622 * Fixed a race condition in the python unit test script
623
6242012-01-19 MickeM
625 * Fixed some NSCA encryption bugs (of the random nature)
626   These are probably inherited in 0.3.x as well so if you have issues you might wannan try to upgrade
627
6282012-01-18 MickeM
629 * Improved unit tests so they can be run all in sequence
630 * Fixed various bugs in the unit tests
631 * Improved the syntax and output of running unit tests
632 * Refactored unit tests to be slightly nicer
633 * Fixed error state propagation
634 * Added unit tests to cmake (ie make test will now run unit tests)
635 
6362012-01-16 MickeM
637 * Added option to both execute and query item (with a reload in the middle for installing/running unittests)
638 * Fixed issue in python unittest framework to handle "unload" (ie. reload)
639 * Fixed NRPE certificate path lookup issue
640 * Fixed some minor issues here and there
641 * Fixed issue in loader to allow loading dummy as dummy (and not only dummy://)
642
6432012-01-15 MickeM
644 * Fixed installer "back" issues
645 * Fixed payload truncation for NRPe and NSCA
646 * Improved the installer target tagging functions in the python installer
647
6482012-01-13 MickeM
649 * Fixed some issues with the trac configuration generator
650
6512012-01-12 MickeM
652 * Fixed issue with --submit command line option erroneusly reported missing optien (when it is not supported)
653 * Added settings store "dummy" for people who dont want to store settings (long term use is for unit tests)
654 * Added new option to NSCClient --source-host for settings the host name of the caller (your machine).
655 * Change so enryption algorithms are case insensitevie (ie. 3DES and 3des both work)
656
6572012-01-09 MickeM
658 * Fixed hostname issue in NSCAClient (hostname = auto now auto detects hostname
659 * Fixed some minor issues in NSCA and CLI api
660 * Added CLI based (exec) APIs to NSCA unit tests (now 697 test for NSCA)
661
6622012-01-08 MickeM
663 * Fixed some issues in the NRPE decoder
664 * Added support for forwarding queries (ie. xxx_forward) mainly usefull for python(?) scripts where we can now handconstruct messages for delivery
665 * Added NRPE unit tests (52 of them)
666
6672011-12-08 MickeM
668 * Fixed so non custom installers gets configuration UI (meaning you can configure it)
669 * Added WarnCount/CritCount exact bounds to CheckProcState so:
670   CheckProcState CritCount=gt:50 WarnCount=ne:45 svchost.exe=started
671 * Added embryo for Graphite plugin (https://launchpad.net/graphite)
672 * Added WarnHungCount/CritHungCount exact bounds to CheckProcState so:
673   CheckProcState CritHungCount=gt:50 WarnHungCount=ne:45 svchost.exe
674 * Changed so Count takes presedence meaning if you specify: CheckProcState CritCount=gt:50 svchost.exe=stopped it will be treated
675   as (CheckProcState CritCount=gt:50 svchost.exe) hence the stopped/started is meaningless if you specify a count.
676 * Fixed so perfoamnce data parsin handled non escaped \:es (ie. using stupiud parsing)
677 * Added a lot of unittests to CheckProcState to verify that many features work properly.
678    nscp python --script test_w32_system.py --install
679    nscp client --query py_unittest
680    ...
681    OK: 121 test(s) successfull|
682
6832011-12-06 MickeM
684 * Fixed so command line client wont try to run commands in modules which does not support it.
685 * Changed to when no settings is found a default one is created
686 * Removed old "location" key from switch context and changed so it use the new number scheme
687 
6882011-12-06 MickeM
689 * Added python unittests to make sure threading is working properly
690 * Simpliefied and cleaned up the command line syntax a bit
691 * Now --exec is the default option for client mode (but it will notify you it thought so)
692 * Added "command-less" execution to PythonScript so you can do --exec --script ... (without having --exec run)
693 * Fixed an issue related to python threading
694 * Fixed Scheduler header propgation
695 * Fixed so all Client module use "complex" API meaning headers are propagated correctly
696 * Fixed scheduler alias issue
697
6982011-11-27 MickeM
699 * Fixed some NSCA issues (reading from new conf)
700 * Fixed some linux build issues (related to refactoring)
701
7022011-11-27 MickeM
703 * Major refactoring in the command line interface
704 * Added support for alias to many common module (command line)
705   so: nscp eventlog (is the same as nscp client --module CheckEventLog)
706 * Fixed issue with CheckEventLog message rendering and eventid
707 * Refactored all Client modules to all support command line, commands and submissions.
708 * Added uniform handling of "everything" to all Client plugins
709 * Fixed SyslogClient to work "as advertised" (ie. all hardcoded stuff is removed)
710 * Fixed utf8 issue with text strings (now have a working concept which needs to be implementd "all over the place")
711 * Many issues and fixes related to clients.
712 * Fixed so CheckEvent log (insert) works much better (added new options)
713
7142011-11-14 MickeM
715 * Fixed issue with installer not saving nsc.ini when upgrading from 0.3.9
716
7172011-11-09 MickeM
718 * Added initial SyslogClient module to allow syuslog forwarding (of passive checks ish)
719   Still requires template support and configuration options (mainly PoC right now).
720 * Added initial SMTPClient to allow sending messages via SMTP.
721   Still requires template support and configuration options (mainly PoC right now).
722 * Fixed unicode log issue (still not sure message format is correct)
723 * Renamed Message to log in internal wrapper API
724 * Fixed issue in settings old (regarding readin new keys, not 100% supported yet)
725
7262011-11-06 MickeM
727 * Had some "vacation" so no updates for a while
728 * A lot of fixes to the NSCA parts (now 100% compatible with old settings file)
729 * Added option to read sections (to plugin API)
730 * Fixed issues in settings wrapper so child paths are also mapped (not just keys)
731 * Many fixes related to NRPE/NSCA/*
732 * "RC quality" expect RC within the week (only need to fix default config file somehow)
733 * Upgraded all unit test to use the simplified API
734 * Fixed a some unicode issues in PythonScript module
735 * Improved threading a bit
736 * Fixed CheckSystem (service check)
737 * Fixed duplicate keys (when replacing) in old settings client
738 
7392011-10-21 MickeM
740 * Some more threading issues in Python (works perfectly(?) now)
741 * Refactored the tests a bit making test suites runable from a central hub
742 * Fixed soo everything builds and works on Linux
743
7442011-10-19 MickeM
745 * Fixed some threadding issues in PythonScript
746 * Still working on refactoring the unittest helpers a bit
747
7482011-10-16 MickeM
749 * Fixed issue with loading zero-byte UTF-8 config files
750 * Fixed some issues with settings subsystem (debug log as well as createing instances for --generate)
751 * Added ability to set event log to real-time
752 * Added support for multiple eventlogs in real-time
753
7542011-10-09 MickeM
755 * Real-time CheckEventLog working (still only for one, and I think application log)
756 * Added python tests to validfate that Real-time eventlog is working.
757 * Fixed som defects here and there (now builds on Linux again)
758 * Fixed so it builds in "debug mode"
759 * Fixed issue in grammar which caused infiniate loop in som cases
760 * Fixed so error rendering in eventlog works with "infininate number of argumnets"
761 * Added support for targeting execs (in API)
762 * Fixed some invalid return messages
763 * Streamlined submissions wrappers to be more inline with "other wrappers"
764 * Fixed a myrriad of minor python script bugs
765 * Added sleep command (which sometimes causes issues so use with care)
766
7672011-10-06 MickeM
768 * Initial command for createing eventlog records
769 * Initial real-time eventlog checker
770 * Fixed obscure c-tor issue with filters
771 
7722011-09-27 MickeM
773 * Fixed many many issues all over the place as I tried to make things working for my pressention at nwc.
774 
7752011-09-24 MickeM
776 * Started on NSCA unit-tests in python
777 * Refactored channel API a bit to better suite NSCA (and how it actually works)
778 * Changed how headers are created (nothice this might have broken NSCP stuff, havent checked)
779 * Created helper lib for Python Unittests
780
7812011-09-21 MickeM
782 * Renamed NSCAAgent to NSCAClient (to be consistant)
783 * Created a NSCAServer module (again for consistancy)
784   This will be the defenition of the new "channels" so keep a lookout in the next few weeks
785
7862011-09-18 MickeM
787 * Implemented first version of DistributedClient and DistributedSServer which work so now we have a proper message based transport.
788   Still a lot of rough edges such as cookie and authentication support is hard coded.
789   We also need a proper two way distributed server as well as implement "all" payload types.
790
7912011-09-11 MickeM
792 * Massive overhaul here and there
793 * Added new helper for handling "targets" (so they are the same)
794 * Extracted "command line handling" so all clients will work the same
795 * Extracted command processor to a common class to make all clients work the same
796 * Added initial zeromq stuff (nothing usable)
797 * Added an implementation layer for NSCP protocol parsing (so zeromq stuff can reuse it)
798 
7992011-09-05 MickeM
800 * Cleaned up some dependencies (on config.h)
801 * Fixed invalid data in config.h.in
802
8032011-09-03 MickeM (0.4.0.93)
804 * Created a protcol buffer free version of the python test script
805 * Upgraded to new version of simpleinin class
806 * Added new component for python protocol buffer library to installer
807 * Added installer for unittests to test.py run like so:
808   nscp --client --module PythonScript --command execute-and-load-python --script test.py
809 * Fixed so settings are created if not existing
810 * Fixed so plugins are not loaded in client mode
811 * Fixed so core is booting correctly in client mode
812 * Added new option --settings --switch <context> to allow switching context without migrating data
813 * Fixed unicode error on linux (settings file)
814
8152011-09-02 MickeM
816 * Fixed several issues in PythonScript
817 * PythonScript supports loading multiple instances as well as scripts
818 * Added some basic channel test to test.py script (the idea is that this will become "unit tests" eventually)
819
8202011-09-01 MickeM
821 * Implemented registration of channels (so no longer faked)
822 * Added settings key to change the NSCAAgent channel name
823 * Addded proper channel handling to PythonScript module
824 * Improved error handling in channels API
825 * Rewrote wrapper API to use templates and classes instead of macros (ish)
826 * Improved the internal plugin wrapping API to support multiple plugin load
827 * Fixed so PythonScript module supports multiple plugin load (with new argument for plugin_id)
828 * Added API for registrying routers and handling routing (almost there now)
829
8302011-09-01 MickeM
831 * Fixed issue with messages due to new API
832
8332011-08-31 MickeM
834 * Added support for loading same plugin twice (in different sessions)
835 * Added preliminary support for routing passive checks
836
8372011-08-30 MickeM
838 * Fixed uncaught exception in test client
839 * Added protocol buffers to source (needs to be added to installer as well)
840 * Added example python protocol buffer handler
841 * Added lib folder to python scripting (and automagicall load)
842
8432011-08-29 MickeM
844 * Fixed some *nix build issues...
845
8462011-08-25 MickeM
847 * Fixed some issues in the NSCPClient
848 * Fixed debug log issue in core
849 * Added support for "pushing" passive checks via NSCP
850
8512011-08-24 MickeM
852 * Sever refactoring of the new API (there is now two pb files ipc for NSCP protocol and plugin for plugin communication)
853 * Cleaned up API helper functions
854 * Fixed client argument for "client mode" to allow arbitrary arguments
855 * Cleaned up the argument processor code now requires "mode" to be first argument
856
8572011-08-23 MickeM
858 * Fixed issue in the NSCP server
859
8602011-08-22 MickeM
861 * Added initial NSCP protocol implenmentation (very vrude and not really usefull yet)
862 * Fixed so it builds on linux
863 * Fixed so automagic plugin renaming add lib<LIB name> on *nix.
864 * Fixed so it works on linux (fixed issues with timeout)
865
8662011-08-16 MickeM (0.4.0.85)
867 * Added support for remote WMI checking using target/username/password options like so:
868    CheckWMI target=192.168.0.123 user=\\foobar password=foobar namespace=root\\cimv2 MaxCrit=3 MinWarn=1 "Query:load=Select * from win32_Processor"
869 * Added support for looking up targets to CheckWMI
870   CheckWMI target=my_test_xp MaxCrit=3 MinWarn=1 "Query:load=Select * from win32_Processor"
871   Where <target> is defined under /settings/targets as well as /settings/targets/my_test_xp
872
8732011-08-15 MickeM
874 * Readded allowed hosts function
875 * Moved default socket options to /settings/default/socket
876 * Added more default socket options
877 * Added support for target in default plugin helpers
878 * Added remote WMI commands
879 * Added target section under /settings/targets
880
8812011-08-14 MickeM
882 * NRPEClient now works on linux
883 * Added "portable" settings map file to installer (so it will work with old installed versions)
884 * Rename Function to Registry in PythonScript API as well as some other function renames
885 * Started to clean up the helpers around the API
886 * Added support for execute to PythonScripts to execute commands
887 * BUG: just realised that static plugin instances prevent multiple instances :)
888   Will fix but not now as it is not important (for me)...
889 * Added initial support for channels to PythonScript
890   Core still lacks support for subscribing to arbitrary channels
891
8922011-08-13 MickeM
893 * Added support for command line execution to PythonScript module
894 * Readded support for specifying module on command line with --client mode
895 * Fixed some issues with the NRPEClient module
896 
8972011-08-12 MickeM
898  * Finnished (rough) adding back command line exec (with modern API)
899  * Fixed so installer uses correct name for dll:s (now Server not Listsener)
900 
9012011-08-11 MickeM
902  * Started to add back command line exec (with modern API)
903 
9042011-08-10 MickeM
905 * Fixed linus issues and defect
906 * Fixed some issues in the test python script regarding how prefix is handled
907 * Fixed PythonScript module to actually use the correct function map :)
908 * Fixed so it builds and runs on linux (but parser had issues so disabled som grammar rules whichneeds to be enabled again)
909 * Added a lot of freatures and cleand up the PythonScript module
910 * Started to merge som features from PythonScript back to Lua script
911 
9122011-08-07 MickeM
913 * Fixed a lot of issues with PythonScript module adding suport for alias and "raw command processing"
914 * Fixed issue with loading plugins and aliases as well as duplicate plugin detection
915 
9162011-08-01 MickeM
917 * Added new module: PythonScript
918
9192011-07-25 MickeM
920 * merged in all 0.3.9 changes
921 * refactored where filter to be "non template" to drastically reduce compile time (as well as potentially size if I ever go dll instead of static link)
922 * streamlined checkeventlog toi be same as "the other" where filters as well as dropped support of "old" syntax.
923
9242010-02-05
925 * Multiple fixes all over the place
926 * Availible modules: CheckExternalScripts, CheckHelpers, FileLogger, NRPEClient, NRPEServer, Scheduler
927 ! Performance data is still missing (will be for a while yet)
928 
9292010-01-31 MickeM
930 + Added google protocol buffers
931 ! Changed internal handle command logic (now uses protocol buffers)
932 - Removed (temporarily) performance data (due to protocol buffer changes)
933
9342010-01-19 MickeM
935 + Rename NRPEListener to NRPEServer
936 + Added NRPEServer to CMake build
937
9382010-01-xx MickeM
939 + Added Scheduling module
940 
9412009-10-11 MickeM
942 + Added argument support to NRPE Client
943   This is temporarily enabled by the same options under the NRPE section. BUT this will change int he future so be ware when using them.
944
9452009-09-20 MickeM
946 * Fixed alias in CheckWMI (now works)
947 + Added columnSyntax to CheckWMI to allow formating of returned data (default is %column%=%value%)
948 + Added columnSeparator to CheckWMI to allow formating of returned data (default is ", ")
949
9502009-09-13 MickeM
951 * Fixed some more issues with the installer should not "work" on Windows 2008 as well as slightly simpler to configure.
952
9532009-09-06 MickeM
954 + Added new option to [NSCA Agent] string_length=<size> of the NSCA_MAX_PLUGINOUTPUT_LENGTH option on the NSCA server.
955 * Readded all the "installer configuration" crap which I accidentaly removed when I fixed the installer... *sigh*
956
9572009-08-30 MickeM
958 + Added -c and -d command line options like so:
959   NSClient++ -c CheckFile2 path=c:\test pattern=*.txt MaxCrit=1 filter+written=gt:2h
960   NSClient++ -c <command> <argument 1> <argument 2> ...
961   -d Is the same thing but with debug enabled.
962 + Added uninstall of old client (sort of broken but works)
963
9642009-08-29 MickeM
965 * Fixed issue with CheckFile (directory)
966 * Rewrote the CA:s in the installer to work "better" (hopefully) in general it should be have more like a propper installer.
967
9682009-07-18 MickeM
969 * Fixed issue with no loggers avalible and "memory leak"
970 * Added "firewall exception" to installer
971 * Fixed an issue with the socket data buffer
972 * Added new option to NSC.ini [NSCA] socket_timeout=30 (timeout in seconds when reading from NSCA sockets)
973 * Fixed issue with NSCA socket.
974
9752009-07-05 MickeM
976 * Fixed issue with CheckExternalScripts and script_dir: not adding the commands properly.
977 * Fixed issue with CheckExternalScripts and script_dir: not using relative paths (#310).
978
9792009-06-20 MickeM
980 * Fixed issue with CheckDisk and paths not working out properly
981
9822009-06-10 MickeM - 0.3.6
983 ! Release the new version
984
9852009-06-10 MickeM
986 * Fixed so CheckEventLog only reports invalid buffersizes once
987
9882009-06-07 MickeM
989 * Fixed issue with CheckFileAge incorrectly working in recursive mode.
990 * Finalized the installer
991
9922009-05-22 MickeM
993 * Fixed time_delay option in NSCA config (now uses the correct base was 1000 times to large before)
994
9952009-05-21 MickeM
996 * Fixed issue with eventlog parsing and 64 bit machines (descriptions option)
997 * Fixed issue with "modern windows" and installing the service (should not have the correct privlaiges)
998
9992009-05-17 MickeM
1000 * Changed default buffer size for process enumeration (64K now instead of 1K should I hope work better on 64bit OS:es)
1001
10022009-05-10 MickeM
1003 + Added write support for modules to installer
1004
10052009-05-03 MickeM
1006 * Fixed another quite serious memory leak!
1007   And this was a hard one, took me hours and hours and hours (read weeks) to track down, but here we are!
1008 * A lot of other fixes as I have been through much of the code looking for the memmory leak above.
1009
10102009-03-30 MickeM
1011 + Added new option to NSCA module for specifying report options.
1012        report=all (report=warning,critical) etc etc to specify which kind of return datat to get default value is all.
1013 + Added so password and host ate stored in the installer (if changed)
1014
10152009-03-29 MickeM
1016 * Fixed a lot of issues with the installer and added a start on exit (and donate) on the finnish dialog.
1017
10182009-03-15 MickeM
1019 * New service name (displayname)
1020 * New service description
1021
10222009-03-14 MickeM
1023 * Rebuilt installer UI (still missing write config function)
1024 * Added debug entry to log filename used by debug log metrics.
1025 * Fixed so alias will not require the allow_nasty_metachars option set under external sripts module.
1026
10272009-03-02 MickeM
1028 * Added catch handlers and error logging to NSCA Thread
1029 * Fixed issue with CheckProcState and administrator login!
1030 + Added debug module to installer
1031 + Added option max-dir-depth to CheckFile and CheckFile2 like so:
1032   CheckFile "file=c:\test\*.txt" filter-size=<24g "syntax=%filename%: %size%" MaxCrit=1 max-dir-depth=0
1033   Will only find files on the "first level" where as max-dir-depth=1 would find all parents and children etc. (-1 is the default and means find all)
1034 * Fixed issue with finding sub-folders and *.txt now it will always look for subfolders if they are present
1035
10362009-02-26 MickeM
1037 * Fixed issue with debug logging (not it can be disabled again)
1038
10392009-02-23 MickeM
1040 * Fixed build issues so NSCA now has all cryuptos avalible (verify with nsclient++ /about)
1041
10422009-02-11 MickeM
1043 * Fixed so that performance data is always(?) renderd regardless of if we have bounds or not.
1044   This was primarily to fix issues where we have might not "unexpectedly" get performance data (might still be some issues here so let me know).
1045
10462009-02-06 MickeM
1047 * Fixed so that arguments ($ARG1$) are parsed properly for alias in CheckExternalScript
1048
10492009-02-05 MickeM
1050 * Fixed so the error message for "to small eventlog buffer" specifies the required size.
1051 * Changed so that event log buffer problems are "ignored in the result" (still logged in the error log).
1052
10532009-02-03 MickeM
1054 * Added support for changing the time when using NSCA with the time_delay in NSC.ini
1055   time_delay=+4h or time_delay=-1h etc should can now be used when system time not the same as NSCA time.
1056
10572009-01-30 MickeM
1058 * Added support for changing name and description of service from the /install command line
1059   NSClient++ /install [gui] [start] [service name] [description]
1060   NSClient++ /uninstall [gui] [stop] [service name]
1061   NSClient++ /start [gui] [service name]
1062   NSClient++ /stop [gui] [service name]
1063
10642009-01-28 MickeM
1065 * Slightly improved error handling around socket creation
1066 * Fixed some pretty minor issues with the SysTray module (uncreation as well as new boost build).
1067
10682009-01-25 MickeM
1069 * Fixed issue with checkVersion (#242)
1070 * Fixed spelling error (#244)
1071 * Fixed crash in CheckFile when a file was locked in exclusive mode (#254)
1072 + Improved error handling in all CheckDIsk/CheckFile checks. Should report errors better now.
1073 * Updated the config file a bit: remving "beta" from a bunch of modules no longer in beta.  (#270)
1074 + Added more filter operatos to all numeric filters so they accept eq:, ne:, gt:, lt: in addition to =, >, <, <>, !, !=, in: (#269)
1075
10762009-01-23 MickeM
1077 + Added better support for numerical hit matching in the eventlog module. You can now use exact and detailed matching.
1078    You can now use the following syntax:
1079    CheckEventLog ... warn=ne:1 crit=eq:0 ...
1080    To generate a warning if the number of hits are != 1 and a critical if the number of hits are = 0.
1081    Other operators avalible are: =, >, <, <>, !, !=, eq:, ne:, gt:, lt:
1082
10832009-01-23 MickeM
1084 * Cleaned up the checkProcState code and it is not a lot better.
1085   - Removed race conditions (crashes?) as well as improved perfoamnce and better error handling.
1086 + Added new option 16bit to checkProcState. When set checkProcState will enumerate all 16 bit processes found running under NTVDM.
1087 * Fixed NRPE version reported "incorrectly". (Version is now takedn from NSClient++)
1088
10892009-01-21 MickeM
1090 + Added experimental 16 bit process support to checkProcState
1091
10922009-01-20 MickeM
1093 * Fixed issue with CheckWMI when no filter was specified.
1094
10952009-01-17 MickeM
1096 + Added new command line option pdhlookup (to CheckSystem) to lookup index from names.
1097   Probably not usefull to anyone but me :) Usage: "nsclient++ -noboot CheckSystem pdhlookup Antal bindningsreferenser"
1098 * Fixed so PDH Collectors use the same exception as the rest of the PDH stuff (might give better errors when PDH breaks, but I doubt it)
1099 * removed debug output from -noboot
1100 + Added new command line pdhmatch option to use pattern matching on PDH queries
1101   Usage: nsclient++ -noboot CheckSystem pdhmatch \Process(*)\Antal trådar
1102 * Improved error reporting in the PDH subsystem.
1103 + Added new module A_DebugLogMetrics.dll which can be used to generate debug info.
1104   Enable the module and a file called process_info.csv will be created under %APP_DATA%/nsclient++/process_info.csv which contains metrics.
1105 * Fixed handle leak in CheckExternalProcess and NRPEListsner (executing commands).
1106
11072009-01-13 MickeM
1108 * Fixed issue with 64-bit installer (now installs under Program Files (and not x86)
1109 + Brand new build enviornment based upon boost build!!!
1110   Use batch file to build (release-build.bat or modify to make your own)
1111 * Modified /about so it now shows a lot of usefull(?) info.
1112
11132008-11-13 MickeM
1114 + Added truncate option to checkServiceState
1115
11162008-09-24 MickeM
1117 * Imroved the installer (now auto-updates the version when built)
1118
11192008-09-24 MickeM - 0.3.5
1120 * Fixed issue with CheckServiceState and CheckAll (it now works)
1121 + Added new check: CheckFile2 which has the same syntax as the event log filtering.
1122    Usage: CheckFile2 file=c:\test\*.txt filter=in filter+creation=<24h "syntax=%filename% was created %creation%" MinWarn=0 MinCrit=0
1123
11242008-09-18 MickeM - 0.3.4
1125 * Changed so "missing services" are treated as stopped.
1126    CheckServiceState missing=stopped ShowAll
1127        OK: missing: not found
1128 * Fixed issue with : in service name.
1129 + Added some "reasonable default cheks" under [External Alias] for the CheckExternalScripts.dll module.
1130
11312008-09-17 MickeM - 0.3.4 RC-6
1132 * Added option [EventLog] lookup_names=0 to disable the evetlog name lookup (default is on)
1133
11342008-09-17 MickeM
1135 * Fixed issue on all filters so == takes the "usual" 2 equalsigns (old still works).
1136 * Added so tray icon can get "propper" name from core for "description".
1137 * Added lookup of "long" eventlog names (you can now use the alias used in the event viewer)
1138
11392008-09-16 MickeM - 0.3.4 RC-5
1140 * Fixed an issue with the session launcher
1141
11422008-09-15 MickeM
1143 * Fixed so NSCLient++ can load with "broken plugins" (before it printed an error and exited)
1144 + Added a very basic simple .net plugin (and a wrapper)
1145
11462008-09-14 MickeM - 0.3.4 RC-4
1147 * Fixed an issue with the session launcher
1148 * Fixed an issue with the uninstaller (should not "fail" when problems uninstalling)
1149
11502008-09-14 MickeM - 0.3.4 RC-4
1151 * Fixed issue with OS detection (again)
1152 * Fixed issue with plugin unloading (again)
1153 * Fixed issue with SSL socket not unloading properly
1154 * Fixed issue with "login" and "no session" (should work now I hope) (#222)
1155 * Changed so all projects build under "tmp" instead of under respecitve directory. (simpler to remove all "tmp" files now)
1156
11572008-09-12 MickeM
1158 * Thanks to everyone who listened in on my session at NETWAYS Nagios Konferenz 2008!
1159
11602008-09-09 MickeM - 0.3.4 RC-3
1161 * Improved error handling for the WMI checks.
1162 + CheckWMI: Added support for extracting numbers from strings
1163 * Fixed performance data for "large float values" to be rendered without scientific notation. (#151)
1164 * Fixed issue with & and some commands via check_nt.
1165 * Fixed a crash on exit (which I added in Rc1).
1166 * Added 10 "bytes" the CPU buffer: (#174)
1167 + Added new option to [EventLog] section buffer_size to change the size of the buffer used when scanning the evenlotg (defaults to 64k).
1168 * Fixed error handling in CHeckEventLog so errors are repoorted properly (#184)
1169
11702008-09-08 MickeM - 0.3.4 RC-2
1171 * Fixed issue in windows 2008 with system tray (shared_session).
1172 * Fixed installer issue (should run (i hope) service installer on install now on 64 bit os)
1173 * Fixed issue with unloading plugins and log (causing "timeouts" when exiting some times)
1174
11752008-09-07 MickeM
1176 + Added sample powershell script as well as a workaround for making them run.
1177 * Fixed an issue making powershell scripts (and possibly others) not timeout properly.
1178 + Added upgrade support to the installer (still need to add support for keeping .ini file so be ware)
1179
11802008-09-06 MickeM
1181 * Improved error reporting in the eventlogchecker
1182 * *BREAKING CHANGE* filter=new is now the default so unless you use the new filtering you need to specify filter=old instead!
1183   I Recomend everyone to stop using the "old" filtering.
1184
11852008-09-04 MickeM
1186 * Fixed issues with new service stuff on NT4 and W2K (should work fine now)
1187 + Added some DebugOutput to service handling features so if you experience tropubel try using sysinternals DebugView too se logging before the agent startes.
1188 * Fixed a memory leak in the error formating code
1189
11902008-08-24 MickeM
1191 * Changed NSCA "general problem" error message to be more descriptive.
1192 * Fixed issue with CheckCPU not returning a valid performance unit (%) see issue #219 for details.
1193
11942008-08-16 MickeM
1195 * *WARNING* THIS IS VERY VERY UNSTABEL (possibly)
1196 * *WARNING* A lot of new untested code here so dont run in production enviornments :)
1197 + Added shared session so system tray can communicate with master
1198 + Added new system tray handlig (via TS so FUS should work with it)
1199 + Added new option [System] / shared_session=0 (or 1) to enable / disable the new shared memory framework (it is for now disabled by default)
1200   If you want to try this remember to change that option but also beware! it is dagerous and not finnished and and also there is as of now no security at all.
1201
12022008-08-09 MickeM
1203 + Added ChangeWindowMessageFilter so systray should maybe work on vista and beyond!
1204
12052008-07-28 MickeM
1206 * Improved the error handling for the check proc state.
1207 * Removed all (I think) asserts replacing them with exceptions (should I hope reduce crashes and instead leave some form of errors)
1208
12092008-07-25 MickeM
1210 + Built a garage at the summer house
1211 * cut down all the reeds and shrubbs at the summer house.
1212
12132008-07-03 MickeM
1214 * Fixed (again) issue with performance data and CheckDriveSize (when using "Min" bounds)
1215 + Added some more error messages for when counters are not found.
1216 * Fixed an issue with the new namespace option
1217
12182008-07-02 MickeM
1219 ! 0.3.3 Released (take 2)
1220 + Added new option alias to controll the name for performance counters when using checkfile use like so:
1221    checkfile alias=foo file=C:\boot.ini filter-written=>1000d syntax=gurka MaxCrit=1
1222 * Fixed issue with performance data and CheckDriveSize (when using "Min" bounds)
1223 ! 0.3.3 Released (take 1)
1224 * Fixed some issues (?) with the installer the w32 and x64 are now different components (GUIDs).
1225
12262008-07-02 MickeM
1227 + Fixed some issues (?) with the installer the w32 and x64 are now different components (GUIDs).
1228
12292008-07-01 MickeM
1230 + Added new option (namespace) to CheckWMI and CheckWMIValue use like so:
1231   CheckWMI namespace=root\\cimv2 MaxCrit=3 MinWarn=1 "Query:load=Select * from win32_Processor"
1232
12332008-06-30 MickeM
1234 * Fixed issue with CheckFile and performance data ( #156 )
1235 + Added option (InvalidStatus) to CheckCounter to allow other then UNKNOWN return state when counters are missing ( #167 ).
1236   *NOTICE* this is all reasons (so if the counter is missing or some such the same will happen not just when the instance is missing)
1237   Message will reflect reason.
1238 * Fixed issue in the arraybuffer (one of the plit functions had a problem with multiple chars of the same) ( #190 )
1239
12402008-06-25 MickeM
1241 * Fixed issue with CheckDriveSize and CheckAllOthers (#188)
1242
12432008-06-24 MickeM
1244 + Added new check (to CheckHelpers): CheckOK: Just return OK (anything passed along will be used as a message).
1245 + Added new check (to CheckHelpers): CheckWARNING: Just return WARN (anything passed along will be used as a message).
1246 + Added new check (to CheckHelpers): CheckCRITICAL: Just return CRIT (anything passed along will be used as a message).
1247 + Added new check (to CheckHelpers): CheckVersion: Just return the nagios version (along with OK status).
1248 * Better error messages in the check service thingy.
1249
12502008-06-18 MickeM
1251 * Fixed an issue in regards to reading the return packet in the in the NRPEClient (now it works).
1252   Before only the first 1024 bytes were used.
1253
12542008-06-15 MickeM
1255 * Applied patches from Jeff Goldschrafe <goldschr AT cshl.edu>
1256   + CheckDriveSize now uses "all drives" when no drive is specified.
1257   * Fixed misspellt Container
1258
12592008-06-14 MickeM
1260 * Fixed error message from external commands (better reporting now)
1261
12622008-05-14 MickeM
1263 * Fixed memoryleak in the service checker.
1264     I am really sorry I usualy write better code then this.
1265 + Added some "reasonable default cheks" under [External Alias] for the CheckExternalScripts.dll module.
1266
12672008-09-17 MickeM - 0.3.4 RC-6
1268 * Added option [EventLog] lookup_names=0 to disable the evetlog name lookup (default is on)
1269
12702008-09-17 MickeM
1271 * Fixed issue on all filters so == takes the "usual" 2 equalsigns (old still works).
1272 * Added so tray icon can get "propper" name from core for "description".
1273 * Added lookup of "long" eventlog names (you can now use the alias used in the event viewer)
1274
12752008-09-16 MickeM - 0.3.4 RC-5
1276 * Fixed an issue with the session launcher
1277
12782008-09-15 MickeM
1279 * Fixed so NSCLient++ can load with "broken plugins" (before it printed an error and exited)
1280 + Added a very basic simple .net plugin (and a wrapper)
1281
12822008-09-14 MickeM - 0.3.4 RC-4
1283 * Fixed an issue with the session launcher
1284 * Fixed an issue with the uninstaller (should not "fail" when problems uninstalling)
1285
12862008-09-14 MickeM - 0.3.4 RC-4
1287 * Fixed issue with OS detection (again)
1288 * Fixed issue with plugin unloading (again)
1289 * Fixed issue with SSL socket not unloading properly
1290 * Fixed issue with "login" and "no session" (should work now I hope) (#222)
1291 * Changed so all projects build under "tmp" instead of under respecitve directory. (simpler to remove all "tmp" files now)
1292
12932008-09-12 MickeM
1294 * Thanks to everyone who listened in on my session at NETWAYS Nagios Konferenz 2008!
1295
12962008-09-09 MickeM - 0.3.4 RC-3
1297 * Improved error handling for the WMI checks.
1298 + CheckWMI: Added support for extracting numbers from strings
1299 * Fixed performance data for "large float values" to be rendered without scientific notation. (#151)
1300 * Fixed issue with & and some commands via check_nt.
1301 * Fixed a crash on exit (which I added in Rc1).
1302 * Added 10 "bytes" the CPU buffer: (#174)
1303 + Added new option to [EventLog] section buffer_size to change the size of the buffer used when scanning the evenlotg (defaults to 64k).
1304 * Fixed error handling in CHeckEventLog so errors are repoorted properly (#184)
1305
13062008-09-08 MickeM - 0.3.4 RC-2
1307 * Fixed issue in windows 2008 with system tray (shared_session).
1308 * Fixed installer issue (should run (i hope) service installer on install now on 64 bit os)
1309 * Fixed issue with unloading plugins and log (causing "timeouts" when exiting some times)
1310
13112008-09-07 MickeM
1312 + Added sample powershell script as well as a workaround for making them run.
1313 * Fixed an issue making powershell scripts (and possibly others) not timeout properly.
1314 + Added upgrade support to the installer (still need to add support for keeping .ini file so be ware)
1315
13162008-09-06 MickeM
1317 * Improved error reporting in the eventlogchecker
1318 * *BREAKING CHANGE* filter=new is now the default so unless you use the new filtering you need to specify filter=old instead!
1319   I Recomend everyone to stop using the "old" filtering.
1320
13212008-09-04 MickeM
1322 * Fixed issues with new service stuff on NT4 and W2K (should work fine now)
1323 + Added some DebugOutput to service handling features so if you experience tropubel try using sysinternals DebugView too se logging before the agent startes.
1324 * Fixed a memory leak in the error formating code
1325
13262008-08-24 MickeM
1327 * Changed NSCA "general problem" error message to be more descriptive.
1328 * Fixed issue with CheckCPU not returning a valid performance unit (%) see issue #219 for details.
1329
13302008-08-16 MickeM
1331 * *WARNING* THIS IS VERY VERY UNSTABEL (possibly)
1332 * *WARNING* A lot of new untested code here so dont run in production enviornments :)
1333 + Added shared session so system tray can communicate with master
1334 + Added new system tray handlig (via TS so FUS should work with it)
1335 + Added new option [System] / shared_session=0 (or 1) to enable / disable the new shared memory framework (it is for now disabled by default)
1336   If you want to try this remember to change that option but also beware! it is dagerous and not finnished and and also there is as of now no security at all.
1337
13382008-08-09 MickeM
1339 + Added ChangeWindowMessageFilter so systray should maybe work on vista and beyond!
1340
13412008-07-28 MickeM
1342 * Improved the error handling for the check proc state.
1343 * Removed all (I think) asserts replacing them with exceptions (should I hope reduce crashes and instead leave some form of errors)
1344
13452008-07-25 MickeM
1346 + Built a garage at the summer house
1347 * cut down all the reeds and shrubbs at the summer house.
1348
13492008-07-03 MickeM
1350 * Fixed (again) issue with performance data and CheckDriveSize (when using "Min" bounds)
1351 + Added some more error messages for when counters are not found.
1352 * Fixed an issue with the new namespace option
1353
13542008-07-02 MickeM
1355 ! 0.3.3 Released (take 2)
1356 + Added new option alias to controll the name for performance counters when using checkfile use like so:
1357    checkfile alias=foo file=C:\boot.ini filter-written=>1000d syntax=gurka MaxCrit=1
1358 * Fixed issue with performance data and CheckDriveSize (when using "Min" bounds)
1359 ! 0.3.3 Released (take 1)
1360 * Fixed some issues (?) with the installer the w32 and x64 are now different components (GUIDs).
1361
13622008-07-02 MickeM
1363 + Fixed some issues (?) with the installer the w32 and x64 are now different components (GUIDs).
1364
13652008-07-01 MickeM
1366 + Added new option (namespace) to CheckWMI and CheckWMIValue use like so:
1367   CheckWMI namespace=root\\cimv2 MaxCrit=3 MinWarn=1 "Query:load=Select * from win32_Processor"
1368
13692008-06-30 MickeM
1370 * Fixed issue with CheckFile and performance data ( #156 )
1371 + Added option (InvalidStatus) to CheckCounter to allow other then UNKNOWN return state when counters are missing ( #167 ).
1372   *NOTICE* this is all reasons (so if the counter is missing or some such the same will happen not just when the instance is missing)
1373   Message will reflect reason.
1374 * Fixed issue in the arraybuffer (one of the plit functions had a problem with multiple chars of the same) ( #190 )
1375
13762008-06-25 MickeM
1377 * Fixed issue with CheckDriveSize and CheckAllOthers (#188)
1378
13792008-06-24 MickeM
1380 + Added new check (to CheckHelpers): CheckOK: Just return OK (anything passed along will be used as a message).
1381 + Added new check (to CheckHelpers): CheckWARNING: Just return WARN (anything passed along will be used as a message).
1382 + Added new check (to CheckHelpers): CheckCRITICAL: Just return CRIT (anything passed along will be used as a message).
1383 + Added new check (to CheckHelpers): CheckVersion: Just return the nagios version (along with OK status).
1384 * Better error messages in the check service thingy.
1385
13862008-06-18 MickeM
1387 * Fixed an issue in regards to reading the return packet in the in the NRPEClient (now it works).
1388   Before only the first 1024 bytes were used.
1389
13902008-06-15 MickeM
1391 * Applied patches from Jeff Goldschrafe <goldschr AT cshl.edu>
1392   + CheckDriveSize now uses "all drives" when no drive is specified.
1393   * Fixed misspellt Container
1394
13952008-06-14 MickeM
1396 * Fixed error message from external commands (better reporting now)
1397
13982008-05-14 MickeM
1399 * Fixed memoryleak in the service checker.
1400     I am really sorry I usualy write better code then this.
1401
14022008-05-?? MickeM
1403 * BREAKING CHANGE! -- THe API function NSCLoadPlugin has been changed to take an integer to define the load-status
1404
14052008-06-?? MickeM
1406 * BREAKING CHANGE! -- New settings API as well as new WEBConfiguration UI (nothing is finnished yet but I wanted to check things into the SVN since it is a lot of changes now :)
1407
14082008-05-14 MickeM
1409 * Fixed memoryleak in the service checker.
1410     I am really sorry I usualy write better code then this.
1411
14122008-05-11 MickeM
1413 * BREAKING CHANGE! -- Changed PDH options to a more uniform design:
1414     auto_detect_pdh and dont_use_pdh_index has been removed and instead there is a new method option that takes various values.
1415
14162008-04-03 MickeM
1417 * Moved COM init to "core" (from WMI module)
1418 + Added new Check command: CheckTaskSched Use like so:
1419     CheckTaskSched +filter-exit-code==1 ShowAll MaxWarn=1 MaxCrit=1
1420
14212008-03-21 MickeM
1422 + Added command line support for process checks
1423   New option: cmdLine will toggle so full command lines are used instead of just process names.
1424 + Added regular expression matching to process checks
1425   New option: match=regexp (match=strings is the default and "old" way)
1426 + Added substring matching to process checks
1427   New option: match=substr (match=strings is the default and "old" way)
1428   This is *NOT* case blind so might be hard to use, plan to add case blindness to it in the future.
1429 : Sample command: check_nt ... -v PROCSTATE -l cmdLine,match=regexp,.*exp.* -d SHOWALL
1430 * Ohh yeah... it is 2008 this year... not 2007, fixed a few entries in the change log :)
1431 - BREAKING CHANGE! -- Removed TOOLHELPER API as PSAPI is simpler and toolhelp is really only useful on w9x (which I don't officially support)
1432
14332008-03-20 MickeM
1434 + Added host-lookupos for NSCA server (#149)
1435 + Added option (cache_hostname=1|0) to cache the NSCA host name (Ie. only lookup once)
1436 * Fixed service check: check_nt -v SERVICESTATE -l CheckAll so it works as advertised (#150)
1437 * Fixed issue with check_nt MEMUSE/CPULOAD/UPTIME if something is "broken" they will now return an error instead of "0". (#134)
1438   Added option debug_skip_data_collection to simulate this (just for kicks)
1439
14402008-03-18 MickeM
1441 * Added some more error messages to the NSCA module
1442 * Added support for arguments to LUA module.
1443   syntax: function debug (command, args) -- args is a table with all arguments
1444
14452008-03-11 MickeM
1446 ! 0.3.1 Released
1447
14482008-03-08 MickeM
1449 * Changed so log is now in Unicode format
1450   Hopefully this will make it simpler to diagnose PDH issues in "strange locales".
1451   If anyone hates this let me know and I will add an option to use "old ansi log".
1452 * Fixed so the console is logged as ANSI (properly) and all Unicode's are discarded.
1453   This means "strangeness" in Unicode and non-us-ascii chars on the console,
1454    so for details refer to the log-file which is proper Unicode.
1455 + Since log module is loaded "after" the client has booted I added a "hello" message that prints the current version
1456    (if you find this annoying let me know, I will make it optional :)
1457 * Fixed some issues in the registry handling
1458
14592008-03-06 MickeM
1460 * Fixed silly ordering bug with the <> syntax.
1461
14622008-03-05 MickeM
1463 + Added debug to new section [Eventlog], when enabled it will (log) what lines matched what, this is a pretty big performance overhead so don't run with this one.
1464 + Added syntax to new section [Eventlog] used as a shorthand for the syntax to use as "default" (when no syntax=... option is given)
1465 * Fixed an issue with eventlog and . matching.
1466 + Added shorthand ! for != in "all" numeric filters (eventlog)
1467 + Added <> (same as ! and !=) as NRPE breaks the use of ! (in "all" numeric filters (eventlog))
1468   Try using: filter-eventType=<>warning to remove everything that is not a warning
1469 * Fixed two spelling mistakes in the SysTray module.
1470 * Fixed 64-bit issues with installer
1471 * Fixed so installer uninstalls/installs the service
1472 
14732008-02-26 MickeM
1474 + Added installer
1475 
14762008-02-22 MickeM
1477 * Fixed issues in the NRPE module (now returns the correct status)
1478 + Added a lot of "error log" for when the packet size in NRPEListener is not correct
1479    (might make it simpler to diagnose problems)
1480
14812008-02-20 MickeM
1482 + Added new module NRPEClient that can act as a NRPE client, might be useful for testing things and
1483   eventually for relaying events.
1484   Usage: nsclient++ -noboot NRPEClient -H 192.168.0.1 -p 5666 -c check_something -a foo bar
1485   This is an early concept so don't expect much...
1486 * Fixed a bug in NSCA module (now it works again :)
1487 + Added a command wrapper for the NRPECLient module so now it can act as a check command.
1488   (No argument handling yet though), For a sample check out the [NRPE Client Handlers] section in NSC.ini
1489
14902008-02-19 MickeM
1491 + Fixed a buffer overflow in the NRPE socket handling.
1492 
14932008-02-18 MickeM
1494 + Added proper output handling to process subsystem (now you can execute programs that return "much" data.
1495 + Added select support for SSL_write (now you can send "any amount of data" to the (SSL) socket.
1496   Since check_nrpe doesn't do this it wont work in that end, but still...
1497
14982008-02-16 MickeM
1499 + Re factored ExternalCommand handling so NRPE and new module does the same thing.
1500
15012008-02-14 MickeM
1502 + Added so commands starting in host_ (NSCA Handlers) are sent as host-commands
1503 * Fixed a copy constructor in NSCA Commands (now service checks are sent as service checks)
1504
15052008-02-13 MickeM
1506 + Added string_length to [Settings] as well (used internally) for all "injected" buffers.
1507 * Fixed issue with scripts result truncated after 1024 chars
1508    (now they return "all" output and thus you can use the NRPE settings I added yesterday :)
1509 + Added hostname setting to [NSCA] section (must have been  when I did not add it before)
1510 + Added to NSCA truncates output when to long.
1511
15122008-02-12 MickeM
1513 + Added new option for the [NRPE] section string_length which is the length of the NRPE strings
1514   (notice you need to recompile the check_nrpe to match this value)
1515 * Improved exception handling in the PDH collector (hopefully less deadlocks)
1516
15172008-02-11 MickeM
1518 + Added encryption support for NSCA module (about half of the algorithms are available,
1519     if someone wants to use one not available let me know, and I will try to add it)
1520
15212008-02-09 MickeM
1522 + New module CheckExternalScripts to handle 1, external script (similar to the old NRPE but in its own module)
1523   - Can Check batch/vbs/programs/*
1524   - Works with NSCA module (if you don't want to have NRPE at the same time)
1525   - Simpler syntax (discarded old and added new section for alias)
1526   - Started to add "sample alias" to ease initial setup and give some nice ideas (please provide me with feedback on them)
1527
15282008-02-08 MickeM
1529 + Added some more default catch handlers (on the "core" side of plugin-calls).
1530
15312008-02-07 MickeM
1532 + Added default catch handlers to all wrapped plug in calls.
1533
15342008-02-05 MickeM
1535 * Fixed issue with checkEventLog (sometimes you got the wrong message back)
1536
15372008-02-04 MickeM
1538 *** Happy Birthday bogi!! :)
1539 * Fixed issues with performance counter rendering (mainly checkDisk)
1540
15412008-02-03 MickeM
1542 + Added encryption subsystem to NSCA module (still no mcrypt support, but at least you have "xor" and passwords)
1543 + Added API for scripts to register commands
1544 + Added command descriptions (for some modules)
1545 * Fixed issue in NRPE that displayed a console window when running commands
1546 * New improved "inject" dialog from the system tray
1547   Lists available commands, and shows command descriptions and a lot of other improvements.
1548 + Added an internal log windows that displays log in real-time.
1549 + Fixed some issues with the dialog procs (should work smoother now, especially Termination)
1550
15512008-02-02 MickeM
1552 * Might have fixed the "missing eventlog messages" problem.
1553 + Added %count% parameter to syntax which (when used with unique) will display the number of hits for each message displayed.
1554
15552008-01-27 MickeM
1556 * Fixed a memory-leak in format_time
1557 * Fixed so time/date is displayed in "local time" (not UTC) for the eventlog check
1558 + Added %message% to eventlog check. Will display the "proper formated eventlog message" as in the eventlog viewer.
1559   For this to work you need to have the descriptions flag set
1560   In short: /nrpe -H 192.168.0.147 -c checkEventLog -a truncate=1024 "syntax=%generated%: %message%" descriptions=true file=System MaxWarn=1 MaxCrit=1 filter+eventType==error filter+generated=\<12h filter=new filter=all filter=in
1561 + Added option "unique" to CheckEventLog If this is present only unique errors will be returned.
1562   The uniqueness is defined by event-log, event-source, event-id and event-category.
1563
15642007-12-16 MickeM
1565 + A lot of new features in the LUA module only "arguments" missing (as well as exposing more of the API)
1566 * Changed some exceptions that were thrown wrong
1567
15682007-12-11 MickeM
1569 + Added support for index-lookups of PDH counters (hopefully *all* locale problems are now fixed (yeah right))
1570
15712007-12-10 MickeM
1572 + Added initial draft for LUA module
1573
15742007-12-09 MickeM
1575 + Added a check if the service is started when running with /test so you get a warning
1576 + Improved the socket thread with:
1577    * a default-catch
1578    * If the socket fails to start we still wait for it to shut down (no error message)
1579 + Added first version of the NSCA agent (NSCAgent.dll)
1580   (no encryption support as of yet, but will come)
1581
15822007-12-04 MickeM
1583 ! 0.3.0 Released
1584
15852007-12-01 MickeM
1586 * Fixed issue with date formating in FILEAGE
1587
15882007-11-29 MickeM
1589 * Fixed issue with date formating in FILEAGE
1590
15912007-11-28 MickeM
1592 ! 0.3.0 RC-1
1593 * Fixed some UNICODE issues with process-listings
1594 + Added an error message if the "detected" process enumeration method is not available.
1595 + Fixed some more Unicode issues Password encrypt/decrypt: #107
1596 * Fixed Unicode issues with "external programs" #109
1597 * Fixed so default string for check_nt:s FILEAGE command is "delta" is 5 minutes ago (and not absolute ie. 1970...), Issue #39
1598 + added support for  <date strings> to check_nt:s FILEAGE command, Issue #39
1599    append: .<date string> if you want to use a "custom date" like so: ... -v FILEAGE -l c:\\windows,Date: %Y-%m-%d %H:%M:%S" -w 5 -c 6 ...
1600    Only the above listed %<char> works, and default to 0 so might not be to pretty but works...
1601
16022007-11-26 MickeM
1603 + Fixed a socket issue (erroneously reported "Could not read NSClient packet from socket :(")
1604 * More 2k5 build tweaks
1605
16062007-11-23 MickeM
1607 * Converted to Unicode (damn sometimes I **HATE** C++)
1608 + Added support for escaping " on the /test syntax so now you can do: CheckWMI MaxCrit=3 "MinWarn=1" "Query:load=Select * from win32_Processor"
1609
16102007-11-22 MickeM
1611 * Fixed so the "default path" is correct even when running as a service (issue: #96)
1612
16132007-11-21 MickeM
1614 * Fixed process counter so checkProcState  now return the *correct* number (previously it was correct-1)
1615 * Fixed some missing exceptions that were not caught
1616 + Added "AliasCol" option to CheckWMIValue to allow a column to be used as "alias" for a result set:
1617     CheckWMIValue -a "Query=select Caption, ThreadCount from Win32_Process" MaxWarn=50 MaxCrit=100 Check:threads=ThreadCount AliasCol=Caption
1618    will give you: "System threads: 98 > warning, svchost.exe threads: 87 > warning"
1619 - Removed  from SVN (as it is old and outdated and no longer used)
1620
16212007-11-20 MickeM
1622 + Added new option to CheckSystem to override detected language (force_language=0x0014)
1623
16242007-11-19 MickeM
1625 * Fixed a minor issue in reading registry keys
1626 + Added -noboot option to startup used for running command line utilities without booting the client
1627   "nsclient++ -noboot RemoteConfigruation ini2reg" for instance
1628 + Added fall back to try <module> and <module>.dll if the module was not loaded (when running command lines)
1629 * Migrated 2008 project files to new name and back ported to 2005 project files.
1630
16312007-11-16 MickeM
1632 * Fixed an NRPE issue I added when I improved the sockets_timeout (now SSL works as well :).
1633 + Added sample VBS script and definitions
1634
16352007-11-15 MickeM
1636 * Improved error message when external NRPE command failles.
1637
16382007-11-14 MickeM
1639 + Added multi-line output support ( issue #91 )
1640 * Improved error handling for external commands
1641 * Fixed an issue with NRPE/NSClient socket-reading (introduced by the socket_timeout)
1642 + Added an English fall back if "local" language PDH counters fail.
1643
16442007-11-12 MickeM
1645 + Added option to configure socket_timeouts (default is now 30 seconds) should (I hope) fix issue #85
1646
16472007-11-11 MickeM
1648 + Added option to configure the behavior of CheckService CheckAll (#64)
1649
16502007-11-08 MickeM
1651 + Added CheckWMIValue to check result-values from a WMI Query
1652 * Changed so performance values are "collapsed" i.e. 75362115584 = 70.0G (#89)
1653    If anyone don't want this let me know and I will make an option for it.
1654
16552007-11-06 MickeM
1656 + Added CLI interface to CheckWMI to check queries
1657
16582007-11-04 MickeM
1659 * Rewritten WMI handling as well as checks so things should be more useful now (cf. the wiki page for details)
1660
16612007-10-29 MickeM
1662 * Restructured build and include to work from CLI
1663 + Started to add makefiles to build from CLI
1664 + Added Finnish counters (#98)
1665 * Fixed performance counter issue with check_nt (#99)
1666 
16672007-10-06 MickeM
1668 + Added auto-upda-te of versions and dates on build to make versions better updated.
1669 + Fixed x64 build and cleanup a bit.
1670
16712007-09-15 MickeM
1672 + Added better error messages (now return codes are displayed as text). Not implemented all over yet but the infrastructure is there.
1673
16742007-09-11 MickeM
1675 + Added Dutch performance counters to counters.defs
1676 + Added Spanish performance counters to counters.defs
1677 + Added #69 [includes] directive to INI-file to include other files
1678 * Fixed #75 (spelling issue)
1679
16802007-06-23 MickeM
1681 * Might have fixed #53 I was not able to get the problem locally but I have fixed the problem ias at op5 discovered at least...
1682 * Fixed the "check memory" issues for real this time.
1683 * Fixed problem with : in counter names #50 (anything starts with \ is considered a counter so if you use aliases with \ this will break things for you.
1684
16852007-06-20 MickeM
1686 * Fixed #24 crash in NSClient++.exe CheckSystem listpdh | debugpdh
1687 * Fixed #62 Problems with CheckServiceState and services with spaces.
1688
16892007-03-06 MickeM
1690 ! 0.2.7 released
1691
16922007-03-05 MickeM
1693 * Fixed -v FILEAGE check_nt (NSClient) check.
1694 * Added license agreement header to all files
1695
16962007-03-04 MickeM
1697 + Added script_dir option to NRPE section as well as some sample scripts in the scripts/
1698   subdirectory. The script_dir will use all files in this directory as scripts for NRPE
1699 + Added Japanese counters to counters.defs from patch (thanx!!!)
1700
17012007-02-25 MickeM
1702 + Added possibility to check many memory checks in one go, just stack type options.
1703     type=paged type=physical etc...
1704 * Fixed a performance check bug in the last nightly.
1705 * Fixed a potential crash when a malformed check-file-age command was issued.
1706 + Added support for more then and NSClient command
1707 + Added net mask support to allowed_hosts (try with 192.168.0.1/24 and such)
1708 
17092007-02-22 MickeM
1710 + Added debug output to see if the socket is bound and/or has shutdown.
1711 * Fixed a potential bug in the thread manager.
1712 + Added configuration option for suppressing performance data to the NRPE section.
1713   Set performance_data=0 to stop sending performance data to nagios
1714 + New (better?) (simpler?) event log checking
1715 + Added option to most commands (ignore-perf-data) to suppress performance data
1716 + Added option CheckAll for checking all auto-start services to checkServiceState.
1717   Also an exclude=<service> to exclude checking that.
1718 * Fixed return syntax for PROCSTATE nsclient
1719
17202007-02-21 MickeM
1721 * Fixed "broken password check" (again) in NSClient listener (this time it is correct! :)
1722
17232006-12-02 MickeM
1724 + Managed to build so it works on NT 4.0 (SP6a) and W2K3
1725 * Fixed "broken password check" in NSClient listener
1726
17272006-11-18 MickeM
1728 + Added support for empty NRPE checking (i.e.. chec_nrpe without a -c argument)
1729 * Added error message when detected language is missing from counters.defs
1730 + Added Swedish locale to counters.defs (yes, I switched to Swedish XP on my computer :)
1731 * Fixed : (and possibly other problems) in counters when checking from check_nt (via NSCLient protocol)
1732 + Added CheckAllExcept to CheckDrive to check all except the specified drives.
1733 * Fixed a display error in the various size functions (1000-1024 byte was displayed incorrectly)
1734
17352006-10-05 MickeM
1736 * Yayyy!!! (first fix in a looong while :)
1737 * Fixed a W2k3 "bug" (actually just an incorrect error) but the:
1738   "e .\PDHCollector.cpp(130) Failed to query performance counters..." is no more...
1739 + Added option to NRPE/NSClient section to not-cache host names (for dyndns etc.)
1740   NOTICE this is "not safe" really in so far as someone might hi-jack your DNS and quickly gain
1741   access to your nagios box (probably only a theoretical problem but hey! :)
1742   NOTICE this is "slow" since all hosts in the list are "looked up" each time you get a NRPE/NSClient
1743   request it will be "slow" but I think it is not that much of a problem really.
1744   NOTICE I don't have the possibility to test this so feel free to report if it works and if it doesn't.
1745   Set cache_allowed_hosts=0 to disable host cache
1746
17472006-04-04 MickeM
1748 * Fixed a few more bugs to the INI/REG readers
1749
17502006-04-02 MickeM
1751 * Could all magicians stop trying to kill me?
1752   *Please* i don't like to die!
1753
17542006-03-31 MickeM
1755 * Damn necromancers! stop 0wning my ass all the time!
1756 
17572006-03-29 MickeM
1758 + Added API for saving/reading settings
1759 
17602006-03-28 MickeM
1761 + Added REG/INI parsers
1762 * *NOTICE* You need to add an option (use_file=1) to your nsc.ini file or new builds wont work.
1763
17642006-03-25 MickeM
1765 * Oblivion f*cking roxx!
1766
17672006-03-02 MickeM
1768 * Fixed bug in INI-file reader (memory leak)
1769
17702006-03-01 MickeM
1771 * Fixed bug in CheckFile (now dates work correctly)
1772
17732006-02-26 MickeM
1774 + Added syntax option to CheckFile (%filename%, %creation%, %access%, %write%, %size%).
1775
17762006-02-25 MickeM
1777 * Fixed Sections problem (now sections can be any size)
1778 + Added bind_to_address option to both NRPE and NSClient section in the INI file.
1779   Allows you to bind the listener to a specific IP address (only dotted number not host name).
1780   This might break things as I had to do some internal rewrite of the Socket classes so be careful :)
1781 * Disabled default-debug logging (as things are fairly stable, you can still enable it by using debug=1 in the NSC:ini file)
1782 * "Fixed" socket backlog to use "max responsible value" as opposed to "10" if no value is specified.
1783 + Added option socket_back_log to both NRPE and NSClient section that allows you to tweak the "back-log" of incoming connections to keep.
1784   This is an advanced setting and should not be used. If you get "connection refused" when running many client this might be something you want to tweak though.
1785   And if you then start getting "Socket timeout" you might wanna tweak the timeout value as well because larger value here means it takes "longer" to process a socket.
1786 - I have looked into the event log problem and dates seem to work here so if anyone still have problems (use the syntax option to debug) let me know.
1787 * Moved listpdh and debugpdh into the CheckSystem module
1788 * Removed PDH dependencies from "core exe" means you can run NSClient++ without PDH (though you cant use the CheckSystem module)
1789 
17902006-02-2? MickeM
1791 + Added new Interface for Modules (NSCommandLineExec that allows modules to execute things give from command line.
1792   Syntax is NSClient++ <module name> <command> [arguments] and if a module doesn't support this it is simply ignored.
1793 + Added new install/uninstall command to SystemTray module:
1794   NSClient++.exe SystemTray install
1795   NSClient++.exe SystemTray uninstall
1796   That will install/uninstall the system tray module this sets the "Allow Service to Interact with Desktop" flag for the service.
1797 * Removed the "Allow Service to Interact with Desktop" flag from the /install option so that it no longer defaults to on (see commands to set this above).
1798 * Fixed so checkProcess isn't case sensitive.
1799 * Added (not finished) syntax option to event log checker to format the outputted data
1800
18012006-02-12 MickeM
1802 + Added support for host name resolve to allowed_hosts
1803
18042006-02-08 MickeM
1805 ! Fixed filter-eventID in EventLog module (now works for all IDs regardless of severity state)
1806 + Added new filters to EventLog (filter-severity that can filter based on event severity success, error, warning, informational)
1807
18082006-02-07 MickeM
1809 + Added new filter option to eventlog filter-eventID
1810 + Added new operator to all numeric filters in:number,number,... etc. (for instance filter-eventID=in:123,456,789 to check for lists.
1811
18122006-02-05 MickeM
1813 + Added CheckFile check command
1814   This new command (in development) will allow various file checks such as age, size, date, etc on single or multiple files.
1815 + Added FILEAGE support to NSClient
1816 + Started to convert the web page to WIKI
1817 
18182006-01-21 MickeM
1819 + Added WMI Check module (early alpha)
1820   This is an extremely early alpha more to see if there is an interest and how to progress with it.
1821   To use the WMI module enable the WMICheck.dll (nsc.ini) and then run the following check:
1822   CheckWMI MaxWarn=10 MaxCrit=15 "Query:load=Select LoadPercentage from win32_Processor"
1823   The Max* are as every other check and sets limits.
1824   The Query works similarly to other check commands i.e.. Query:<name>=<WMI query>
1825   So any other WMI query should work (notice this is experimental and not stable and has virtually
1826   no error handling so it is likely to crash nsclient if you ask anything "non working".)
1827   I would *really* *really* like to get feedback on how to expand this concept to work better so feel free to come with feedback.
1828  * Fixed NT4 /install (should work now!)
1829
18302006-01-02 MickeM
1831 * Fixed ChangeServiceConfig2 on NT4
1832 + Added support for more then 4GB memory (8GB?)
1833   Since I don't have this much memory this needs to be verified...
1834 * Fixed syntax of performance data
1835
18362005-09-24 MickeM
1837 * Fixed memory size bug (free and used were swapped)
1838
18392005-09-20 MickeM
1840 + Added option to debug all PDH counters /debugpdh
1841
18422005-09-17 MickeM
1843 + Added support for checking service by display name
1844
18452005-09-03 MickeM
1846 * First off, sorry for lack of updates, but was on vacation :)
1847 + Added ShowAll=long to CPULoad
1848 + Added several new types to checkMem (type=paged, type=physical, type=page, type=virtual)
1849
18502005-07-31 MickeM
1851 + /install now sets the service to autostart
1852 * Did some cleanup of minor code sections
1853 * (done before but not reported i think) /listpdh option added to list all PDH counters (nsclient++ /listpdh)
1854 + Added service description
1855 * Event log reworked (again) this time I hope it is better (and even useful, but syntax has changed)
1856
18572005-07-26 MickeM
1858 + Added support for ShowAll=long (to show long and short info, only applies to some areas, but available everywhere)
1859 + Extended Drive and memory check syntax to facilitate both Free and Used space checks: MaxWarnFree / MaxWarnUsed etc)
1860
18612005-07-19 MickeM
1862 * Changed thread API to use _creatthreadex as opposed to _creatthread (works better now!)
1863 * Fixed UNKNOWN return code (was 4 should have been 3)
1864
18652005-07-16 MickeM
1866 * Fixed drive checks from NSClient
1867
18682005-07-11 MickeM
1869 * *ALOT* of bug fixes and enhancements all checking code has been centralized and rewritten also my internal check scripts
1870   have been extended to check a lot more things.
1871   *NOTICE* that EventLog has not been upgraded yet neither has the documentation.
1872 + Added MaxWarnCount / MinWarnCount to checkProcState to check number of processes running
1873
18742005-06-09 MickeM
1875 * Escapes " in NRPE commands in the NSC.ini
1876
18772005-06-05 MickeM
1878 * Created configuration interface (not released yet)
1879
18802005-06-03 MickeM
1881 * Created interactive installer (not released yet)
1882
18832005-06-02 MickeM
1884 * CheckEventLog reworked...
1885
18862005-06-01 MickeM
1887 * CheckSystem auto detects windows version and language.
1888
18892005-05-29 MickeM
1890 * Fixed PROCSTATE and SERVICESTATE return state.
1891 + Added support for individual size in CheckDriveSize and CheckFileSize (size has to be specified before a drive/path)
1892 * Fixed performance data for drives (and possibly other places)
1893
18942005-05-23 MickeM
1895 + Added obfuscated password support
1896 + Added some more debug info on commands (return code, and input args)
1897 + Added some more comments to the NSC.ini
1898 + Added central password "override"
1899 + Added central "host override"
1900 + Fixed bug with external commands always getting WARNING state
1901
19022005-05-22 MickeM
1903 + Added debug output for command
1904 + Added timestamps for log-to-file (date_mask to configure format)
1905 + Added support for "no password" with check_nt
1906 + Added log of bad password on NSClient requests.
1907 * Some threading issues fixed (I hate threading :)
1908
19092005-05-19 MickeM
1910 * Verified NT4 compatibility
1911
19122005-05-18 MickeM
1913 * Fixed bug in NSC.ini (section title for Check System was wrong)
1914 + Added multitasking for plug-ins (now two plug-ins can handle requests simultaneously)
1915 * Fixed some minor issues here and there
1916
19172005-05-15 MickeM
1918 + Added NRPE support for checkCounter
1919 + Updated documentation
1920 * Make check commands ignore case
1921 + Added CheckHelpers module to alter the result of various check and similar things
1922
19232005-05-14 MickeM
1924 + Added support for Volumes (CheckDisk)
1925 + Added support for checking all drives of a certain kind
1926 + Added support for altering filter (makes it possible to check removable drives)
1927 + Created web page and better documentation
1928
19292005-04-20 MickeM
1930 + Added multitasking to socket listener (it can now handle multiple connections)
1931 * Fixed bug in NSClientListener now "seqv" in check_nt shouldn't happen.
1932 + Added COUNTER support to NSClient and CheckSystem
1933
19342005-04-19 MickeM
1935 + Added SSL support
1936 + Added a lot of new options
1937 + Added documentation
1938 * Renamed and restructured NSCLientCompat to CheckSystem
1939 * *ALOT* of fixes all over
1940 : We are now starting to get to something that is "stable"
1941 : This means that soon you might actually be able to use this.
1942 
19432005-03-28 MickeM
1944 * Changed the Thread class a bit (mutex -> signal, and CreatThread does not return the instance)
1945 * Moved settings "keys" fro NRPE to config.h
1946 * Changed build options (added Distribution) which builds a zip file under ./dist (requires 7z installed)
1947 * Minor tweaks to error/debug logging and small fixes "here and there"
1948
19492005-03-26 MickeM
1950 + NRPE Support (very basic, no encryption, and nothing fancy)
1951 * Socket classes rewritten
1952 + Added NSCModuleHelper::getSettingsSection to the API
1953
19542005-03-22 MickeM
1955 * Fixed NSClientListener return codes for basic commands
1956 * Extracted arrayBuffer code into new files under /include
1957 * Minor tweaks in the API (fixed minor issues)
1958 + Added some basic "tests" to a few commands (getToken, and arrayBuffer related)
1959
19602005-03-21 MickeM
1961 * Fixed BUG in inject command (now things should "work" again, but far from stable)
1962 + Added NRPE return code
1963 * Fixed some return states to NSClientListener (not verified yet, but soon they will be back in order :)
1964
19652005-03-20 MickeM
1966 * Fundamental API changes (due to NRPE compatibility)
1967   - HandleCommand has changed
1968   - Inject has changed
1969   - Most API calls have new "return codes" (typedef:ed INT to allow for return code compiler checks)
1970   - A lot of the old return codes have changed
1971 + Preliminary NRPE support (can parse and execute incoming requests, cant return data yet, and no encryption)
1972 + New SimpleSocket in include/ will be used as base class for Listeners
1973 * A lot of rewrite to the NSC API
1974
19752005-03-19 MickeM
1976 * Re factored out NSCLient Listener as a separate module
1977 + Added initial NRPE listener module (not yet implemented only a shell)
1978 * Changed Module API (Inject function has new syntax)
1979 + Added some tokenizer function to charEx
1980 + Added new wrapper function to inject Command
1981 * Minor changes in relation to refactor work
1982
19832005-03-01 MickeM
1984 * Improved thread safety in Core
1985 + Added exception handling and logging in PDH code
1986 * Various fixes all over the place
1987 + New module for check size of files/directories
1988 * Changed build to Dynamic link
1989 * Added regular expression support for EventLog checker
1990
19912005-02-22 MickeM
1992 + Added documentation
1993
19942005-02-17 MickeM
1995 * NSClient issues fixed
1996 * System Tray issues fixed
1997
19982005-02-14 MickeM
1999 * Initial SourceForge release
Note: See TracBrowser for help on using the repository browser.