• Sponsorship

  • root/branches/stable/changelog

    Revision 168, 34.7 kB (checked in by mickem, 2 months ago)

    some fixes for the installer

    • Property svn:eol-style set to native
    • Property svn:keywords set to Author Date Id Revision
    Line 
    1 TODO:
    2  * Process times and similar ?
    3  * Fix configuration GUI (low priority)
    4  * Add API for rehashing the daemon (or implement it the API is there but does nothing)
    5  * Improved socket performance (would be nice if we could be used as a "hub")
    6
    7 2008-09-24 MickeM
    8  * Imroved the installer (now auto-updates the version when built)
    9
    10 2008-09-24 MickeM - 0.3.5
    11  * Fixed issue with CheckServiceState and CheckAll (it now works)
    12  + Added new check: CheckFile2 which has the same syntax as the event log filtering.
    13     Usage: CheckFile2 file=c:\test\*.txt filter=in filter+creation=<24h "syntax=%filename% was created %creation%" MinWarn=0 MinCrit=0
    14
    15 2008-09-18 MickeM - 0.3.4
    16  * Changed so "missing services" are treated as stopped.
    17     CheckServiceState missing=stopped ShowAll
    18         OK: missing: not found
    19  * Fixed issue with : in service name.
    20  + Added some "reasonable default cheks" under [External Alias] for the CheckExternalScripts.dll module.
    21
    22 2008-09-17 MickeM - 0.3.4 RC-6
    23  * Added option [EventLog] lookup_names=0 to disable the evetlog name lookup (default is on)
    24
    25 2008-09-17 MickeM
    26  * Fixed issue on all filters so == takes the "usual" 2 equalsigns (old still works).
    27  * Added so tray icon can get "propper" name from core for "description".
    28  * Added lookup of "long" eventlog names (you can now use the alias used in the event viewer)
    29
    30 2008-09-16 MickeM - 0.3.4 RC-5
    31  * Fixed an issue with the session launcher
    32
    33 2008-09-15 MickeM
    34  * Fixed so NSCLient++ can load with "broken plugins" (before it printed an error and exited)
    35  + Added a very basic simple .net plugin (and a wrapper)
    36
    37 2008-09-14 MickeM - 0.3.4 RC-4
    38  * Fixed an issue with the session launcher
    39  * Fixed an issue with the uninstaller (should not "fail" when problems uninstalling)
    40
    41 2008-09-14 MickeM - 0.3.4 RC-4
    42  * Fixed issue with OS detection (again)
    43  * Fixed issue with plugin unloading (again)
    44  * Fixed issue with SSL socket not unloading properly
    45  * Fixed issue with "login" and "no session" (should work now I hope) (#222)
    46  * Changed so all projects build under "tmp" instead of under respecitve directory. (simpler to remove all "tmp" files now)
    47
    48 2008-09-12 MickeM
    49  * Thanks to everyone who listened in on my session at NETWAYS Nagios Konferenz 2008!
    50
    51 2008-09-09 MickeM - 0.3.4 RC-3
    52  * Improved error handling for the WMI checks.
    53  + CheckWMI: Added support for extracting numbers from strings
    54  * Fixed performance data for "large float values" to be rendered without scientific notation. (#151)
    55  * Fixed issue with & and some commands via check_nt.
    56  * Fixed a crash on exit (which I added in Rc1).
    57  * Added 10 "bytes" the CPU buffer: (#174)
    58  + Added new option to [EventLog] section buffer_size to change the size of the buffer used when scanning the evenlotg (defaults to 64k).
    59  * Fixed error handling in CHeckEventLog so errors are repoorted properly (#184)
    60
    61 2008-09-08 MickeM - 0.3.4 RC-2
    62  * Fixed issue in windows 2008 with system tray (shared_session).
    63  * Fixed installer issue (should run (i hope) service installer on install now on 64 bit os)
    64  * Fixed issue with unloading plugins and log (causing "timeouts" when exiting some times)
    65
    66 2008-09-07 MickeM
    67  + Added sample powershell script as well as a workaround for making them run.
    68  * Fixed an issue making powershell scripts (and possibly others) not timeout properly.
    69  + Added upgrade support to the installer (still need to add support for keeping .ini file so be ware)
    70
    71 2008-09-06 MickeM
    72  * Improved error reporting in the eventlogchecker
    73  * *BREAKING CHANGE* filter=new is now the default so unless you use the new filtering you need to specify filter=old instead!
    74    I Recomend everyone to stop using the "old" filtering.
    75
    76 2008-09-04 MickeM
    77  * Fixed issues with new service stuff on NT4 and W2K (should work fine now)
    78  + Added some DebugOutput to service handling features so if you experience tropubel try using sysinternals DebugView too se logging before the agent startes.
    79  * Fixed a memory leak in the error formating code
    80
    81 2008-08-24 MickeM
    82  * Changed NSCA "general problem" error message to be more descriptive.
    83  * Fixed issue with CheckCPU not returning a valid performance unit (%) see issue #219 for details.
    84
    85 2008-08-16 MickeM
    86  * *WARNING* THIS IS VERY VERY UNSTABEL (possibly)
    87  * *WARNING* A lot of new untested code here so dont run in production enviornments :)
    88  + Added shared session so system tray can communicate with master
    89  + Added new system tray handlig (via TS so FUS should work with it)
    90  + Added new option [System] / shared_session=0 (or 1) to enable / disable the new shared memory framework (it is for now disabled by default)
    91    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.
    92
    93 2008-08-09 MickeM
    94  + Added ChangeWindowMessageFilter so systray should maybe work on vista and beyond!
    95
    96 2008-07-28 MickeM
    97  * Improved the error handling for the check proc state.
    98  * Removed all (I think) asserts replacing them with exceptions (should I hope reduce crashes and instead leave some form of errors)
    99
    100 2008-07-25 MickeM
    101  + Built a garage at the summer house
    102  * cut down all the reeds and shrubbs at the summer house.
    103
    104 2008-07-03 MickeM
    105  * Fixed (again) issue with performance data and CheckDriveSize (when using "Min" bounds)
    106  + Added some more error messages for when counters are not found.
    107  * Fixed an issue with the new namespace option
    108
    109 2008-07-02 MickeM
    110  ! 0.3.3 Released (take 2)
    111  + Added new option alias to controll the name for performance counters when using checkfile use like so:
    112     checkfile alias=foo file=C:\boot.ini filter-written=>1000d syntax=gurka MaxCrit=1
    113  * Fixed issue with performance data and CheckDriveSize (when using "Min" bounds)
    114  ! 0.3.3 Released (take 1)
    115  * Fixed some issues (?) with the installer the w32 and x64 are now different components (GUIDs).
    116
    117 2008-07-02 MickeM
    118  + Fixed some issues (?) with the installer the w32 and x64 are now different components (GUIDs).
    119
    120 2008-07-01 MickeM
    121  + Added new option (namespace) to CheckWMI and CheckWMIValue use like so:
    122    CheckWMI namespace=root\\cimv2 MaxCrit=3 MinWarn=1 "Query:load=Select * from win32_Processor"
    123
    124 2008-06-30 MickeM
    125  * Fixed issue with CheckFile and performance data ( #156 )
    126  + Added option (InvalidStatus) to CheckCounter to allow other then UNKNOWN return state when counters are missing ( #167 ).
    127    *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)
    128    Message will reflect reason.
    129  * Fixed issue in the arraybuffer (one of the plit functions had a problem with multiple chars of the same) ( #190 )
    130
    131 2008-06-25 MickeM
    132  * Fixed issue with CheckDriveSize and CheckAllOthers (#188)
    133
    134 2008-06-24 MickeM
    135  + Added new check (to CheckHelpers): CheckOK: Just return OK (anything passed along will be used as a message).
    136  + Added new check (to CheckHelpers): CheckWARNING: Just return WARN (anything passed along will be used as a message).
    137  + Added new check (to CheckHelpers): CheckCRITICAL: Just return CRIT (anything passed along will be used as a message).
    138  + Added new check (to CheckHelpers): CheckVersion: Just return the nagios version (along with OK status).
    139  * Better error messages in the check service thingy.
    140
    141 2008-06-18 MickeM
    142  * Fixed an issue in regards to reading the return packet in the in the NRPEClient (now it works).
    143    Before only the first 1024 bytes were used.
    144
    145 2008-06-15 MickeM
    146  * Applied patches from Jeff Goldschrafe <goldschr AT cshl.edu>
    147    + CheckDriveSize now uses "all drives" when no drive is specified.
    148    * Fixed misspellt Container
    149
    150 2008-06-14 MickeM
    151  * Fixed error message from external commands (better reporting now)
    152
    153 2008-05-14 MickeM
    154  * Fixed memoryleak in the service checker.
    155      I am really sorry I usualy write better code then this.
    156
    157 2008-04-03 MickeM
    158  * Moved COM init to "core" (from WMI module)
    159  + Added new Check command: CheckTaskSched Use like so:
    160      CheckTaskSched +filter-exit-code==1 ShowAll MaxWarn=1 MaxCrit=1
    161
    162 2008-03-21 MickeM
    163  + Added command line support for process checks
    164    New option: cmdLine will toggle so full command lines are used instead of just process names.
    165  + Added regular expression matching to process checks
    166    New option: match=regexp (match=strings is the default and "old" way)
    167  + Added substring matching to process checks
    168    New option: match=substr (match=strings is the default and "old" way)
    169    This is *NOT* case blind so might be hard to use, plan to add case blindness to it in the future.
    170  : Sample command: check_nt ... -v PROCSTATE -l cmdLine,match=regexp,.*exp.* -d SHOWALL
    171  * Ohh yeah... it is 2008 this year... not 2007, fixed a few entries in the  :)
    172  - BREAKING CHANGE! -- Removed TOOLHELPER API as PSAPI is simpler and toolhelp is really only useful on w9x (which I don't officially support)
    173
    174 2008-03-20 MickeM
    175  + Added host-lookupos for NSCA server (#149)
    176  + Added option (cache_hostname=1|0) to cache the NSCA host name (Ie. only lookup once)
    177  * Fixed service check: check_nt -v SERVICESTATE -l CheckAll so it works as advertised (#150)
    178  * Fixed issue with check_nt MEMUSE/CPULOAD/UPTIME if something is "broken" they will now return an error instead of "0". (#134)
    179    Added option debug_skip_data_collection to simulate this (just for kicks)
    180
    181 2008-03-18 MickeM
    182  * Added some more error messages to the NSCA module
    183  * Added support for arguments to LUA module.
    184    syntax: function debug (command, args) -- args is a table with all arguments
    185
    186 2008-03-11 MickeM
    187  ! 0.3.1 Released
    188
    189 2008-03-08 MickeM
    190  * Changed so log is now in Unicode format
    191    Hopefully this will make it simpler to diagnose PDH issues in "strange locales".
    192    If anyone hates this let me know and I will add an option to use "old ansi log".
    193  * Fixed so the console is logged as ANSI (properly) and all Unicode's are discarded.
    194    This means "strangeness" in Unicode and non-us-ascii chars on the console,
    195     so for details refer to the log-file which is proper Unicode.
    196  + Since log module is loaded "after" the client has booted I added a "hello" message that prints the current version
    197     (if you find this annoying let me know, I will make it optional :)
    198  * Fixed some issues in the registry handling
    199
    200 2008-03-06 MickeM
    201  * Fixed silly ordering bug with the <> syntax.
    202
    203 2008-03-05 MickeM
    204  + 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.
    205  + Added syntax to new section [Eventlog] used as a shorthand for the syntax to use as "default" (when no syntax=... option is given)
    206  * Fixed an issue with eventlog and . matching.
    207  + Added shorthand ! for != in "all" numeric filters (eventlog)
    208  + Added <> (same as ! and !=) as NRPE breaks the use of ! (in "all" numeric filters (eventlog))
    209    Try using: filter-eventType=<>warning to remove everything that is not a warning
    210  * Fixed two spelling mistakes in the SysTray module.
    211  * Fixed 64-bit issues with installer
    212  * Fixed so installer uninstalls/installs the service
    213  
    214 2008-02-26 MickeM
    215  + Added installer
    216  
    217 2008-02-22 MickeM
    218  * Fixed issues in the NRPE module (now returns the correct status)
    219  + Added a lot of "error log" for when the packet size in NRPEListener is not correct
    220     (might make it simpler to diagnose problems)
    221
    222 2008-02-20 MickeM
    223  + Added new module NRPEClient that can act as a NRPE client, might be useful for testing things and
    224    eventually for relaying events.
    225    Usage: nsclient++ -noboot NRPEClient -H 192.168.0.1 -p 5666 -c check_something -a foo bar
    226    This is an early concept so don't expect much...
    227  * Fixed a bug in NSCA module (now it works again :)
    228  + Added a command wrapper for the NRPECLient module so now it can act as a check command.
    229    (No argument handling yet though), For a sample check out the [NRPE Client Handlers] section in NSC.ini
    230
    231 2008-02-19 MickeM
    232  + Fixed a buffer overflow in the NRPE socket handling.
    233  
    234 2008-02-18 MickeM
    235  + Added proper output handling to process subsystem (now you can execute programs that return "much" data.
    236  + Added select support for SSL_write (now you can send "any amount of data" to the (SSL) socket.
    237    Since check_nrpe doesn't do this it wont work in that end, but still...
    238
    239 2008-02-16 MickeM
    240  + Re factored ExternalCommand handling so NRPE and new module does the same thing.
    241
    242 2008-02-14 MickeM
    243  + Added so commands starting in host_ (NSCA Handlers) are sent as host-commands
    244  * Fixed a copy constructor in NSCA Commands (now service checks are sent as service checks)
    245
    246 2008-02-13 MickeM
    247  + Added string_length to [Settings] as well (used internally) for all "injected" buffers.
    248  * Fixed issue with scripts result truncated after 1024 chars
    249     (now they return "all" output and thus you can use the NRPE settings I added yesterday :)
    250  + Added hostname setting to [NSCA] section (must have been  when I did not add it before)
    251  + Added to NSCA truncates output when to long.
    252
    253 2008-02-12 MickeM
    254  + Added new option for the [NRPE] section string_length which is the length of the NRPE strings
    255    (notice you need to recompile the check_nrpe to match this value)
    256  * Improved exception handling in the PDH collector (hopefully less deadlocks)
    257
    258 2008-02-11 MickeM
    259  + Added encryption support for NSCA module (about half of the algorithms are available,
    260      if someone wants to use one not available let me know, and I will try to add it)
    261
    262 2008-02-09 MickeM
    263  + New module CheckExternalScripts to handle 1, external script (similar to the old NRPE but in its own module)
    264    - Can Check batch/vbs/programs/*
    265    - Works with NSCA module (if you don't want to have NRPE at the same time)
    266    - Simpler syntax (discarded old and added new section for alias)
    267    - Started to add "sample alias" to ease initial setup and give some nice ideas (please provide me with feedback on them)
    268
    269 2008-02-08 MickeM
    270  + Added some more default catch handlers (on the "core" side of plugin-calls).
    271
    272 2008-02-07 MickeM
    273  + Added default catch handlers to all wrapped plug in calls.
    274
    275 2008-02-05 MickeM
    276  * Fixed issue with checkEventLog (sometimes you got the wrong message back)
    277
    278 2008-02-04 MickeM
    279  *** Happy Birthday bogi!! :)
    280  * Fixed issues with performance counter rendering (mainly checkDisk)
    281
    282 2008-02-03 MickeM
    283  + Added encryption subsystem to NSCA module (still no mcrypt support, but at least you have "xor" and passwords)
    284  + Added API for scripts to register commands
    285  + Added command descriptions (for some modules)
    286  * Fixed issue in NRPE that displayed a console window when running commands
    287  * New improved "inject" dialog from the system tray
    288    Lists available commands, and shows command descriptions and a lot of other improvements.
    289  + Added an internal log windows that displays log in real-time.
    290  + Fixed some issues with the dialog procs (should work smoother now, especially Termination)
    291
    292 2008-02-02 MickeM
    293  * Might have fixed the "missing eventlog messages" problem.
    294  + Added %count% parameter to syntax which (when used with unique) will display the number of hits for each message displayed.
    295
    296 2008-01-27 MickeM
    297  * Fixed a memory-leak in format_time
    298  * Fixed so time/date is displayed in "local time" (not UTC) for the eventlog check
    299  + Added %message% to eventlog check. Will display the "proper formated eventlog message" as in the eventlog viewer.
    300    For this to work you need to have the descriptions flag set
    301    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
    302  + Added option "unique" to CheckEventLog If this is present only unique errors will be returned.
    303    The uniqueness is defined by event-log, event-source, event-id and event-category.
    304
    305 2007-12-16 MickeM
    306  + A lot of new features in the LUA module only "arguments" missing (as well as exposing more of the API)
    307  * Changed some exceptions that were thrown wrong
    308
    309 2007-12-11 MickeM
    310  + Added support for index-lookups of PDH counters (hopefully *all* locale problems are now fixed (yeah right))
    311
    312 2007-12-10 MickeM
    313  + Added initial draft for LUA module
    314
    315 2007-12-09 MickeM
    316  + Added a check if the service is started when running with /test so you get a warning
    317  + Improved the socket thread with:
    318     * a default-catch
    319     * If the socket fails to start we still wait for it to shut down (no error message)
    320  + Added first version of the NSCA agent (NSCAgent.dll)
    321    (no encryption support as of yet, but will come)
    322
    323 2007-12-04 MickeM
    324  ! 0.3.0 Released
    325
    326 2007-12-01 MickeM
    327  * Fixed issue with date formating in FILEAGE
    328
    329 2007-11-29 MickeM
    330  * Fixed issue with date formating in FILEAGE
    331
    332 2007-11-28 MickeM
    333  ! 0.3.0 RC-1
    334  * Fixed some UNICODE issues with process-listings
    335  + Added an error message if the "detected" process enumeration method is not available.
    336  + Fixed some more Unicode issues Password encrypt/decrypt: #107
    337  * Fixed Unicode issues with "external programs" #109
    338  * Fixed so default string for check_nt:s FILEAGE command is "delta" is 5 minutes ago (and not absolute ie. 1970...), Issue #39
    339  + added support for  <date strings> to check_nt:s FILEAGE command, Issue #39
    340     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 ...
    341     Only the above listed %<char> works, and default to 0 so might not be to pretty but works...
    342
    343 2007-11-26 MickeM
    344  + Fixed a socket issue (erroneously reported "Could not read NSClient packet from socket :(")
    345  * More 2k5 build tweaks
    346
    347 2007-11-23 MickeM
    348  * Converted to Unicode (damn sometimes I **HATE** C++)
    349  + Added support for escaping " on the /test syntax so now you can do: CheckWMI MaxCrit=3 "MinWarn=1" "Query:load=Select * from win32_Processor"
    350
    351 2007-11-22 MickeM
    352  * Fixed so the "default path" is correct even when running as a service (issue: #96)
    353
    354 2007-11-21 MickeM
    355  * Fixed process counter so checkProcState  now return the *correct* number (previously it was correct-1)
    356  * Fixed some missing exceptions that were not caught
    357  + Added "AliasCol" option to CheckWMIValue to allow a column to be used as "alias" for a result set:
    358      CheckWMIValue -a "Query=select Caption, ThreadCount from Win32_Process" MaxWarn=50 MaxCrit=100 Check:threads=ThreadCount AliasCol=Caption
    359     will give you: "System threads: 98 > warning, svchost.exe threads: 87 > warning"
    360  - Removed  from SVN (as it is old and outdated and no longer used)
    361
    362 2007-11-20 MickeM
    363  + Added new option to CheckSystem to override detected language (force_language=0x0014)
    364
    365 2007-11-19 MickeM
    366  * Fixed a minor issue in reading registry keys
    367  + Added -noboot option to startup used for running command line utilities without booting the client
    368    "nsclient++ -noboot RemoteConfigruation ini2reg" for instance
    369  + Added fall back to try <module> and <module>.dll if the module was not loaded (when running command lines)
    370  * Migrated 2008 project files to new name and back ported to 2005 project files.
    371
    372 2007-11-16 MickeM
    373  * Fixed an NRPE issue I added when I improved the sockets_timeout (now SSL works as well :).
    374  + Added sample VBS script and definitions
    375
    376 2007-11-15 MickeM
    377  * Improved error message when external NRPE command failles.
    378
    379 2007-11-14 MickeM
    380  + Added multi-line output support ( issue #91 )
    381  * Improved error handling for external commands
    382  * Fixed an issue with NRPE/NSClient socket-reading (introduced by the socket_timeout)
    383  + Added an English fall back if "local" language PDH counters fail.
    384
    385 2007-11-12 MickeM
    386  + Added option to configure socket_timeouts (default is now 30 seconds) should (I hope) fix issue #85
    387
    388 2007-11-11 MickeM
    389  + Added option to configure the behavior of CheckService CheckAll (#64)
    390
    391 2007-11-08 MickeM
    392  + Added CheckWMIValue to check result-values from a WMI Query
    393  * Changed so performance values are "collapsed" i.e. 75362115584 = 70.0G (#89)
    394     If anyone don't want this let me know and I will make an option for it.
    395
    396 2007-11-06 MickeM
    397  + Added CLI interface to CheckWMI to check queries
    398
    399 2007-11-04 MickeM
    400  * Rewritten WMI handling as well as checks so things should be more useful now (cf. the wiki page for details)
    401
    402 2007-10-29 MickeM
    403  * Restructured build and include to work from CLI
    404  + Started to add makefiles to build from CLI
    405  + Added Finnish counters (#98)
    406  * Fixed performance counter issue with check_nt (#99)
    407  
    408 2007-10-06 MickeM
    409  + Added auto-upda-te of versions and dates on build to make versions better updated.
    410  + Fixed x64 build and cleanup a bit.
    411
    412 2007-09-15 MickeM
    413  + Added better error messages (now return codes are displayed as text). Not implemented all over yet but the infrastructure is there.
    414
    415 2007-09-11 MickeM
    416  + Added Dutch performance counters to counters.defs
    417  + Added Spanish performance counters to counters.defs
    418  + Added #69 [includes] directive to INI-file to include other files
    419  * Fixed #75 (spelling issue)
    420
    421 2007-06-23 MickeM
    422  * 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...
    423  * Fixed the "check memory" issues for real this time.
    424  * 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.
    425
    426 2007-06-20 MickeM
    427  * Fixed #24 crash in NSClient++.exe CheckSystem listpdh | debugpdh
    428  * Fixed #62 Problems with CheckServiceState and services with spaces.
    429
    430 2007-03-06 MickeM
    431  ! 0.2.7 released
    432
    433 2007-03-05 MickeM
    434  * Fixed -v FILEAGE check_nt (NSClient) check.
    435  * Added license agreement header to all files
    436
    437 2007-03-04 MickeM
    438  + Added script_dir option to NRPE section as well as some sample scripts in the scripts/
    439    subdirectory. The script_dir will use all files in this directory as scripts for NRPE
    440  + Added Japanese counters to counters.defs from patch (thanx!!!)
    441
    442 2007-02-25 MickeM
    443  + Added possibility to check many memory checks in one go, just stack type options.
    444      type=paged type=physical etc...
    445  * Fixed a performance check bug in the last nightly.
    446  * Fixed a potential crash when a malformed check-file-age command was issued.
    447  + Added support for more then and NSClient command
    448  + Added net mask support to allowed_hosts (try with 192.168.0.1/24 and such)
    449  
    450 2007-02-22 MickeM
    451  + Added debug output to see if the socket is bound and/or has shutdown.
    452  * Fixed a potential bug in the thread manager.
    453  + Added configuration option for suppressing performance data to the NRPE section.
    454    Set performance_data=0 to stop sending performance data to nagios
    455  + New (better?) (simpler?) event log checking
    456  + Added option to most commands (ignore-perf-data) to suppress performance data
    457  + Added option CheckAll for checking all auto-start services to checkServiceState.
    458    Also an exclude=<service> to exclude checking that.
    459  * Fixed return syntax for PROCSTATE nsclient
    460
    461 2007-02-21 MickeM
    462  * Fixed "broken password check" (again) in NSClient listener (this time it is correct! :)
    463
    464 2006-12-02 MickeM
    465  + Managed to build so it works on NT 4.0 (SP6a) and W2K3
    466  * Fixed "broken password check" in NSClient listener
    467
    468 2006-11-18 MickeM
    469  + Added support for empty NRPE checking (i.e.. chec_nrpe without a -c argument)
    470  * Added error message when detected language is missing from counters.defs
    471  + Added Swedish locale to counters.defs (yes, I switched to Swedish XP on my computer :)
    472  * Fixed : (and possibly other problems) in counters when checking from check_nt (via NSCLient protocol)
    473  + Added CheckAllExcept to CheckDrive to check all except the specified drives.
    474  * Fixed a display error in the various size functions (1000-1024 byte was displayed incorrectly)
    475
    476 2006-10-05 MickeM
    477  * Yayyy!!! (first fix in a looong while :)
    478  * Fixed a W2k3 "bug" (actually just an incorrect error) but the:
    479    "e .\PDHCollector.cpp(130) Failed to query performance counters..." is no more...
    480  + Added option to NRPE/NSClient section to not-cache host names (for dyndns etc.)
    481    NOTICE this is "not safe" really in so far as someone might hi-jack your DNS and quickly gain
    482    access to your nagios box (probably only a theoretical problem but hey! :)
    483    NOTICE this is "slow" since all hosts in the list are "looked up" each time you get a NRPE/NSClient
    484    request it will be "slow" but I think it is not that much of a problem really.
    485    NOTICE I don't have the possibility to test this so feel free to report if it works and if it doesn't.
    486    Set cache_allowed_hosts=0 to disable host cache
    487
    488 2006-04-04 MickeM
    489  * Fixed a few more bugs to the INI/REG readers
    490
    491 2006-04-02 MickeM
    492  * Could all magicians stop trying to kill me?
    493    *Please* i don't like to die!
    494
    495 2006-03-31 MickeM
    496  * Damn necromancers! stop 0wning my ass all the time!
    497  
    498 2006-03-29 MickeM
    499  + Added API for saving/reading settings
    500  
    501 2006-03-28 MickeM
    502  + Added REG/INI parsers
    503  * *NOTICE* You need to add an option (use_file=1) to your nsc.ini file or new builds wont work.
    504
    505 2006-03-25 MickeM
    506  * Oblivion f*cking roxx!
    507
    508 2006-03-02 MickeM
    509  * Fixed bug in INI-file reader (memory leak)
    510
    511 2006-03-01 MickeM
    512  * Fixed bug in CheckFile (now dates work correctly)
    513
    514 2006-02-26 MickeM
    515  + Added syntax option to CheckFile (%filename%, %creation%, %access%, %write%, %size%).
    516
    517 2006-02-25 MickeM
    518  * Fixed Sections problem (now sections can be any size)
    519  + Added bind_to_address option to both NRPE and NSClient section in the INI file.
    520    Allows you to bind the listener to a specific IP address (only dotted number not host name).
    521    This might break things as I had to do some internal rewrite of the Socket classes so be careful :)
    522  * Disabled default-debug logging (as things are fairly stable, you can still enable it by using debug=1 in the NSC:ini file)
    523  * "Fixed" socket backlog to use "max responsible value" as opposed to "10" if no value is specified.
    524  + Added option socket_back_log to both NRPE and NSClient section that allows you to tweak the "back-log" of incoming connections to keep.
    525    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.
    526    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.
    527  - 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.
    528  * Moved listpdh and debugpdh into the CheckSystem module
    529  * Removed PDH dependencies from "core exe" means you can run NSClient++ without PDH (though you cant use the CheckSystem module)
    530  
    531 2006-02-2? MickeM
    532  + Added new Interface for Modules (NSCommandLineExec that allows modules to execute things give from command line.
    533    Syntax is NSClient++ <module name> <command> [arguments] and if a module doesn't support this it is simply ignored.
    534  + Added new install/uninstall command to SystemTray module:
    535    NSClient++.exe SystemTray install
    536    NSClient++.exe SystemTray uninstall
    537    That will install/uninstall the system tray module this sets the "Allow Service to Interact with Desktop" flag for the service.
    538  * 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).
    539  * Fixed so checkProcess isn't case sensitive.
    540  * Added (not finished) syntax option to event log checker to format the outputted data
    541
    542 2006-02-12 MickeM
    543  + Added support for host name resolve to allowed_hosts
    544
    545 2006-02-08 MickeM
    546  ! Fixed filter-eventID in EventLog module (now works for all IDs regardless of severity state)
    547  + Added new filters to EventLog (filter-severity that can filter based on event severity success, error, warning, informational)
    548
    549 2006-02-07 MickeM
    550  + Added new filter option to eventlog filter-eventID
    551  + Added new operator to all numeric filters in:number,number,... etc. (for instance filter-eventID=in:123,456,789 to check for lists.
    552
    553 2006-02-05 MickeM
    554  + Added CheckFile check command
    555    This new command (in development) will allow various file checks such as age, size, date, etc on single or multiple files.
    556  + Added FILEAGE support to NSClient
    557  + Started to convert the web page to WIKI
    558  
    559 2006-01-21 MickeM
    560  + Added WMI Check module (early alpha)
    561    This is an extremely early alpha more to see if there is an interest and how to progress with it.
    562    To use the WMI module enable the WMICheck.dll (nsc.ini) and then run the following check:
    563    CheckWMI MaxWarn=10 MaxCrit=15 "Query:load=Select LoadPercentage from win32_Processor"
    564    The Max* are as every other check and sets limits.
    565    The Query works similarly to other check commands i.e.. Query:<name>=<WMI query>
    566    So any other WMI query should work (notice this is experimental and not stable and has virtually
    567    no error handling so it is likely to crash nsclient if you ask anything "non working".)
    568    I would *really* *really* like to get feedback on how to expand this concept to work better so feel free to come with feedback.
    569   * Fixed NT4 /install (should work now!)
    570
    571 2006-01-02 MickeM
    572  * Fixed ChangeServiceConfig2 on NT4
    573  + Added support for more then 4GB memory (8GB?)
    574    Since I don't have this much memory this needs to be verified...
    575  * Fixed syntax of performance data
    576
    577 2005-09-24 MickeM
    578  * Fixed memory size bug (free and used were swapped)
    579
    580 2005-09-20 MickeM
    581  + Added option to debug all PDH counters /debugpdh
    582
    583 2005-09-17 MickeM
    584  + Added support for checking service by display name
    585
    586 2005-09-03 MickeM
    587  * First off, sorry for lack of updates, but was on vacation :)
    588  + Added ShowAll=long to CPULoad
    589  + Added several new types to checkMem (type=paged, type=physical, type=page, type=virtual)
    590
    591 2005-07-31 MickeM
    592  + /install now sets the service to autostart
    593  * Did some cleanup of minor code sections
    594  * (done before but not reported i think) /listpdh option added to list all PDH counters (nsclient++ /listpdh)
    595  + Added service description
    596  * Event log reworked (again) this time I hope it is better (and even useful, but syntax has changed)
    597
    598 2005-07-26 MickeM
    599  + Added support for ShowAll=long (to show long and short info, only applies to some areas, but available everywhere)
    600  + Extended Drive and memory check syntax to facilitate both Free and Used space checks: MaxWarnFree / MaxWarnUsed etc)
    601
    602 2005-07-19 MickeM
    603  * Changed thread API to use _creatthreadex as opposed to _creatthread (works better now!)
    604  * Fixed UNKNOWN return code (was 4 should have been 3)
    605
    606 2005-07-16 MickeM
    607  * Fixed drive checks from NSClient
    608
    609 2005-07-11 MickeM
    610  * *ALOT* of bug fixes and enhancements all checking code has been centralized and rewritten also my internal check scripts
    611    have been extended to check a lot more things.
    612    *NOTICE* that EventLog has not been upgraded yet neither has the documentation.
    613  + Added MaxWarnCount / MinWarnCount to checkProcState to check number of processes running
    614
    615 2005-06-09 MickeM
    616  * Escapes " in NRPE commands in the NSC.ini
    617
    618 2005-06-05 MickeM
    619  * Created configuration interface (not released yet)
    620
    621 2005-06-03 MickeM
    622  * Created interactive installer (not released yet)
    623
    624 2005-06-02 MickeM
    625  * CheckEventLog reworked...
    626
    627 2005-06-01 MickeM
    628  * CheckSystem auto detects windows version and language.
    629
    630 2005-05-29 MickeM
    631  * Fixed PROCSTATE and SERVICESTATE return state.
    632  + Added support for individual size in CheckDriveSize and CheckFileSize (size has to be specified before a drive/path)
    633  * Fixed performance data for drives (and possibly other places)
    634
    635 2005-05-23 MickeM
    636  + Added obfuscated password support
    637  + Added some more debug info on commands (return code, and input args)
    638  + Added some more comments to the NSC.ini
    639  + Added central password "override"
    640  + Added central "host override"
    641  + Fixed bug with external commands always getting WARNING state
    642
    643 2005-05-22 MickeM
    644  + Added debug output for command
    645  + Added timestamps for log-to-file (date_mask to configure format)
    646  + Added support for "no password" with check_nt
    647  + Added log of bad password on NSClient requests.
    648  * Some threading issues fixed (I hate threading :)
    649
    650 2005-05-19 MickeM
    651  * Verified NT4 compatibility
    652
    653 2005-05-18 MickeM
    654  * Fixed bug in NSC.ini (section title for Check System was wrong)
    655  + Added multitasking for plug-ins (now two plug-ins can handle requests simultaneously)
    656  * Fixed some minor issues here and there
    657
    658 2005-05-15 MickeM
    659  + Added NRPE support for checkCounter
    660  + Updated documentation
    661  * Make check commands ignore case
    662  + Added CheckHelpers module to alter the result of various check and similar things
    663
    664 2005-05-14 MickeM
    665  + Added support for Volumes (CheckDisk)
    666  + Added support for checking all drives of a certain kind
    667  + Added support for altering filter (makes it possible to check removable drives)
    668  + Created web page and better documentation
    669
    670 2005-04-20 MickeM
    671  + Added multitasking to socket listener (it can now handle multiple connections)
    672  * Fixed bug in NSClientListener now "seqv" in check_nt shouldn't happen.
    673  + Added COUNTER support to NSClient and CheckSystem
    674
    675 2005-04-19 MickeM
    676  + Added SSL support
    677  + Added a lot of new options
    678  + Added documentation
    679  * Renamed and restructured NSCLientCompat to CheckSystem
    680  * *ALOT* of fixes all over
    681  : We are now starting to get to something that is "stable"
    682  : This means that soon you might actually be able to use this.
    683  
    684 2005-03-28 MickeM
    685  * Changed the Thread class a bit (mutex -> signal, and CreatThread does not return the instance)
    686  * Moved settings "keys" fro NRPE to config.h
    687  * Changed build options (added Distribution) which builds a zip file under ./dist (requires 7z installed)
    688  * Minor tweaks to error/debug logging and small fixes "here and there"
    689
    690 2005-03-26 MickeM
    691  + NRPE Support (very basic, no encryption, and nothing fancy)
    692  * Socket classes rewritten
    693  + Added NSCModuleHelper::getSettingsSection to the API
    694
    695 2005-03-22 MickeM
    696  * Fixed NSClientListener return codes for basic commands
    697  * Extracted arrayBuffer code into new files under /include
    698  * Minor tweaks in the API (fixed minor issues)
    699  + Added some basic "tests" to a few commands (getToken, and arrayBuffer related)
    700
    701 2005-03-21 MickeM
    702  * Fixed BUG in inject command (now things should "work" again, but far from stable)
    703  + Added NRPE return code
    704  * Fixed some return states to NSClientListener (not verified yet, but soon they will be back in order :)
    705
    706 2005-03-20 MickeM
    707  * Fundamental API changes (due to NRPE compatibility)
    708    - HandleCommand has changed
    709    - Inject has changed
    710    - Most API calls have new "return codes" (typedef:ed INT to allow for return code compiler checks)
    711    - A lot of the old return codes have changed
    712  + Preliminary NRPE support (can parse and execute incoming requests, cant return data yet, and no encryption)
    713  + New SimpleSocket in include/ will be used as base class for Listeners
    714  * A lot of rewrite to the NSC API
    715
    716 2005-03-19 MickeM
    717  * Re factored out NSCLient Listener as a separate module
    718  + Added initial NRPE listener module (not yet implemented only a shell)
    719  * Changed Module API (Inject function has new syntax)
    720  + Added some tokenizer function to charEx
    721  + Added new wrapper function to inject Command
    722  * Minor changes in relation to refactor work
    723
    724 2005-03-01 MickeM
    725  * Improved thread safety in Core
    726  + Added exception handling and logging in PDH code
    727  * Various fixes all over the place
    728  + New module for check size of files/directories
    729  * Changed build to Dynamic link
    730  * Added regular expression support for EventLog checker
    731
    732 2005-02-22 MickeM
    733  + Added documentation
    734
    735 2005-02-17 MickeM
    736  * NSClient issues fixed
    737  * System Tray issues fixed
    738
    739 2005-02-14 MickeM
    740  * Initial SourceForge release
    Note: See TracBrowser for help on using the browser.