source: nscp/changelog @ 29ff7e1

0.4.10.4.2
Last change on this file since 29ff7e1 was 29ff7e1, checked in by Michael Medin <michael@…>, 9 months ago
  • Fixed issue with performance data overflowing 32-bit integers (#550)
  • Fixed issue with CheckUptime? and time rendering being wrong (#549)
  • Property mode set to 100644
File size: 81.5 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
72012-08-07 MickeM
8 * Fixed issue with perfoamnce data overflowing 32-bit integers (#550)
9 * Fixed issue with CheckUptime and time rendering beein wrong (#549)
10 
112012-08-04 MickeM
12 * Re implemented INSTANCES command via the new pdh exec subsystem.
13
142012-08-04 MickeM
15 * Fixed exception with "nscp service"
16 * Improved nscp settings so help is displayed.
17 * Improved nscp settings so default action (no arguments) also lists all installed services.
18 * Improved nscp settings to default list service nscp as well as legcy nsclientpp
19 * Added initial retry (default 3) when sending data.
20 * Fixed protocol issue in NSClientServer (should now work again)
21
222012-08-03 MickeM
23 * Hopefully fixed the "cant load counter" issue by reowrking how counters are handled.
24
252012-08-02 MickeM
26 * major improvments to the CheckSystem command line syntax:
27   Run: "nscp sys" to get help.
28   A good way to validate your CheckSystem issues are running the following:
29     nscp sys --validate
30
312012-08-02 MickeM
32 * Added so commandline parser will stop at .. and pass along all extra options to the module.
33    So now you can do: (Notice the double --log where the first is a log arg and the second is a module arg)
34      nscp lua --log debug .. --script foo.lua --log this-is-a-lua-argument
35    But perhaps more importantly you can do:
36      nscp lua .. --help
37    Which previously would always give you "command line help" and not lua help.
38
392012-08-01 MickeM
40 * Resolved issue with crypto++ on linux (introduced by buildspeedups)
41 * Added so running "nscp settings" will list all loaded settins context (as a tree).
42   Quick way to see where your settings are stored.
43
442012-07-31 MickeM
45 * Fixed issue with files not copied by default build
46 * Swapped graphite client to use UTC instead of local time
47
482012-07-30 MickeM
49 * Restructured settings a bit removing dead code
50 * Added nscp settings --validate to validate a given settings file listing all invalid (unregistered) keys.
51 * Added SamplePluginSimple which currently is not very rich but at least has some comments to explain some of the things.
52
532012-07-29 MickeM
54 * Tracked down a few memoryleaks when connections time-out.
55 * Added testcases for connection timeouts in lua NRPE test suite
56 * Improved the LUA module a bit
57
582012-07-26 MickeM
59 * Fixed some memoryelaks in LUAModule
60 * Extracted the test functions into a library
61 * Added lib folder as search path for lua scripts
62 * Tweaks and improvments all around
63 * Improved the build scripts a lot making files work on linux (still need to manually build the targets though)
64
652012-07-23 MickeM
66 * Added support for LUAScripts to linux enviornments (still a few warnings to sort out)
67 * Improved lua unit test scripts
68 * Added support for using member functions as handlers in Lua scripts
69
702012-07-17 MickeM
71 * Performance enhancements to build time
72
732012-07-11 MickeM
74 * LUAScript: Improved lua scripting module a lot
75 * LUAScript: Added protocol buffer support to lua scripts
76 * tests: Rewrote (halfway there) test_nrpe python script as a lua script.
77 * CheckEventLog: Fixed command name when submitting real-time "no action checks"
78
792012-06-18 MickeM
80 * Fixed issue with parsing in test mode
81 * Fixed Graphite client using wrong time for datestamp
82 * Added so debug NSCA logs host name
83
842012-06-16 MickeM
85 * Initial (rather crude) NRDP support.
86
872012-06-16 MickeM
88 * Merged in master branch
89 * Fixed almost all -Wall warnings (the rest are probably not getting fixed in the near future due to their nature)
90 
912012-06-12 MickeM
92 * Improved error handling in performance counters #436
93 * Improved parsing of "legacy command lines"
94
952012-06-12 MickeM
96 * Added log level = off to disable logging.
97 * Added option in NSCAClient to hostname (auto-lc) to use lower case version of hostname. #533
98 * Reworked how commands are read.
99   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.
100   This should (I hope) resolve the "missing command" for good.
101 * Improved error messages for missing commands
102 * Fixed scientific notation on performance data (#)
103
1042012-06-11 MickeM
105 * Fixed some gcc compile issues
106 * Fixed a lot of gcc -Wall warnings
107
1082012-06-08 MickeM
109 * Fixed some issues with real time eventlog.
110 * Extended the event log unit tests to encompass the new real-time checks.
111
1122012-06-01 MickeM
113 * Tweaked all servers to use the new internals and added first testcase for NSCP socket
114
1152012-05-24 MickeM
116 * Reworked real time event log support to be a lot more flexible
117   You can now specify all options on a "filter" level.
118 * WARNING*
119   Old syntax NOT supported (and will not upgrade) but hopefully not to many will be affected.
120 * Added support for ipv6 allowed hosts validation
121
1222012-05-21 MickeM
123 * Sofia Born (My second daughter)
124
1252012-05-19 MickeM
126 * Fixed issue with checking rate counters (such as disk idle %)
127 * Fixed (I think) the negative denominator counter issue
128 * Fixed so indexes are only converted on \\123\\ and not also \\123 hello world\\ which caused some issues with numeric counter variables.
129
1302012-05-13 MickeM
131 * Take 2 on fixing the empty command parsing.
132 * Refactored (same as with server) client internals to be more uniform (Again, next up are NSClient Server and NRDP)
133
1342012-05-07 MickeM
135 * Fixed parsin of empty sections (CheckExternalScripts) - #524
136 * Fixed so duplicate command are not created when both sections and shorthands are used (CheckExternalScripts)
137 * Added a test to see if I can resolve the negative denominator issue.
138
1392012-05-06 MickeM
140 * Refactored server internals to be more uniform (This is the first step to adding more protocols like NRDP and unittests for check_nt)
141 
1422012-05-03 MickeM
143 * Fixed issue with parsing size-type (usch as MinCritFree=10G)
144
1452012-05-01 MickeM
146 * Release 0.4.0
147
1482012-04-26 MickeM
149 * Fixed issue with check-cpu sampling interval being 10seconds and not 1/10 second.
150
1512012-04-23 MickeM
152 * Fixed issue with missing performance data via NSCA
153 * Fixed issue with hostnames beeing lowercase
154
1552012-04-28 MickeM
156 * Changed how files are generated to reduce number of projcts
157
1582012-04-12 MickeM
159 * Fixed so keys with parents are advanced (in favour of the parent)
160 * Fixed so NSClientServer uses the correct default path for its parents (ie. /settings/default)
161
1622012-04-10 MickeM
163 * Fixed crash in new logger
164 * Fixed a few command line parsing issues (most notably test and --log-to-file)
165 * Changed default location for process dumps to be a non-elevated location (under common-appdata).
166 * Fixed (ish) check_nt issue (check_nt really really is broken... this will probably cause problems with people sending large payloads though)
167 
1682012-04-06 MickeM
169 * Easter break!
170
1712012-04-04 MickeM
172 * Fixed issue with empty filters in active eventlog
173
1742012-04-04 MickeM
175 * Resolved some issues with loggingin default set to debug.
176 * Fixed so --debug actually works
177 * Added --log-to-file and set "nscp test" to not log to file.
178 * Fixed typo related to allow arguments option
179 * Added levels to comment for log level in config.
180
1812012-04-01 MickeM
182 * Fixed issue with default port for NSCA/NRPE/* clients
183
1842012-03-31 MickeM
185 * Rewritten log implementation from ground up without using crappy boost library which requires DNS :(
186
1872012-03-27 MickeM
188 * Removed some annoying "error" messages
189 * Tweaked FileLogger a bit to be more "modern"
190 * Changed so file-name expansion is more efficient
191 * Changed so modules are defaulted to 0 in config.
192 * Log levels are case sensitive
193 * Fixed so log level is not read from ini file
194 * improved plugin processing from ini files
195
1962012-03-26 MickeM
197 * Fixed perfoamcen data parsing issue
198 * Fixed external scripts performance data issue
199 * Fixed boolen flag handling in settings (default generated as false regardless of actual state)
200 * Fixed so "advanced properties" are not generated with --update-defalts
201 * Added some "advanced properties" here and there
202 * Fixed path handling for object
203
2042012-03-25 MickeM
205 * Added last few features to the GraphitePlugin (which is now usable)
206 * Tweaked nscp settings command line syntax a bit to be more flexible and usable...
207
2082012-03-20 MickeM
209 * Fixed alias/service name for real-time event log filters
210 * Added smtp/syslog and graphite clients to installer
211 * Fixed so eventlog wont crahs on invalid messages
212
2132012-03-19 MickeM
214 * Fixed issue in installer and "Make file writable" by everyone now uses Users SID.
215 * Fixed issue in installer and "Default plugins" now correctly sets them to 1.
216 
2172012-03-18 MickeM
218 * Removed dependency on tcpip from the service and the installer
219 * Added new command to EventLog CheckEventlogCached which checks result caught by the real-time process.
220   CheckEventLogCACHE warn=gt:1 crit=gt:5
221   Requires a configured real-time checker to work.
222 * Added a series of keywords to EventLog check to facilitate better checking
223 * Added a set of aliases to make EventLog behave more like Wdinwos Eventlog viewer.
224 * Added a lot of unit test cases to the Eventlog checker.
225 * Fixed issue with default schedule beeing added as an item and not a template
226
2272012-03-11 MickeM
228 * Fixed a lot of issues with the installer
229 * Added so the installer can generate a config file for you
230 * Fixed so installer uses the correct path for password and allowed hosts
231
2322012-03-08 MickeM
233 * Major improvments to the WMI command line syntax.
234   You can now: list namespaces, list classes, list instances as well as run queries.
235   Means you can use NSCLient++ as a almost full featured WMI command line client.
236   For details use: nscp wmi --help
237 * Added sample python WMI script to list all classes in all namespaces
238 * Fixed so if python scripts does not expose init and shutdown they will not be called
239 * Added new option --simple to CheckWMI wmi commands to return a simple list without formatting.
240       
2412012-03-06 MickeM
242 * Added "back" WMI Query command line exec like so:
243    nscp wmi --exec wmi-query
244        CheckWMI Command line syntax:
245        Allowed options:
246          -h [ --help ]                        Show help screen
247          -w [ --wmi-query ] arg               Query to execute
248          -l [ --limit ] arg                   Limit number of rows
249          -n [ --namespace ] arg (=root\cimv2) Namespace
250        nscp wmi --exec wmi-query --query="Select * from Win32_Process" --limit 2
251
2522012-03-05 MickeM
253 * Fixed so time/date comparissons are actually done in UTC (fixed for real this time!)
254 * Added a series of testcases for CheckFiles (test_w32_file)
255
2562012-03-04 MickeM
257 * Added new dot-net API (Which does not require any strange wrappers)
258 * Added brand new sample C# plugin
259 * Fixed issue with python unit script loading usig the wrong default options
260
2612012-02-21 MickeM
262 * Added new module CauseCrash which has a single command CrashClient to allow the service to be crashed remotly
263   *WARNING* Dont use this command, it is for debugging and testing purpouses only
264 * Fixed issue with BreakPad which was disabled
265 * Fixed some unix issues (sorry but hudson's stopped emailing me again:( )
266 * Fixed service --install (now sets correct options)
267 * Fixed service --install (now sets description correctly)
268 * Fixed log level defined in protobuf (now same as rest of the system)
269 * Fixed some issues with the check_nscp command
270
2712012-02-20 MickeM
272 * Fixed NRPE buffer issue
273 * Added test case for 65K NRPE buffer length as well as 1Mb
274 * Added support for not regexp as operator to filters (Eventlog) (#463)
275 * Added support for computer as filter keyword and format keyword in EventLog (#442)
276   "filter=computer = 'foo'" syntax=%computer%
277 * Improved messages rendering of eventlog messages a bit
278
2792012-02-19 MickeM
280 * Added new unit context on command line for running simple unit test cases:
281   nscp unit --language python --script test_nsca
282 * Added dependency on Tcpip
283 * Dropped OS bit-match requirement so now you can install any version on x64 plattform.
284 * Added so you can specify multiple counters for CheckCounter and poll them all in one go (#387)
285 * Added test cases (a bit flaky) for counters.
286 * Added ${host} and ${domain} to hostname settings option which might be used to construct your own hostname. (#428)
287   Not 100% sure about domain as on my box the "hostname" is only a name ie. has no domain...
288
2892012-02-18 MickeM
290 * Fixed so too long log messages are trunacated instead of discarded
291 * Added option to truncate logfile if to large (#358)
292   [/settings/file logger]
293   max size = 1000
294 * Added keyword to reload (settings) to reload settings store (ie. flushing the cache) (#249).
295 * Added ability to load all files in a given directory (#366)
296
2972012-02-17 MickeM
298 * Tweaked a bit in regards to ExternalScripts so it works better and handles errors better (#367)
299 * Fixed default report mode in 0.4.0 (#290)
300 * Made NSCA Client handle timestamps like send_nsca (ie. ignoring local time)
301
3022012-02-16 MickeM
303 * Replaced command reader with object handler
304 * Added support for running commands as other users (#131)
305 * Improved pseed oflarge buffers for external commands (ie. when you return very large outputs) (#481)
306 * Added limit to test interface message length (when messages are to long only first 4k are displayed)
307
3082012-02-15 MickeM
309 * Fixed missing icon on nscp.exe
310 * Fixed missing version info on nscp.exe (#294)
311
3122012-02-13 MickeM - 0.4.0 RC2
313 * Fixed installer issue (could not start service)
314
3152012-02-12 MickeM
316 * Added support for specifying targets on schedules:
317   [/settings/scheduler/schedules/foo]
318   target = foo-host
319   Will re-target the NSCA (or whatever you use) towards a given target.
320 * Fixed is schedule manager uses new standard object reader
321 * Fixed some issues with reading schedule
322
3232012-02-05 MickeM
324 * Added test cases for targets to NRPE
325 * Added test cases for targets to NSCA
326 * Added test cases for lenghts to NSCA
327 * Changed to python API sleep uses milliseconds (not seconds as before)
328   Makes NSCA unittests go much faster (as I can wait much less)
329 * Fixed a lot of bugs related to target handling.
330 * implemented target refactoring on all Client modules.
331
3322012-02-05 MickeM
333 * Refactored the targets concept internally to be simpler to use (less code)
334 * Fixed issue with reloading plugins
335 * Fixed target handling in NRPE Client, will add NSCA client tomorrow...
336
3372012-02-02 MickeM
338 * Implemented full API for LuaScript
339        Now "everything" (ish) works including channels, exec and query (via moderna API)
340        Still no protocol buffer support but not sure how to play that yet so will not be avalible in 0.4.0.
341
3422012-02-01 MickeM
343 * Implemented full settings API for LuaScript (next RC will have to wait till next weekend)
344
3452012-01-31 MickeM1
346 * Fixed issue with parsing "invalid external commands".
347   If parsing falies it will notify you but use the legacy split string method instead.
348 * LuaScript module is now modern (ie. works with 0.4.0)
349   Should be 99% compatbile (function needs to be defined before registration) but all old scripts should work now (I think)
350 * LuaScript module has been modernized
351   The new API is very similar to Python
352   Concepts are working but not all commands have beenh implementes (and no testcases either)
353   The old API will still work
354 * Fixed issue with
355
3562012-01-27 MickeM
357 * Changed CheckCounter format option to take a coma separated list of keyword from the below list:
358         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.
359         1000: Multiply the actual value by 1000.
360         noscale: Do not apply the default scaling factor.
361         So format=nocap100,noscale would combine the two aspects above.
362
3632012-01-26 MickeM
364 * Fixed issue with parsing multiple performance data items (internally)
365 * Added option to CheckCounter format=nocap100 to not cap counters at 100% (for multi cpu machines)
366
3672012-01-22 MickeM
368 * Fixed help when specifying invalid options on command line
369 * Eradicated a potential memoryleakin the NSCA encryption library
370
3712012-01-22 MickeM
372 * Fixed so NSCAClient parses address correctly
373 * setings exception is now derived from exception meaning it will show up more with details (instead of unknown)
374 * Added API for handling log level (replaces older debug flag)
375 * Added options for settings debug level
376 * Changed to --settings is a global argument (meaning you canuse it in any mode)
377 * Added arguments parsing to test: so you can use global arguments such as --log and --settings.
378 * Removed memory leak in settings parsing interface
379
3802012-01-20 MickeM
381 * Fixed a race condition in the python unit test script
382
3832012-01-19 MickeM
384 * Fixed some NSCA encryption bugs (of the random nature)
385   These are probably inherited in 0.3.x as well so if you have issues you might wannan try to upgrade
386
3872012-01-18 MickeM
388 * Improved unit tests so they can be run all in sequence
389 * Fixed various bugs in the unit tests
390 * Improved the syntax and output of running unit tests
391 * Refactored unit tests to be slightly nicer
392 * Fixed error state propagation
393 * Added unit tests to cmake (ie make test will now run unit tests)
394 
3952012-01-16 MickeM
396 * Added option to both execute and query item (with a reload in the middle for installing/running unittests)
397 * Fixed issue in python unittest framework to handle "unload" (ie. reload)
398 * Fixed NRPE certificate path lookup issue
399 * Fixed some minor issues here and there
400 * Fixed issue in loader to allow loading dummy as dummy (and not only dummy://)
401
4022012-01-15 MickeM
403 * Fixed installer "back" issues
404 * Fixed payload truncation for NRPe and NSCA
405 * Improved the installer target tagging functions in the python installer
406
4072012-01-13 MickeM
408 * Fixed some issues with the trac configuration generator
409
4102012-01-12 MickeM
411 * Fixed issue with --submit command line option erroneusly reported missing optien (when it is not supported)
412 * Added settings store "dummy" for people who dont want to store settings (long term use is for unit tests)
413 * Added new option to NSCClient --source-host for settings the host name of the caller (your machine).
414 * Change so enryption algorithms are case insensitevie (ie. 3DES and 3des both work)
415
4162012-01-09 MickeM
417 * Fixed hostname issue in NSCAClient (hostname = auto now auto detects hostname
418 * Fixed some minor issues in NSCA and CLI api
419 * Added CLI based (exec) APIs to NSCA unit tests (now 697 test for NSCA)
420
4212012-01-08 MickeM
422 * Fixed some issues in the NRPE decoder
423 * Added support for forwarding queries (ie. xxx_forward) mainly usefull for python(?) scripts where we can now handconstruct messages for delivery
424 * Added NRPE unit tests (52 of them)
425
4262011-12-08 MickeM
427 * Fixed so non custom installers gets configuration UI (meaning you can configure it)
428 * Added WarnCount/CritCount exact bounds to CheckProcState so:
429   CheckProcState CritCount=gt:50 WarnCount=ne:45 svchost.exe=started
430 * Added embryo for Graphite plugin (https://launchpad.net/graphite)
431 * Added WarnHungCount/CritHungCount exact bounds to CheckProcState so:
432   CheckProcState CritHungCount=gt:50 WarnHungCount=ne:45 svchost.exe
433 * Changed so Count takes presedence meaning if you specify: CheckProcState CritCount=gt:50 svchost.exe=stopped it will be treated
434   as (CheckProcState CritCount=gt:50 svchost.exe) hence the stopped/started is meaningless if you specify a count.
435 * Fixed so perfoamnce data parsin handled non escaped \:es (ie. using stupiud parsing)
436 * Added a lot of unittests to CheckProcState to verify that many features work properly.
437    nscp python --script test_w32_system.py --install
438    nscp client --query py_unittest
439    ...
440    OK: 121 test(s) successfull|
441
4422011-12-06 MickeM
443 * Fixed so command line client wont try to run commands in modules which does not support it.
444 * Changed to when no settings is found a default one is created
445 * Removed old "location" key from switch context and changed so it use the new number scheme
446 
4472011-12-06 MickeM
448 * Added python unittests to make sure threading is working properly
449 * Simpliefied and cleaned up the command line syntax a bit
450 * Now --exec is the default option for client mode (but it will notify you it thought so)
451 * Added "command-less" execution to PythonScript so you can do --exec --script ... (without having --exec run)
452 * Fixed an issue related to python threading
453 * Fixed Scheduler header propgation
454 * Fixed so all Client module use "complex" API meaning headers are propagated correctly
455 * Fixed scheduler alias issue
456
4572011-11-27 MickeM
458 * Fixed some NSCA issues (reading from new conf)
459 * Fixed some linux build issues (related to refactoring)
460
4612011-11-27 MickeM
462 * Major refactoring in the command line interface
463 * Added support for alias to many common module (command line)
464   so: nscp eventlog (is the same as nscp client --module CheckEventLog)
465 * Fixed issue with CheckEventLog message rendering and eventid
466 * Refactored all Client modules to all support command line, commands and submissions.
467 * Added uniform handling of "everything" to all Client plugins
468 * Fixed SyslogClient to work "as advertised" (ie. all hardcoded stuff is removed)
469 * Fixed utf8 issue with text strings (now have a working concept which needs to be implementd "all over the place")
470 * Many issues and fixes related to clients.
471 * Fixed so CheckEvent log (insert) works much better (added new options)
472
4732011-11-14 MickeM
474 * Fixed issue with installer not saving nsc.ini when upgrading from 0.3.9
475
4762011-11-09 MickeM
477 * Added initial SyslogClient module to allow syuslog forwarding (of passive checks ish)
478   Still requires template support and configuration options (mainly PoC right now).
479 * Added initial SMTPClient to allow sending messages via SMTP.
480   Still requires template support and configuration options (mainly PoC right now).
481 * Fixed unicode log issue (still not sure message format is correct)
482 * Renamed Message to log in internal wrapper API
483 * Fixed issue in settings old (regarding readin new keys, not 100% supported yet)
484
4852011-11-06 MickeM
486 * Had some "vacation" so no updates for a while
487 * A lot of fixes to the NSCA parts (now 100% compatible with old settings file)
488 * Added option to read sections (to plugin API)
489 * Fixed issues in settings wrapper so child paths are also mapped (not just keys)
490 * Many fixes related to NRPE/NSCA/*
491 * "RC quality" expect RC within the week (only need to fix default config file somehow)
492 * Upgraded all unit test to use the simplified API
493 * Fixed a some unicode issues in PythonScript module
494 * Improved threading a bit
495 * Fixed CheckSystem (service check)
496 * Fixed duplicate keys (when replacing) in old settings client
497 
4982011-10-21 MickeM
499 * Some more threading issues in Python (works perfectly(?) now)
500 * Refactored the tests a bit making test suites runable from a central hub
501 * Fixed soo everything builds and works on Linux
502
5032011-10-19 MickeM
504 * Fixed some threadding issues in PythonScript
505 * Still working on refactoring the unittest helpers a bit
506
5072011-10-16 MickeM
508 * Fixed issue with loading zero-byte UTF-8 config files
509 * Fixed some issues with settings subsystem (debug log as well as createing instances for --generate)
510 * Added ability to set event log to real-time
511 * Added support for multiple eventlogs in real-time
512
5132011-10-09 MickeM
514 * Real-time CheckEventLog working (still only for one, and I think application log)
515 * Added python tests to validfate that Real-time eventlog is working.
516 * Fixed som defects here and there (now builds on Linux again)
517 * Fixed so it builds in "debug mode"
518 * Fixed issue in grammar which caused infiniate loop in som cases
519 * Fixed so error rendering in eventlog works with "infininate number of argumnets"
520 * Added support for targeting execs (in API)
521 * Fixed some invalid return messages
522 * Streamlined submissions wrappers to be more inline with "other wrappers"
523 * Fixed a myrriad of minor python script bugs
524 * Added sleep command (which sometimes causes issues so use with care)
525
5262011-10-06 MickeM
527 * Initial command for createing eventlog records
528 * Initial real-time eventlog checker
529 * Fixed obscure c-tor issue with filters
530 
5312011-09-27 MickeM
532 * Fixed many many issues all over the place as I tried to make things working for my pressention at nwc.
533 
5342011-09-24 MickeM
535 * Started on NSCA unit-tests in python
536 * Refactored channel API a bit to better suite NSCA (and how it actually works)
537 * Changed how headers are created (nothice this might have broken NSCP stuff, havent checked)
538 * Created helper lib for Python Unittests
539
5402011-09-21 MickeM
541 * Renamed NSCAAgent to NSCAClient (to be consistant)
542 * Created a NSCAServer module (again for consistancy)
543   This will be the defenition of the new "channels" so keep a lookout in the next few weeks
544
5452011-09-18 MickeM
546 * Implemented first version of DistributedClient and DistributedSServer which work so now we have a proper message based transport.
547   Still a lot of rough edges such as cookie and authentication support is hard coded.
548   We also need a proper two way distributed server as well as implement "all" payload types.
549
5502011-09-11 MickeM
551 * Massive overhaul here and there
552 * Added new helper for handling "targets" (so they are the same)
553 * Extracted "command line handling" so all clients will work the same
554 * Extracted command processor to a common class to make all clients work the same
555 * Added initial zeromq stuff (nothing usable)
556 * Added an implementation layer for NSCP protocol parsing (so zeromq stuff can reuse it)
557 
5582011-09-05 MickeM
559 * Cleaned up some dependencies (on config.h)
560 * Fixed invalid data in config.h.in
561
5622011-09-03 MickeM (0.4.0.93)
563 * Created a protcol buffer free version of the python test script
564 * Upgraded to new version of simpleinin class
565 * Added new component for python protocol buffer library to installer
566 * Added installer for unittests to test.py run like so:
567   nscp --client --module PythonScript --command execute-and-load-python --script test.py
568 * Fixed so settings are created if not existing
569 * Fixed so plugins are not loaded in client mode
570 * Fixed so core is booting correctly in client mode
571 * Added new option --settings --switch <context> to allow switching context without migrating data
572 * Fixed unicode error on linux (settings file)
573
5742011-09-02 MickeM
575 * Fixed several issues in PythonScript
576 * PythonScript supports loading multiple instances as well as scripts
577 * Added some basic channel test to test.py script (the idea is that this will become "unit tests" eventually)
578
5792011-09-01 MickeM
580 * Implemented registration of channels (so no longer faked)
581 * Added settings key to change the NSCAAgent channel name
582 * Addded proper channel handling to PythonScript module
583 * Improved error handling in channels API
584 * Rewrote wrapper API to use templates and classes instead of macros (ish)
585 * Improved the internal plugin wrapping API to support multiple plugin load
586 * Fixed so PythonScript module supports multiple plugin load (with new argument for plugin_id)
587 * Added API for registrying routers and handling routing (almost there now)
588
5892011-09-01 MickeM
590 * Fixed issue with messages due to new API
591
5922011-08-31 MickeM
593 * Added support for loading same plugin twice (in different sessions)
594 * Added preliminary support for routing passive checks
595
5962011-08-30 MickeM
597 * Fixed uncaught exception in test client
598 * Added protocol buffers to source (needs to be added to installer as well)
599 * Added example python protocol buffer handler
600 * Added lib folder to python scripting (and automagicall load)
601
6022011-08-29 MickeM
603 * Fixed some *nix build issues...
604
6052011-08-25 MickeM
606 * Fixed some issues in the NSCPClient
607 * Fixed debug log issue in core
608 * Added support for "pushing" passive checks via NSCP
609
6102011-08-24 MickeM
611 * Sever refactoring of the new API (there is now two pb files ipc for NSCP protocol and plugin for plugin communication)
612 * Cleaned up API helper functions
613 * Fixed client argument for "client mode" to allow arbitrary arguments
614 * Cleaned up the argument processor code now requires "mode" to be first argument
615
6162011-08-23 MickeM
617 * Fixed issue in the NSCP server
618
6192011-08-22 MickeM
620 * Added initial NSCP protocol implenmentation (very vrude and not really usefull yet)
621 * Fixed so it builds on linux
622 * Fixed so automagic plugin renaming add lib<LIB name> on *nix.
623 * Fixed so it works on linux (fixed issues with timeout)
624
6252011-08-16 MickeM (0.4.0.85)
626 * Added support for remote WMI checking using target/username/password options like so:
627    CheckWMI target=192.168.0.123 user=\\foobar password=foobar namespace=root\\cimv2 MaxCrit=3 MinWarn=1 "Query:load=Select * from win32_Processor"
628 * Added support for looking up targets to CheckWMI
629   CheckWMI target=my_test_xp MaxCrit=3 MinWarn=1 "Query:load=Select * from win32_Processor"
630   Where <target> is defined under /settings/targets as well as /settings/targets/my_test_xp
631
6322011-08-15 MickeM
633 * Readded allowed hosts function
634 * Moved default socket options to /settings/default/socket
635 * Added more default socket options
636 * Added support for target in default plugin helpers
637 * Added remote WMI commands
638 * Added target section under /settings/targets
639
6402011-08-14 MickeM
641 * NRPEClient now works on linux
642 * Added "portable" settings map file to installer (so it will work with old installed versions)
643 * Rename Function to Registry in PythonScript API as well as some other function renames
644 * Started to clean up the helpers around the API
645 * Added support for execute to PythonScripts to execute commands
646 * BUG: just realised that static plugin instances prevent multiple instances :)
647   Will fix but not now as it is not important (for me)...
648 * Added initial support for channels to PythonScript
649   Core still lacks support for subscribing to arbitrary channels
650
6512011-08-13 MickeM
652 * Added support for command line execution to PythonScript module
653 * Readded support for specifying module on command line with --client mode
654 * Fixed some issues with the NRPEClient module
655 
6562011-08-12 MickeM
657  * Finnished (rough) adding back command line exec (with modern API)
658  * Fixed so installer uses correct name for dll:s (now Server not Listsener)
659 
6602011-08-11 MickeM
661  * Started to add back command line exec (with modern API)
662 
6632011-08-10 MickeM
664 * Fixed linus issues and defect
665 * Fixed some issues in the test python script regarding how prefix is handled
666 * Fixed PythonScript module to actually use the correct function map :)
667 * Fixed so it builds and runs on linux (but parser had issues so disabled som grammar rules whichneeds to be enabled again)
668 * Added a lot of freatures and cleand up the PythonScript module
669 * Started to merge som features from PythonScript back to Lua script
670 
6712011-08-07 MickeM
672 * Fixed a lot of issues with PythonScript module adding suport for alias and "raw command processing"
673 * Fixed issue with loading plugins and aliases as well as duplicate plugin detection
674 
6752011-08-01 MickeM
676 * Added new module: PythonScript
677
6782011-07-25 MickeM
679 * merged in all 0.3.9 changes
680 * 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)
681 * streamlined checkeventlog toi be same as "the other" where filters as well as dropped support of "old" syntax.
682
6832010-02-05
684 * Multiple fixes all over the place
685 * Availible modules: CheckExternalScripts, CheckHelpers, FileLogger, NRPEClient, NRPEServer, Scheduler
686 ! Performance data is still missing (will be for a while yet)
687 
6882010-01-31 MickeM
689 + Added google protocol buffers
690 ! Changed internal handle command logic (now uses protocol buffers)
691 - Removed (temporarily) performance data (due to protocol buffer changes)
692
6932010-01-19 MickeM
694 + Rename NRPEListener to NRPEServer
695 + Added NRPEServer to CMake build
696
6972010-01-xx MickeM
698 + Added Scheduling module
699 
7002009-10-11 MickeM
701 + Added argument support to NRPE Client
702   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.
703
7042009-09-20 MickeM
705 * Fixed alias in CheckWMI (now works)
706 + Added columnSyntax to CheckWMI to allow formating of returned data (default is %column%=%value%)
707 + Added columnSeparator to CheckWMI to allow formating of returned data (default is ", ")
708
7092009-09-13 MickeM
710 * Fixed some more issues with the installer should not "work" on Windows 2008 as well as slightly simpler to configure.
711
7122009-09-06 MickeM
713 + Added new option to [NSCA Agent] string_length=<size> of the NSCA_MAX_PLUGINOUTPUT_LENGTH option on the NSCA server.
714 * Readded all the "installer configuration" crap which I accidentaly removed when I fixed the installer... *sigh*
715
7162009-08-30 MickeM
717 + Added -c and -d command line options like so:
718   NSClient++ -c CheckFile2 path=c:\test pattern=*.txt MaxCrit=1 filter+written=gt:2h
719   NSClient++ -c <command> <argument 1> <argument 2> ...
720   -d Is the same thing but with debug enabled.
721 + Added uninstall of old client (sort of broken but works)
722
7232009-08-29 MickeM
724 * Fixed issue with CheckFile (directory)
725 * Rewrote the CA:s in the installer to work "better" (hopefully) in general it should be have more like a propper installer.
726
7272009-07-18 MickeM
728 * Fixed issue with no loggers avalible and "memory leak"
729 * Added "firewall exception" to installer
730 * Fixed an issue with the socket data buffer
731 * Added new option to NSC.ini [NSCA] socket_timeout=30 (timeout in seconds when reading from NSCA sockets)
732 * Fixed issue with NSCA socket.
733
7342009-07-05 MickeM
735 * Fixed issue with CheckExternalScripts and script_dir: not adding the commands properly.
736 * Fixed issue with CheckExternalScripts and script_dir: not using relative paths (#310).
737
7382009-06-20 MickeM
739 * Fixed issue with CheckDisk and paths not working out properly
740
7412009-06-10 MickeM - 0.3.6
742 ! Release the new version
743
7442009-06-10 MickeM
745 * Fixed so CheckEventLog only reports invalid buffersizes once
746
7472009-06-07 MickeM
748 * Fixed issue with CheckFileAge incorrectly working in recursive mode.
749 * Finalized the installer
750
7512009-05-22 MickeM
752 * Fixed time_delay option in NSCA config (now uses the correct base was 1000 times to large before)
753
7542009-05-21 MickeM
755 * Fixed issue with eventlog parsing and 64 bit machines (descriptions option)
756 * Fixed issue with "modern windows" and installing the service (should not have the correct privlaiges)
757
7582009-05-17 MickeM
759 * Changed default buffer size for process enumeration (64K now instead of 1K should I hope work better on 64bit OS:es)
760
7612009-05-10 MickeM
762 + Added write support for modules to installer
763
7642009-05-03 MickeM
765 * Fixed another quite serious memory leak!
766   And this was a hard one, took me hours and hours and hours (read weeks) to track down, but here we are!
767 * A lot of other fixes as I have been through much of the code looking for the memmory leak above.
768
7692009-03-30 MickeM
770 + Added new option to NSCA module for specifying report options.
771        report=all (report=warning,critical) etc etc to specify which kind of return datat to get default value is all.
772 + Added so password and host ate stored in the installer (if changed)
773
7742009-03-29 MickeM
775 * Fixed a lot of issues with the installer and added a start on exit (and donate) on the finnish dialog.
776
7772009-03-15 MickeM
778 * New service name (displayname)
779 * New service description
780
7812009-03-14 MickeM
782 * Rebuilt installer UI (still missing write config function)
783 * Added debug entry to log filename used by debug log metrics.
784 * Fixed so alias will not require the allow_nasty_metachars option set under external sripts module.
785
7862009-03-02 MickeM
787 * Added catch handlers and error logging to NSCA Thread
788 * Fixed issue with CheckProcState and administrator login!
789 + Added debug module to installer
790 + Added option max-dir-depth to CheckFile and CheckFile2 like so:
791   CheckFile "file=c:\test\*.txt" filter-size=<24g "syntax=%filename%: %size%" MaxCrit=1 max-dir-depth=0
792   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)
793 * Fixed issue with finding sub-folders and *.txt now it will always look for subfolders if they are present
794
7952009-02-26 MickeM
796 * Fixed issue with debug logging (not it can be disabled again)
797
7982009-02-23 MickeM
799 * Fixed build issues so NSCA now has all cryuptos avalible (verify with nsclient++ /about)
800
8012009-02-11 MickeM
802 * Fixed so that performance data is always(?) renderd regardless of if we have bounds or not.
803   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).
804
8052009-02-06 MickeM
806 * Fixed so that arguments ($ARG1$) are parsed properly for alias in CheckExternalScript
807
8082009-02-05 MickeM
809 * Fixed so the error message for "to small eventlog buffer" specifies the required size.
810 * Changed so that event log buffer problems are "ignored in the result" (still logged in the error log).
811
8122009-02-03 MickeM
813 * Added support for changing the time when using NSCA with the time_delay in NSC.ini
814   time_delay=+4h or time_delay=-1h etc should can now be used when system time not the same as NSCA time.
815
8162009-01-30 MickeM
817 * Added support for changing name and description of service from the /install command line
818   NSClient++ /install [gui] [start] [service name] [description]
819   NSClient++ /uninstall [gui] [stop] [service name]
820   NSClient++ /start [gui] [service name]
821   NSClient++ /stop [gui] [service name]
822
8232009-01-28 MickeM
824 * Slightly improved error handling around socket creation
825 * Fixed some pretty minor issues with the SysTray module (uncreation as well as new boost build).
826
8272009-01-25 MickeM
828 * Fixed issue with checkVersion (#242)
829 * Fixed spelling error (#244)
830 * Fixed crash in CheckFile when a file was locked in exclusive mode (#254)
831 + Improved error handling in all CheckDIsk/CheckFile checks. Should report errors better now.
832 * Updated the config file a bit: remving "beta" from a bunch of modules no longer in beta.  (#270)
833 + Added more filter operatos to all numeric filters so they accept eq:, ne:, gt:, lt: in addition to =, >, <, <>, !, !=, in: (#269)
834
8352009-01-23 MickeM
836 + Added better support for numerical hit matching in the eventlog module. You can now use exact and detailed matching.
837    You can now use the following syntax:
838    CheckEventLog ... warn=ne:1 crit=eq:0 ...
839    To generate a warning if the number of hits are != 1 and a critical if the number of hits are = 0.
840    Other operators avalible are: =, >, <, <>, !, !=, eq:, ne:, gt:, lt:
841
8422009-01-23 MickeM
843 * Cleaned up the checkProcState code and it is not a lot better.
844   - Removed race conditions (crashes?) as well as improved perfoamnce and better error handling.
845 + Added new option 16bit to checkProcState. When set checkProcState will enumerate all 16 bit processes found running under NTVDM.
846 * Fixed NRPE version reported "incorrectly". (Version is now takedn from NSClient++)
847
8482009-01-21 MickeM
849 + Added experimental 16 bit process support to checkProcState
850
8512009-01-20 MickeM
852 * Fixed issue with CheckWMI when no filter was specified.
853
8542009-01-17 MickeM
855 + Added new command line option pdhlookup (to CheckSystem) to lookup index from names.
856   Probably not usefull to anyone but me :) Usage: "nsclient++ -noboot CheckSystem pdhlookup Antal bindningsreferenser"
857 * 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)
858 * removed debug output from -noboot
859 + Added new command line pdhmatch option to use pattern matching on PDH queries
860   Usage: nsclient++ -noboot CheckSystem pdhmatch \Process(*)\Antal trådar
861 * Improved error reporting in the PDH subsystem.
862 + Added new module A_DebugLogMetrics.dll which can be used to generate debug info.
863   Enable the module and a file called process_info.csv will be created under %APP_DATA%/nsclient++/process_info.csv which contains metrics.
864 * Fixed handle leak in CheckExternalProcess and NRPEListsner (executing commands).
865
8662009-01-13 MickeM
867 * Fixed issue with 64-bit installer (now installs under Program Files (and not x86)
868 + Brand new build enviornment based upon boost build!!!
869   Use batch file to build (release-build.bat or modify to make your own)
870 * Modified /about so it now shows a lot of usefull(?) info.
871
8722008-11-13 MickeM
873 + Added truncate option to checkServiceState
874
8752008-09-24 MickeM
876 * Imroved the installer (now auto-updates the version when built)
877
8782008-09-24 MickeM - 0.3.5
879 * Fixed issue with CheckServiceState and CheckAll (it now works)
880 + Added new check: CheckFile2 which has the same syntax as the event log filtering.
881    Usage: CheckFile2 file=c:\test\*.txt filter=in filter+creation=<24h "syntax=%filename% was created %creation%" MinWarn=0 MinCrit=0
882
8832008-09-18 MickeM - 0.3.4
884 * Changed so "missing services" are treated as stopped.
885    CheckServiceState missing=stopped ShowAll
886        OK: missing: not found
887 * Fixed issue with : in service name.
888 + Added some "reasonable default cheks" under [External Alias] for the CheckExternalScripts.dll module.
889
8902008-09-17 MickeM - 0.3.4 RC-6
891 * Added option [EventLog] lookup_names=0 to disable the evetlog name lookup (default is on)
892
8932008-09-17 MickeM
894 * Fixed issue on all filters so == takes the "usual" 2 equalsigns (old still works).
895 * Added so tray icon can get "propper" name from core for "description".
896 * Added lookup of "long" eventlog names (you can now use the alias used in the event viewer)
897
8982008-09-16 MickeM - 0.3.4 RC-5
899 * Fixed an issue with the session launcher
900
9012008-09-15 MickeM
902 * Fixed so NSCLient++ can load with "broken plugins" (before it printed an error and exited)
903 + Added a very basic simple .net plugin (and a wrapper)
904
9052008-09-14 MickeM - 0.3.4 RC-4
906 * Fixed an issue with the session launcher
907 * Fixed an issue with the uninstaller (should not "fail" when problems uninstalling)
908
9092008-09-14 MickeM - 0.3.4 RC-4
910 * Fixed issue with OS detection (again)
911 * Fixed issue with plugin unloading (again)
912 * Fixed issue with SSL socket not unloading properly
913 * Fixed issue with "login" and "no session" (should work now I hope) (#222)
914 * Changed so all projects build under "tmp" instead of under respecitve directory. (simpler to remove all "tmp" files now)
915
9162008-09-12 MickeM
917 * Thanks to everyone who listened in on my session at NETWAYS Nagios Konferenz 2008!
918
9192008-09-09 MickeM - 0.3.4 RC-3
920 * Improved error handling for the WMI checks.
921 + CheckWMI: Added support for extracting numbers from strings
922 * Fixed performance data for "large float values" to be rendered without scientific notation. (#151)
923 * Fixed issue with & and some commands via check_nt.
924 * Fixed a crash on exit (which I added in Rc1).
925 * Added 10 "bytes" the CPU buffer: (#174)
926 + Added new option to [EventLog] section buffer_size to change the size of the buffer used when scanning the evenlotg (defaults to 64k).
927 * Fixed error handling in CHeckEventLog so errors are repoorted properly (#184)
928
9292008-09-08 MickeM - 0.3.4 RC-2
930 * Fixed issue in windows 2008 with system tray (shared_session).
931 * Fixed installer issue (should run (i hope) service installer on install now on 64 bit os)
932 * Fixed issue with unloading plugins and log (causing "timeouts" when exiting some times)
933
9342008-09-07 MickeM
935 + Added sample powershell script as well as a workaround for making them run.
936 * Fixed an issue making powershell scripts (and possibly others) not timeout properly.
937 + Added upgrade support to the installer (still need to add support for keeping .ini file so be ware)
938
9392008-09-06 MickeM
940 * Improved error reporting in the eventlogchecker
941 * *BREAKING CHANGE* filter=new is now the default so unless you use the new filtering you need to specify filter=old instead!
942   I Recomend everyone to stop using the "old" filtering.
943
9442008-09-04 MickeM
945 * Fixed issues with new service stuff on NT4 and W2K (should work fine now)
946 + Added some DebugOutput to service handling features so if you experience tropubel try using sysinternals DebugView too se logging before the agent startes.
947 * Fixed a memory leak in the error formating code
948
9492008-08-24 MickeM
950 * Changed NSCA "general problem" error message to be more descriptive.
951 * Fixed issue with CheckCPU not returning a valid performance unit (%) see issue #219 for details.
952
9532008-08-16 MickeM
954 * *WARNING* THIS IS VERY VERY UNSTABEL (possibly)
955 * *WARNING* A lot of new untested code here so dont run in production enviornments :)
956 + Added shared session so system tray can communicate with master
957 + Added new system tray handlig (via TS so FUS should work with it)
958 + Added new option [System] / shared_session=0 (or 1) to enable / disable the new shared memory framework (it is for now disabled by default)
959   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.
960
9612008-08-09 MickeM
962 + Added ChangeWindowMessageFilter so systray should maybe work on vista and beyond!
963
9642008-07-28 MickeM
965 * Improved the error handling for the check proc state.
966 * Removed all (I think) asserts replacing them with exceptions (should I hope reduce crashes and instead leave some form of errors)
967
9682008-07-25 MickeM
969 + Built a garage at the summer house
970 * cut down all the reeds and shrubbs at the summer house.
971
9722008-07-03 MickeM
973 * Fixed (again) issue with performance data and CheckDriveSize (when using "Min" bounds)
974 + Added some more error messages for when counters are not found.
975 * Fixed an issue with the new namespace option
976
9772008-07-02 MickeM
978 ! 0.3.3 Released (take 2)
979 + Added new option alias to controll the name for performance counters when using checkfile use like so:
980    checkfile alias=foo file=C:\boot.ini filter-written=>1000d syntax=gurka MaxCrit=1
981 * Fixed issue with performance data and CheckDriveSize (when using "Min" bounds)
982 ! 0.3.3 Released (take 1)
983 * Fixed some issues (?) with the installer the w32 and x64 are now different components (GUIDs).
984
9852008-07-02 MickeM
986 + Fixed some issues (?) with the installer the w32 and x64 are now different components (GUIDs).
987
9882008-07-01 MickeM
989 + Added new option (namespace) to CheckWMI and CheckWMIValue use like so:
990   CheckWMI namespace=root\\cimv2 MaxCrit=3 MinWarn=1 "Query:load=Select * from win32_Processor"
991
9922008-06-30 MickeM
993 * Fixed issue with CheckFile and performance data ( #156 )
994 + Added option (InvalidStatus) to CheckCounter to allow other then UNKNOWN return state when counters are missing ( #167 ).
995   *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)
996   Message will reflect reason.
997 * Fixed issue in the arraybuffer (one of the plit functions had a problem with multiple chars of the same) ( #190 )
998
9992008-06-25 MickeM
1000 * Fixed issue with CheckDriveSize and CheckAllOthers (#188)
1001
10022008-06-24 MickeM
1003 + Added new check (to CheckHelpers): CheckOK: Just return OK (anything passed along will be used as a message).
1004 + Added new check (to CheckHelpers): CheckWARNING: Just return WARN (anything passed along will be used as a message).
1005 + Added new check (to CheckHelpers): CheckCRITICAL: Just return CRIT (anything passed along will be used as a message).
1006 + Added new check (to CheckHelpers): CheckVersion: Just return the nagios version (along with OK status).
1007 * Better error messages in the check service thingy.
1008
10092008-06-18 MickeM
1010 * Fixed an issue in regards to reading the return packet in the in the NRPEClient (now it works).
1011   Before only the first 1024 bytes were used.
1012
10132008-06-15 MickeM
1014 * Applied patches from Jeff Goldschrafe <goldschr AT cshl.edu>
1015   + CheckDriveSize now uses "all drives" when no drive is specified.
1016   * Fixed misspellt Container
1017
10182008-06-14 MickeM
1019 * Fixed error message from external commands (better reporting now)
1020
10212008-05-14 MickeM
1022 * Fixed memoryleak in the service checker.
1023     I am really sorry I usualy write better code then this.
1024 + Added some "reasonable default cheks" under [External Alias] for the CheckExternalScripts.dll module.
1025
10262008-09-17 MickeM - 0.3.4 RC-6
1027 * Added option [EventLog] lookup_names=0 to disable the evetlog name lookup (default is on)
1028
10292008-09-17 MickeM
1030 * Fixed issue on all filters so == takes the "usual" 2 equalsigns (old still works).
1031 * Added so tray icon can get "propper" name from core for "description".
1032 * Added lookup of "long" eventlog names (you can now use the alias used in the event viewer)
1033
10342008-09-16 MickeM - 0.3.4 RC-5
1035 * Fixed an issue with the session launcher
1036
10372008-09-15 MickeM
1038 * Fixed so NSCLient++ can load with "broken plugins" (before it printed an error and exited)
1039 + Added a very basic simple .net plugin (and a wrapper)
1040
10412008-09-14 MickeM - 0.3.4 RC-4
1042 * Fixed an issue with the session launcher
1043 * Fixed an issue with the uninstaller (should not "fail" when problems uninstalling)
1044
10452008-09-14 MickeM - 0.3.4 RC-4
1046 * Fixed issue with OS detection (again)
1047 * Fixed issue with plugin unloading (again)
1048 * Fixed issue with SSL socket not unloading properly
1049 * Fixed issue with "login" and "no session" (should work now I hope) (#222)
1050 * Changed so all projects build under "tmp" instead of under respecitve directory. (simpler to remove all "tmp" files now)
1051
10522008-09-12 MickeM
1053 * Thanks to everyone who listened in on my session at NETWAYS Nagios Konferenz 2008!
1054
10552008-09-09 MickeM - 0.3.4 RC-3
1056 * Improved error handling for the WMI checks.
1057 + CheckWMI: Added support for extracting numbers from strings
1058 * Fixed performance data for "large float values" to be rendered without scientific notation. (#151)
1059 * Fixed issue with & and some commands via check_nt.
1060 * Fixed a crash on exit (which I added in Rc1).
1061 * Added 10 "bytes" the CPU buffer: (#174)
1062 + Added new option to [EventLog] section buffer_size to change the size of the buffer used when scanning the evenlotg (defaults to 64k).
1063 * Fixed error handling in CHeckEventLog so errors are repoorted properly (#184)
1064
10652008-09-08 MickeM - 0.3.4 RC-2
1066 * Fixed issue in windows 2008 with system tray (shared_session).
1067 * Fixed installer issue (should run (i hope) service installer on install now on 64 bit os)
1068 * Fixed issue with unloading plugins and log (causing "timeouts" when exiting some times)
1069
10702008-09-07 MickeM
1071 + Added sample powershell script as well as a workaround for making them run.
1072 * Fixed an issue making powershell scripts (and possibly others) not timeout properly.
1073 + Added upgrade support to the installer (still need to add support for keeping .ini file so be ware)
1074
10752008-09-06 MickeM
1076 * Improved error reporting in the eventlogchecker
1077 * *BREAKING CHANGE* filter=new is now the default so unless you use the new filtering you need to specify filter=old instead!
1078   I Recomend everyone to stop using the "old" filtering.
1079
10802008-09-04 MickeM
1081 * Fixed issues with new service stuff on NT4 and W2K (should work fine now)
1082 + Added some DebugOutput to service handling features so if you experience tropubel try using sysinternals DebugView too se logging before the agent startes.
1083 * Fixed a memory leak in the error formating code
1084
10852008-08-24 MickeM
1086 * Changed NSCA "general problem" error message to be more descriptive.
1087 * Fixed issue with CheckCPU not returning a valid performance unit (%) see issue #219 for details.
1088
10892008-08-16 MickeM
1090 * *WARNING* THIS IS VERY VERY UNSTABEL (possibly)
1091 * *WARNING* A lot of new untested code here so dont run in production enviornments :)
1092 + Added shared session so system tray can communicate with master
1093 + Added new system tray handlig (via TS so FUS should work with it)
1094 + Added new option [System] / shared_session=0 (or 1) to enable / disable the new shared memory framework (it is for now disabled by default)
1095   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.
1096
10972008-08-09 MickeM
1098 + Added ChangeWindowMessageFilter so systray should maybe work on vista and beyond!
1099
11002008-07-28 MickeM
1101 * Improved the error handling for the check proc state.
1102 * Removed all (I think) asserts replacing them with exceptions (should I hope reduce crashes and instead leave some form of errors)
1103
11042008-07-25 MickeM
1105 + Built a garage at the summer house
1106 * cut down all the reeds and shrubbs at the summer house.
1107
11082008-07-03 MickeM
1109 * Fixed (again) issue with performance data and CheckDriveSize (when using "Min" bounds)
1110 + Added some more error messages for when counters are not found.
1111 * Fixed an issue with the new namespace option
1112
11132008-07-02 MickeM
1114 ! 0.3.3 Released (take 2)
1115 + Added new option alias to controll the name for performance counters when using checkfile use like so:
1116    checkfile alias=foo file=C:\boot.ini filter-written=>1000d syntax=gurka MaxCrit=1
1117 * Fixed issue with performance data and CheckDriveSize (when using "Min" bounds)
1118 ! 0.3.3 Released (take 1)
1119 * Fixed some issues (?) with the installer the w32 and x64 are now different components (GUIDs).
1120
11212008-07-02 MickeM
1122 + Fixed some issues (?) with the installer the w32 and x64 are now different components (GUIDs).
1123
11242008-07-01 MickeM
1125 + Added new option (namespace) to CheckWMI and CheckWMIValue use like so:
1126   CheckWMI namespace=root\\cimv2 MaxCrit=3 MinWarn=1 "Query:load=Select * from win32_Processor"
1127
11282008-06-30 MickeM
1129 * Fixed issue with CheckFile and performance data ( #156 )
1130 + Added option (InvalidStatus) to CheckCounter to allow other then UNKNOWN return state when counters are missing ( #167 ).
1131   *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)
1132   Message will reflect reason.
1133 * Fixed issue in the arraybuffer (one of the plit functions had a problem with multiple chars of the same) ( #190 )
1134
11352008-06-25 MickeM
1136 * Fixed issue with CheckDriveSize and CheckAllOthers (#188)
1137
11382008-06-24 MickeM
1139 + Added new check (to CheckHelpers): CheckOK: Just return OK (anything passed along will be used as a message).
1140 + Added new check (to CheckHelpers): CheckWARNING: Just return WARN (anything passed along will be used as a message).
1141 + Added new check (to CheckHelpers): CheckCRITICAL: Just return CRIT (anything passed along will be used as a message).
1142 + Added new check (to CheckHelpers): CheckVersion: Just return the nagios version (along with OK status).
1143 * Better error messages in the check service thingy.
1144
11452008-06-18 MickeM
1146 * Fixed an issue in regards to reading the return packet in the in the NRPEClient (now it works).
1147   Before only the first 1024 bytes were used.
1148
11492008-06-15 MickeM
1150 * Applied patches from Jeff Goldschrafe <goldschr AT cshl.edu>
1151   + CheckDriveSize now uses "all drives" when no drive is specified.
1152   * Fixed misspellt Container
1153
11542008-06-14 MickeM
1155 * Fixed error message from external commands (better reporting now)
1156
11572008-05-14 MickeM
1158 * Fixed memoryleak in the service checker.
1159     I am really sorry I usualy write better code then this.
1160
11612008-05-?? MickeM
1162 * BREAKING CHANGE! -- THe API function NSCLoadPlugin has been changed to take an integer to define the load-status
1163
11642008-06-?? MickeM
1165 * 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 :)
1166
11672008-05-14 MickeM
1168 * Fixed memoryleak in the service checker.
1169     I am really sorry I usualy write better code then this.
1170
11712008-05-11 MickeM
1172 * BREAKING CHANGE! -- Changed PDH options to a more uniform design:
1173     auto_detect_pdh and dont_use_pdh_index has been removed and instead there is a new method option that takes various values.
1174
11752008-04-03 MickeM
1176 * Moved COM init to "core" (from WMI module)
1177 + Added new Check command: CheckTaskSched Use like so:
1178     CheckTaskSched +filter-exit-code==1 ShowAll MaxWarn=1 MaxCrit=1
1179
11802008-03-21 MickeM
1181 + Added command line support for process checks
1182   New option: cmdLine will toggle so full command lines are used instead of just process names.
1183 + Added regular expression matching to process checks
1184   New option: match=regexp (match=strings is the default and "old" way)
1185 + Added substring matching to process checks
1186   New option: match=substr (match=strings is the default and "old" way)
1187   This is *NOT* case blind so might be hard to use, plan to add case blindness to it in the future.
1188 : Sample command: check_nt ... -v PROCSTATE -l cmdLine,match=regexp,.*exp.* -d SHOWALL
1189 * Ohh yeah... it is 2008 this year... not 2007, fixed a few entries in the change log :)
1190 - BREAKING CHANGE! -- Removed TOOLHELPER API as PSAPI is simpler and toolhelp is really only useful on w9x (which I don't officially support)
1191
11922008-03-20 MickeM
1193 + Added host-lookupos for NSCA server (#149)
1194 + Added option (cache_hostname=1|0) to cache the NSCA host name (Ie. only lookup once)
1195 * Fixed service check: check_nt -v SERVICESTATE -l CheckAll so it works as advertised (#150)
1196 * Fixed issue with check_nt MEMUSE/CPULOAD/UPTIME if something is "broken" they will now return an error instead of "0". (#134)
1197   Added option debug_skip_data_collection to simulate this (just for kicks)
1198
11992008-03-18 MickeM
1200 * Added some more error messages to the NSCA module
1201 * Added support for arguments to LUA module.
1202   syntax: function debug (command, args) -- args is a table with all arguments
1203
12042008-03-11 MickeM
1205 ! 0.3.1 Released
1206
12072008-03-08 MickeM
1208 * Changed so log is now in Unicode format
1209   Hopefully this will make it simpler to diagnose PDH issues in "strange locales".
1210   If anyone hates this let me know and I will add an option to use "old ansi log".
1211 * Fixed so the console is logged as ANSI (properly) and all Unicode's are discarded.
1212   This means "strangeness" in Unicode and non-us-ascii chars on the console,
1213    so for details refer to the log-file which is proper Unicode.
1214 + Since log module is loaded "after" the client has booted I added a "hello" message that prints the current version
1215    (if you find this annoying let me know, I will make it optional :)
1216 * Fixed some issues in the registry handling
1217
12182008-03-06 MickeM
1219 * Fixed silly ordering bug with the <> syntax.
1220
12212008-03-05 MickeM
1222 + 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.
1223 + Added syntax to new section [Eventlog] used as a shorthand for the syntax to use as "default" (when no syntax=... option is given)
1224 * Fixed an issue with eventlog and . matching.
1225 + Added shorthand ! for != in "all" numeric filters (eventlog)
1226 + Added <> (same as ! and !=) as NRPE breaks the use of ! (in "all" numeric filters (eventlog))
1227   Try using: filter-eventType=<>warning to remove everything that is not a warning
1228 * Fixed two spelling mistakes in the SysTray module.
1229 * Fixed 64-bit issues with installer
1230 * Fixed so installer uninstalls/installs the service
1231 
12322008-02-26 MickeM
1233 + Added installer
1234 
12352008-02-22 MickeM
1236 * Fixed issues in the NRPE module (now returns the correct status)
1237 + Added a lot of "error log" for when the packet size in NRPEListener is not correct
1238    (might make it simpler to diagnose problems)
1239
12402008-02-20 MickeM
1241 + Added new module NRPEClient that can act as a NRPE client, might be useful for testing things and
1242   eventually for relaying events.
1243   Usage: nsclient++ -noboot NRPEClient -H 192.168.0.1 -p 5666 -c check_something -a foo bar
1244   This is an early concept so don't expect much...
1245 * Fixed a bug in NSCA module (now it works again :)
1246 + Added a command wrapper for the NRPECLient module so now it can act as a check command.
1247   (No argument handling yet though), For a sample check out the [NRPE Client Handlers] section in NSC.ini
1248
12492008-02-19 MickeM
1250 + Fixed a buffer overflow in the NRPE socket handling.
1251 
12522008-02-18 MickeM
1253 + Added proper output handling to process subsystem (now you can execute programs that return "much" data.
1254 + Added select support for SSL_write (now you can send "any amount of data" to the (SSL) socket.
1255   Since check_nrpe doesn't do this it wont work in that end, but still...
1256
12572008-02-16 MickeM
1258 + Re factored ExternalCommand handling so NRPE and new module does the same thing.
1259
12602008-02-14 MickeM
1261 + Added so commands starting in host_ (NSCA Handlers) are sent as host-commands
1262 * Fixed a copy constructor in NSCA Commands (now service checks are sent as service checks)
1263
12642008-02-13 MickeM
1265 + Added string_length to [Settings] as well (used internally) for all "injected" buffers.
1266 * Fixed issue with scripts result truncated after 1024 chars
1267    (now they return "all" output and thus you can use the NRPE settings I added yesterday :)
1268 + Added hostname setting to [NSCA] section (must have been  when I did not add it before)
1269 + Added to NSCA truncates output when to long.
1270
12712008-02-12 MickeM
1272 + Added new option for the [NRPE] section string_length which is the length of the NRPE strings
1273   (notice you need to recompile the check_nrpe to match this value)
1274 * Improved exception handling in the PDH collector (hopefully less deadlocks)
1275
12762008-02-11 MickeM
1277 + Added encryption support for NSCA module (about half of the algorithms are available,
1278     if someone wants to use one not available let me know, and I will try to add it)
1279
12802008-02-09 MickeM
1281 + New module CheckExternalScripts to handle 1, external script (similar to the old NRPE but in its own module)
1282   - Can Check batch/vbs/programs/*
1283   - Works with NSCA module (if you don't want to have NRPE at the same time)
1284   - Simpler syntax (discarded old and added new section for alias)
1285   - Started to add "sample alias" to ease initial setup and give some nice ideas (please provide me with feedback on them)
1286
12872008-02-08 MickeM
1288 + Added some more default catch handlers (on the "core" side of plugin-calls).
1289
12902008-02-07 MickeM
1291 + Added default catch handlers to all wrapped plug in calls.
1292
12932008-02-05 MickeM
1294 * Fixed issue with checkEventLog (sometimes you got the wrong message back)
1295
12962008-02-04 MickeM
1297 *** Happy Birthday bogi!! :)
1298 * Fixed issues with performance counter rendering (mainly checkDisk)
1299
13002008-02-03 MickeM
1301 + Added encryption subsystem to NSCA module (still no mcrypt support, but at least you have "xor" and passwords)
1302 + Added API for scripts to register commands
1303 + Added command descriptions (for some modules)
1304 * Fixed issue in NRPE that displayed a console window when running commands
1305 * New improved "inject" dialog from the system tray
1306   Lists available commands, and shows command descriptions and a lot of other improvements.
1307 + Added an internal log windows that displays log in real-time.
1308 + Fixed some issues with the dialog procs (should work smoother now, especially Termination)
1309
13102008-02-02 MickeM
1311 * Might have fixed the "missing eventlog messages" problem.
1312 + Added %count% parameter to syntax which (when used with unique) will display the number of hits for each message displayed.
1313
13142008-01-27 MickeM
1315 * Fixed a memory-leak in format_time
1316 * Fixed so time/date is displayed in "local time" (not UTC) for the eventlog check
1317 + Added %message% to eventlog check. Will display the "proper formated eventlog message" as in the eventlog viewer.
1318   For this to work you need to have the descriptions flag set
1319   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
1320 + Added option "unique" to CheckEventLog If this is present only unique errors will be returned.
1321   The uniqueness is defined by event-log, event-source, event-id and event-category.
1322
13232007-12-16 MickeM
1324 + A lot of new features in the LUA module only "arguments" missing (as well as exposing more of the API)
1325 * Changed some exceptions that were thrown wrong
1326
13272007-12-11 MickeM
1328 + Added support for index-lookups of PDH counters (hopefully *all* locale problems are now fixed (yeah right))
1329
13302007-12-10 MickeM
1331 + Added initial draft for LUA module
1332
13332007-12-09 MickeM
1334 + Added a check if the service is started when running with /test so you get a warning
1335 + Improved the socket thread with:
1336    * a default-catch
1337    * If the socket fails to start we still wait for it to shut down (no error message)
1338 + Added first version of the NSCA agent (NSCAgent.dll)
1339   (no encryption support as of yet, but will come)
1340
13412007-12-04 MickeM
1342 ! 0.3.0 Released
1343
13442007-12-01 MickeM
1345 * Fixed issue with date formating in FILEAGE
1346
13472007-11-29 MickeM
1348 * Fixed issue with date formating in FILEAGE
1349
13502007-11-28 MickeM
1351 ! 0.3.0 RC-1
1352 * Fixed some UNICODE issues with process-listings
1353 + Added an error message if the "detected" process enumeration method is not available.
1354 + Fixed some more Unicode issues Password encrypt/decrypt: #107
1355 * Fixed Unicode issues with "external programs" #109
1356 * Fixed so default string for check_nt:s FILEAGE command is "delta" is 5 minutes ago (and not absolute ie. 1970...), Issue #39
1357 + added support for  <date strings> to check_nt:s FILEAGE command, Issue #39
1358    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 ...
1359    Only the above listed %<char> works, and default to 0 so might not be to pretty but works...
1360
13612007-11-26 MickeM
1362 + Fixed a socket issue (erroneously reported "Could not read NSClient packet from socket :(")
1363 * More 2k5 build tweaks
1364
13652007-11-23 MickeM
1366 * Converted to Unicode (damn sometimes I **HATE** C++)
1367 + Added support for escaping " on the /test syntax so now you can do: CheckWMI MaxCrit=3 "MinWarn=1" "Query:load=Select * from win32_Processor"
1368
13692007-11-22 MickeM
1370 * Fixed so the "default path" is correct even when running as a service (issue: #96)
1371
13722007-11-21 MickeM
1373 * Fixed process counter so checkProcState  now return the *correct* number (previously it was correct-1)
1374 * Fixed some missing exceptions that were not caught
1375 + Added "AliasCol" option to CheckWMIValue to allow a column to be used as "alias" for a result set:
1376     CheckWMIValue -a "Query=select Caption, ThreadCount from Win32_Process" MaxWarn=50 MaxCrit=100 Check:threads=ThreadCount AliasCol=Caption
1377    will give you: "System threads: 98 > warning, svchost.exe threads: 87 > warning"
1378 - Removed  from SVN (as it is old and outdated and no longer used)
1379
13802007-11-20 MickeM
1381 + Added new option to CheckSystem to override detected language (force_language=0x0014)
1382
13832007-11-19 MickeM
1384 * Fixed a minor issue in reading registry keys
1385 + Added -noboot option to startup used for running command line utilities without booting the client
1386   "nsclient++ -noboot RemoteConfigruation ini2reg" for instance
1387 + Added fall back to try <module> and <module>.dll if the module was not loaded (when running command lines)
1388 * Migrated 2008 project files to new name and back ported to 2005 project files.
1389
13902007-11-16 MickeM
1391 * Fixed an NRPE issue I added when I improved the sockets_timeout (now SSL works as well :).
1392 + Added sample VBS script and definitions
1393
13942007-11-15 MickeM
1395 * Improved error message when external NRPE command failles.
1396
13972007-11-14 MickeM
1398 + Added multi-line output support ( issue #91 )
1399 * Improved error handling for external commands
1400 * Fixed an issue with NRPE/NSClient socket-reading (introduced by the socket_timeout)
1401 + Added an English fall back if "local" language PDH counters fail.
1402
14032007-11-12 MickeM
1404 + Added option to configure socket_timeouts (default is now 30 seconds) should (I hope) fix issue #85
1405
14062007-11-11 MickeM
1407 + Added option to configure the behavior of CheckService CheckAll (#64)
1408
14092007-11-08 MickeM
1410 + Added CheckWMIValue to check result-values from a WMI Query
1411 * Changed so performance values are "collapsed" i.e. 75362115584 = 70.0G (#89)
1412    If anyone don't want this let me know and I will make an option for it.
1413
14142007-11-06 MickeM
1415 + Added CLI interface to CheckWMI to check queries
1416
14172007-11-04 MickeM
1418 * Rewritten WMI handling as well as checks so things should be more useful now (cf. the wiki page for details)
1419
14202007-10-29 MickeM
1421 * Restructured build and include to work from CLI
1422 + Started to add makefiles to build from CLI
1423 + Added Finnish counters (#98)
1424 * Fixed performance counter issue with check_nt (#99)
1425 
14262007-10-06 MickeM
1427 + Added auto-upda-te of versions and dates on build to make versions better updated.
1428 + Fixed x64 build and cleanup a bit.
1429
14302007-09-15 MickeM
1431 + Added better error messages (now return codes are displayed as text). Not implemented all over yet but the infrastructure is there.
1432
14332007-09-11 MickeM
1434 + Added Dutch performance counters to counters.defs
1435 + Added Spanish performance counters to counters.defs
1436 + Added #69 [includes] directive to INI-file to include other files
1437 * Fixed #75 (spelling issue)
1438
14392007-06-23 MickeM
1440 * 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...
1441 * Fixed the "check memory" issues for real this time.
1442 * 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.
1443
14442007-06-20 MickeM
1445 * Fixed #24 crash in NSClient++.exe CheckSystem listpdh | debugpdh
1446 * Fixed #62 Problems with CheckServiceState and services with spaces.
1447
14482007-03-06 MickeM
1449 ! 0.2.7 released
1450
14512007-03-05 MickeM
1452 * Fixed -v FILEAGE check_nt (NSClient) check.
1453 * Added license agreement header to all files
1454
14552007-03-04 MickeM
1456 + Added script_dir option to NRPE section as well as some sample scripts in the scripts/
1457   subdirectory. The script_dir will use all files in this directory as scripts for NRPE
1458 + Added Japanese counters to counters.defs from patch (thanx!!!)
1459
14602007-02-25 MickeM
1461 + Added possibility to check many memory checks in one go, just stack type options.
1462     type=paged type=physical etc...
1463 * Fixed a performance check bug in the last nightly.
1464 * Fixed a potential crash when a malformed check-file-age command was issued.
1465 + Added support for more then and NSClient command
1466 + Added net mask support to allowed_hosts (try with 192.168.0.1/24 and such)
1467 
14682007-02-22 MickeM
1469 + Added debug output to see if the socket is bound and/or has shutdown.
1470 * Fixed a potential bug in the thread manager.
1471 + Added configuration option for suppressing performance data to the NRPE section.
1472   Set performance_data=0 to stop sending performance data to nagios
1473 + New (better?) (simpler?) event log checking
1474 + Added option to most commands (ignore-perf-data) to suppress performance data
1475 + Added option CheckAll for checking all auto-start services to checkServiceState.
1476   Also an exclude=<service> to exclude checking that.
1477 * Fixed return syntax for PROCSTATE nsclient
1478
14792007-02-21 MickeM
1480 * Fixed "broken password check" (again) in NSClient listener (this time it is correct! :)
1481
14822006-12-02 MickeM
1483 + Managed to build so it works on NT 4.0 (SP6a) and W2K3
1484 * Fixed "broken password check" in NSClient listener
1485
14862006-11-18 MickeM
1487 + Added support for empty NRPE checking (i.e.. chec_nrpe without a -c argument)
1488 * Added error message when detected language is missing from counters.defs
1489 + Added Swedish locale to counters.defs (yes, I switched to Swedish XP on my computer :)
1490 * Fixed : (and possibly other problems) in counters when checking from check_nt (via NSCLient protocol)
1491 + Added CheckAllExcept to CheckDrive to check all except the specified drives.
1492 * Fixed a display error in the various size functions (1000-1024 byte was displayed incorrectly)
1493
14942006-10-05 MickeM
1495 * Yayyy!!! (first fix in a looong while :)
1496 * Fixed a W2k3 "bug" (actually just an incorrect error) but the:
1497   "e .\PDHCollector.cpp(130) Failed to query performance counters..." is no more...
1498 + Added option to NRPE/NSClient section to not-cache host names (for dyndns etc.)
1499   NOTICE this is "not safe" really in so far as someone might hi-jack your DNS and quickly gain
1500   access to your nagios box (probably only a theoretical problem but hey! :)
1501   NOTICE this is "slow" since all hosts in the list are "looked up" each time you get a NRPE/NSClient
1502   request it will be "slow" but I think it is not that much of a problem really.
1503   NOTICE I don't have the possibility to test this so feel free to report if it works and if it doesn't.
1504   Set cache_allowed_hosts=0 to disable host cache
1505
15062006-04-04 MickeM
1507 * Fixed a few more bugs to the INI/REG readers
1508
15092006-04-02 MickeM
1510 * Could all magicians stop trying to kill me?
1511   *Please* i don't like to die!
1512
15132006-03-31 MickeM
1514 * Damn necromancers! stop 0wning my ass all the time!
1515 
15162006-03-29 MickeM
1517 + Added API for saving/reading settings
1518 
15192006-03-28 MickeM
1520 + Added REG/INI parsers
1521 * *NOTICE* You need to add an option (use_file=1) to your nsc.ini file or new builds wont work.
1522
15232006-03-25 MickeM
1524 * Oblivion f*cking roxx!
1525
15262006-03-02 MickeM
1527 * Fixed bug in INI-file reader (memory leak)
1528
15292006-03-01 MickeM
1530 * Fixed bug in CheckFile (now dates work correctly)
1531
15322006-02-26 MickeM
1533 + Added syntax option to CheckFile (%filename%, %creation%, %access%, %write%, %size%).
1534
15352006-02-25 MickeM
1536 * Fixed Sections problem (now sections can be any size)
1537 + Added bind_to_address option to both NRPE and NSClient section in the INI file.
1538   Allows you to bind the listener to a specific IP address (only dotted number not host name).
1539   This might break things as I had to do some internal rewrite of the Socket classes so be careful :)
1540 * Disabled default-debug logging (as things are fairly stable, you can still enable it by using debug=1 in the NSC:ini file)
1541 * "Fixed" socket backlog to use "max responsible value" as opposed to "10" if no value is specified.
1542 + Added option socket_back_log to both NRPE and NSClient section that allows you to tweak the "back-log" of incoming connections to keep.
1543   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.
1544   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.
1545 - 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.
1546 * Moved listpdh and debugpdh into the CheckSystem module
1547 * Removed PDH dependencies from "core exe" means you can run NSClient++ without PDH (though you cant use the CheckSystem module)
1548 
15492006-02-2? MickeM
1550 + Added new Interface for Modules (NSCommandLineExec that allows modules to execute things give from command line.
1551   Syntax is NSClient++ <module name> <command> [arguments] and if a module doesn't support this it is simply ignored.
1552 + Added new install/uninstall command to SystemTray module:
1553   NSClient++.exe SystemTray install
1554   NSClient++.exe SystemTray uninstall
1555   That will install/uninstall the system tray module this sets the "Allow Service to Interact with Desktop" flag for the service.
1556 * 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).
1557 * Fixed so checkProcess isn't case sensitive.
1558 * Added (not finished) syntax option to event log checker to format the outputted data
1559
15602006-02-12 MickeM
1561 + Added support for host name resolve to allowed_hosts
1562
15632006-02-08 MickeM
1564 ! Fixed filter-eventID in EventLog module (now works for all IDs regardless of severity state)
1565 + Added new filters to EventLog (filter-severity that can filter based on event severity success, error, warning, informational)
1566
15672006-02-07 MickeM
1568 + Added new filter option to eventlog filter-eventID
1569 + Added new operator to all numeric filters in:number,number,... etc. (for instance filter-eventID=in:123,456,789 to check for lists.
1570
15712006-02-05 MickeM
1572 + Added CheckFile check command
1573   This new command (in development) will allow various file checks such as age, size, date, etc on single or multiple files.
1574 + Added FILEAGE support to NSClient
1575 + Started to convert the web page to WIKI
1576 
15772006-01-21 MickeM
1578 + Added WMI Check module (early alpha)
1579   This is an extremely early alpha more to see if there is an interest and how to progress with it.
1580   To use the WMI module enable the WMICheck.dll (nsc.ini) and then run the following check:
1581   CheckWMI MaxWarn=10 MaxCrit=15 "Query:load=Select LoadPercentage from win32_Processor"
1582   The Max* are as every other check and sets limits.
1583   The Query works similarly to other check commands i.e.. Query:<name>=<WMI query>
1584   So any other WMI query should work (notice this is experimental and not stable and has virtually
1585   no error handling so it is likely to crash nsclient if you ask anything "non working".)
1586   I would *really* *really* like to get feedback on how to expand this concept to work better so feel free to come with feedback.
1587  * Fixed NT4 /install (should work now!)
1588
15892006-01-02 MickeM
1590 * Fixed ChangeServiceConfig2 on NT4
1591 + Added support for more then 4GB memory (8GB?)
1592   Since I don't have this much memory this needs to be verified...
1593 * Fixed syntax of performance data
1594
15952005-09-24 MickeM
1596 * Fixed memory size bug (free and used were swapped)
1597
15982005-09-20 MickeM
1599 + Added option to debug all PDH counters /debugpdh
1600
16012005-09-17 MickeM
1602 + Added support for checking service by display name
1603
16042005-09-03 MickeM
1605 * First off, sorry for lack of updates, but was on vacation :)
1606 + Added ShowAll=long to CPULoad
1607 + Added several new types to checkMem (type=paged, type=physical, type=page, type=virtual)
1608
16092005-07-31 MickeM
1610 + /install now sets the service to autostart
1611 * Did some cleanup of minor code sections
1612 * (done before but not reported i think) /listpdh option added to list all PDH counters (nsclient++ /listpdh)
1613 + Added service description
1614 * Event log reworked (again) this time I hope it is better (and even useful, but syntax has changed)
1615
16162005-07-26 MickeM
1617 + Added support for ShowAll=long (to show long and short info, only applies to some areas, but available everywhere)
1618 + Extended Drive and memory check syntax to facilitate both Free and Used space checks: MaxWarnFree / MaxWarnUsed etc)
1619
16202005-07-19 MickeM
1621 * Changed thread API to use _creatthreadex as opposed to _creatthread (works better now!)
1622 * Fixed UNKNOWN return code (was 4 should have been 3)
1623
16242005-07-16 MickeM
1625 * Fixed drive checks from NSClient
1626
16272005-07-11 MickeM
1628 * *ALOT* of bug fixes and enhancements all checking code has been centralized and rewritten also my internal check scripts
1629   have been extended to check a lot more things.
1630   *NOTICE* that EventLog has not been upgraded yet neither has the documentation.
1631 + Added MaxWarnCount / MinWarnCount to checkProcState to check number of processes running
1632
16332005-06-09 MickeM
1634 * Escapes " in NRPE commands in the NSC.ini
1635
16362005-06-05 MickeM
1637 * Created configuration interface (not released yet)
1638
16392005-06-03 MickeM
1640 * Created interactive installer (not released yet)
1641
16422005-06-02 MickeM
1643 * CheckEventLog reworked...
1644
16452005-06-01 MickeM
1646 * CheckSystem auto detects windows version and language.
1647
16482005-05-29 MickeM
1649 * Fixed PROCSTATE and SERVICESTATE return state.
1650 + Added support for individual size in CheckDriveSize and CheckFileSize (size has to be specified before a drive/path)
1651 * Fixed performance data for drives (and possibly other places)
1652
16532005-05-23 MickeM
1654 + Added obfuscated password support
1655 + Added some more debug info on commands (return code, and input args)
1656 + Added some more comments to the NSC.ini
1657 + Added central password "override"
1658 + Added central "host override"
1659 + Fixed bug with external commands always getting WARNING state
1660
16612005-05-22 MickeM
1662 + Added debug output for command
1663 + Added timestamps for log-to-file (date_mask to configure format)
1664 + Added support for "no password" with check_nt
1665 + Added log of bad password on NSClient requests.
1666 * Some threading issues fixed (I hate threading :)
1667
16682005-05-19 MickeM
1669 * Verified NT4 compatibility
1670
16712005-05-18 MickeM
1672 * Fixed bug in NSC.ini (section title for Check System was wrong)
1673 + Added multitasking for plug-ins (now two plug-ins can handle requests simultaneously)
1674 * Fixed some minor issues here and there
1675
16762005-05-15 MickeM
1677 + Added NRPE support for checkCounter
1678 + Updated documentation
1679 * Make check commands ignore case
1680 + Added CheckHelpers module to alter the result of various check and similar things
1681
16822005-05-14 MickeM
1683 + Added support for Volumes (CheckDisk)
1684 + Added support for checking all drives of a certain kind
1685 + Added support for altering filter (makes it possible to check removable drives)
1686 + Created web page and better documentation
1687
16882005-04-20 MickeM
1689 + Added multitasking to socket listener (it can now handle multiple connections)
1690 * Fixed bug in NSClientListener now "seqv" in check_nt shouldn't happen.
1691 + Added COUNTER support to NSClient and CheckSystem
1692
16932005-04-19 MickeM
1694 + Added SSL support
1695 + Added a lot of new options
1696 + Added documentation
1697 * Renamed and restructured NSCLientCompat to CheckSystem
1698 * *ALOT* of fixes all over
1699 : We are now starting to get to something that is "stable"
1700 : This means that soon you might actually be able to use this.
1701 
17022005-03-28 MickeM
1703 * Changed the Thread class a bit (mutex -> signal, and CreatThread does not return the instance)
1704 * Moved settings "keys" fro NRPE to config.h
1705 * Changed build options (added Distribution) which builds a zip file under ./dist (requires 7z installed)
1706 * Minor tweaks to error/debug logging and small fixes "here and there"
1707
17082005-03-26 MickeM
1709 + NRPE Support (very basic, no encryption, and nothing fancy)
1710 * Socket classes rewritten
1711 + Added NSCModuleHelper::getSettingsSection to the API
1712
17132005-03-22 MickeM
1714 * Fixed NSClientListener return codes for basic commands
1715 * Extracted arrayBuffer code into new files under /include
1716 * Minor tweaks in the API (fixed minor issues)
1717 + Added some basic "tests" to a few commands (getToken, and arrayBuffer related)
1718
17192005-03-21 MickeM
1720 * Fixed BUG in inject command (now things should "work" again, but far from stable)
1721 + Added NRPE return code
1722 * Fixed some return states to NSClientListener (not verified yet, but soon they will be back in order :)
1723
17242005-03-20 MickeM
1725 * Fundamental API changes (due to NRPE compatibility)
1726   - HandleCommand has changed
1727   - Inject has changed
1728   - Most API calls have new "return codes" (typedef:ed INT to allow for return code compiler checks)
1729   - A lot of the old return codes have changed
1730 + Preliminary NRPE support (can parse and execute incoming requests, cant return data yet, and no encryption)
1731 + New SimpleSocket in include/ will be used as base class for Listeners
1732 * A lot of rewrite to the NSC API
1733
17342005-03-19 MickeM
1735 * Re factored out NSCLient Listener as a separate module
1736 + Added initial NRPE listener module (not yet implemented only a shell)
1737 * Changed Module API (Inject function has new syntax)
1738 + Added some tokenizer function to charEx
1739 + Added new wrapper function to inject Command
1740 * Minor changes in relation to refactor work
1741
17422005-03-01 MickeM
1743 * Improved thread safety in Core
1744 + Added exception handling and logging in PDH code
1745 * Various fixes all over the place
1746 + New module for check size of files/directories
1747 * Changed build to Dynamic link
1748 * Added regular expression support for EventLog checker
1749
17502005-02-22 MickeM
1751 + Added documentation
1752
17532005-02-17 MickeM
1754 * NSClient issues fixed
1755 * System Tray issues fixed
1756
17572005-02-14 MickeM
1758 * Initial SourceForge release
Note: See TracBrowser for help on using the repository browser.