source: nscp/changelog @ df0ab60

0.4.00.4.10.4.2stable
Last change on this file since df0ab60 was df0ab60, checked in by Michael Medin <michael@…>, 5 years ago

2007-11-21 MickeM

  • Fixed process counter so checkProcState now return the *correct* number (previously it was correct-1)
  • Fixed som missing exceptions that were not caught + Added "AliasCol?" option to CheckWMIValue to allow a column to be used as "alias" for a result set:

CheckWMIValue -a "Query=select Caption, ThreadCount? from Win32_Process" MaxWarn=50 MaxCrit=100 Check:threads=ThreadCount AliasCol?=Caption

will give you: "System threads: 98 > warning, svchost.exe threads: 87 > warning"

  • Property mode set to 100644
File size: 17.4 KB
Line 
1TODO:
2 * Process times and similar ?
3 * Fix configuration GUI (low priority)
4 * Fix installer (after configuration UI)
5 * Add module for relaying events
6 * Add API for rehashing the daemon (or implement it the API is there but does nothing)
7
82007-11-21 MickeM
9 * Fixed process counter so checkProcState  now return the *correct* number (previously it was correct-1)
10 * Fixed som missing exceptions that were not caught
11 + Added "AliasCol" option to CheckWMIValue to allow a column to be used as "alias" for a result set:
12     CheckWMIValue -a "Query=select Caption, ThreadCount from Win32_Process" MaxWarn=50 MaxCrit=100 Check:threads=ThreadCount AliasCol=Caption
13    will give you: "System threads: 98 > warning, svchost.exe threads: 87 > warning"
14
152007-11-20 MickeM
16 + Added new option to CheckSystem to override detected language (force_language=0x0014)
17
182007-11-19 MickeM
19 * Fixed a minor issue in reading registry keys
20 + Added -noboot option to startup used for running command line utilities without booting the client
21   "nsclient++ -noboot RemoteConfigruation ini2reg" for instance
22 + Added fallback to try <module> and <module>.dll if the module was nhot loaded (when running command lines)
23 * Migrated 2008 project files to new name and backported to 2005 project files.
24
252007-11-16 MickeM
26 * Fixed an NRPE issue I added when I improved the sockets_timeout (now SSL works as well :).
27 + Added sample VBS script and defenitions
28
292007-11-15 MickeM
30 * Improved error message when external NRPE command failes.
31
322007-11-14 MickeM
33 + Added multi-line output support ( issue #91 )
34 * Improved error handling for external commands
35 * Fixed an issue with NRPE/NSClient socket-reading (introduced by the socket_timeout)
36 + Added an english fallback if "local" language PDH counters fail.
37
382007-11-12 MickeM
39 + Added option to configure socket_timeouts (default is now 30 seconds) should (I hope) fix issue #85
40
412007-11-11 MickeM
42 + Added option to configure the behavior of CheckService CheckAll (#64)
43
442007-11-08 MickeM
45 + Added CheckWMIValue to check result-values from a WMI Query
46 * Changed so performance values are "collapsed" i.e. 75362115584 = 70.0G (#89)
47    If anyone don't want this let me know and I will make an option for it.
48
492007-11-06 MickeM
50 + Added CLI interface to CheckWMI to check queries
51
522007-11-04 MickeM
53 * Rewritten WMI handling as well as checks so things should be more useful now (cf. the wiki page for details)
54
552007-10-29 MickeM
56 * Restructured build and include to work from CLI
57 + Started to add makefiles to build from CLI
58 + Added Finnish counters (#98)
59 * Fixed performance counter issue with check_nt (#99)
60 
612007-10-06 MickeM
62 + Added auto-upda-te of versions and dates on build to make versions better updated.
63 + Fixed x64 build and cleanup a bit.
64
652007-09-15 MickeM
66 + Added better error messages (now return codes are displayed as text). Not implemented all over yet but the infrastructure is there.
67
682007-09-11 MickeM
69 + Added Dutch performance counters to counters.defs
70 + Added Spanish performance counters to counters.defs
71 + Added #69 [includes] directive to INI-file to include other files
72 * Fixed #75 (spelling issue)
73
742007-06-23 MickeM
75 * 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...
76 * Fixed the "check memory" issues for real this time.
77 * 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.
78
792007-06-20 MickeM
80 * Fixed #24 crash in NSClient++.exe CheckSystem listpdh | debugpdh
81 * Fixed #62 Problems with CheckServiceState and services with spaces.
82
832007-03-06 MickeM
84 ! 0.2.7 released
85
862007-03-05 MickeM
87 * Fixed -v FILEAGE check_nt (NSClient) check.
88 * Added license agreement header to all files
89
902007-03-04 MickeM
91 + Added script_dir option to NRPE section as well as some sample scripts in the scripts/
92   subdirectory. The script_dir will use all files in this directory as scripts for NRPE
93 + Added Japanese counters to counters.defs from patch (thanx!!!)
94
952007-02-25 MickeM
96 + Added possibility to check many memory checks in one go, just stack type options.
97     type=paged type=physical etc...
98 * Fixed a performance check bug in the last nightly.
99 * Fixed a potential crash when a malformed check-file-age command was issued.
100 + Added support for more then and NSClient command
101 + Added net mask support to allowed_hosts (try with 192.168.0.1/24 and such)
102 
1032007-02-22 MickeM
104 + Added debug output to see if the socket is bound and/or has shutdown.
105 * Fixed a potential bug in the thread manager.
106 + Added configuration option for suppressing performance data to the NRPE section.
107   Set performance_data=0 to stop sending performance data to nagios
108 + New (better?) (simpler?) event log checking
109 + Added option to most commands (ignore-perf-data) to suppress performance data
110 + Added option CheckAll for checking all auto-start services to checkServiceState.
111   Also an exclude=<service> to exclude checking that.
112 * Fixed return syntax for PROCSTATE nsclient
113
1142007-02-21 MickeM
115 * Fixed "broken password check" (again) in NSClient listener (this time it is correct! :)
116
1172006-12-02 MickeM
118 + Managed to build so it works on NT 4.0 (SP6a) and W2K3
119 * Fixed "broken password check" in NSClient listener
120
1212006-11-18 MickeM
122 + Added support for empty NRPE checking (i.e.. chec_nrpe without a -c argument)
123 * Added error message when detected language is missing from counters.defs
124 + Added Swedish locale to counters.defs (yes, I switched to Swedish XP on my computer :)
125 * Fixed : (and possibly other problems) in counters when checking from check_nt (via NSCLient protocol)
126 + Added CheckAllExcept to CheckDrive to check all except the specified drives.
127 * Fixed a display error in the various size functions (1000-1024 byte was displayed incorrectly)
128
1292006-10-05 MickeM
130 * Yayyy!!! (first fix in a looong while :)
131 * Fixed a W2k3 "bug" (actually just an incorrect error) but the:
132   "e .\PDHCollector.cpp(130) Failed to query performance counters..." is no more...
133 + Added option to NRPE/NSClient section to not-cache host names (for dyndns etc.)
134   NOTICE this is "not safe" really in so far as someone might hi-jack your DNS and quickly gain
135   access to your nagios box (probably only a theoretical problem but hey! :)
136   NOTICE this is "slow" since all hosts in the list are "looked up" each time you get a NRPE/NSClient
137   request it will be "slow" but I think it is not that much of a problem really.
138   NOTICE I don't have the possibility to test this so feel free to report if it works and if it doesn't.
139   Set cache_allowed_hosts=0 to disable host cache
140
1412006-04-04 MickeM
142 * Fixed a few more bugs to the INI/REG readers
143
1442006-04-02 MickeM
145 * Could all magicians stop trying to kill me?
146   *Please* i don't like to die!
147
1482006-03-31 MickeM
149 * Damn necromancers! stop 0wning my ass all the time!
150 
1512006-03-29 MickeM
152 + Added API for saving/reading settings
153 
1542006-03-28 MickeM
155 + Added REG/INI parsers
156 * *NOTICE* You need to add an option (use_file=1) to your nsc.ini file or new builds wont work.
157
1582006-03-25 MickeM
159 * Oblivion f*cking roxx!
160
1612006-03-02 MickeM
162 * Fixed bug in INI-file reader (memory leak)
163
1642006-03-01 MickeM
165 * Fixed bug in CheckFile (now dates work correctly)
166
1672006-02-26 MickeM
168 + Added syntax option to CheckFile (%filename%, %creation%, %access%, %write%, %size%).
169
1702006-02-25 MickeM
171 * Fixed Sections problem (now sections can be any size)
172 + Added bind_to_address option to both NRPE and NSClient section in the INI file.
173   Allows you to bind the listener to a specific IP address (only dotted number not host name).
174   This might break things as I had to do some internal rewrite of the Socket classes so be careful :)
175 * Disabled default-debug logging (as things are fairly stable, you can still enable it by using debug=1 in the NSC:ini file)
176 * "Fixed" socket backlog to use "max responsible value" as opposed to "10" if no value is specified.
177 + Added option socket_back_log to both NRPE and NSClient section that allows you to tweak the "back-log" of incoming connections to keep.
178   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.
179   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.
180 - 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.
181 * Moved listpdh and debugpdh into the CheckSystem module
182 * Removed PDH dependencies from "core exe" means you can run NSClient++ without PDH (though you cant use the CheckSystem module)
183 
1842006-02-2? MickeM
185 + Added new Interface for Modules (NSCommandLineExec that allows modules to execute things give from command line.
186   Syntax is NSClient++ <module name> <command> [arguments] and if a module doesn't support this it is simply ignored.
187 + Added new install/uninstall command to SystemTray module:
188   NSClient++.exe SystemTray install
189   NSClient++.exe SystemTray uninstall
190   That will install/uninstall the system tray module this sets the "Allow Service to Interact with Desktop" flag for the service.
191 * 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).
192 * Fixed so checkProcess isn't case sensitive.
193 * Added (not finished) syntax option to event log checker to format the outputted data
194
1952006-02-12 MickeM
196 + Added support for host name resolve to allowed_hosts
197
1982006-02-08 MickeM
199 ! Fixed filter-eventID in EventLog module (now works for all IDs regardless of severity state)
200 + Added new filters to EventLog (filter-severity that can filter based on event severity success, error, warning, informational)
201
2022006-02-07 MickeM
203 + Added new filter option to eventlog filter-eventID
204 + Added new operator to all numeric filters in:number,number,... etc. (for instance filter-eventID=in:123,456,789 to check for lists.
205
2062006-02-05 MickeM
207 + Added CheckFile check command
208   This new command (in development) will allow various file checks such as age, size, date, etc on single or multiple files.
209 + Added FILEAGE support to NSClient
210 + Started to convert the web page to WIKI
211 
2122006-01-21 MickeM
213 + Added WMI Check module (early alpha)
214   This is an extremely early alpha more to see if there is an interest and how to progress with it.
215   To use the WMI module enable the WMICheck.dll (nsc.ini) and then run the following check:
216   CheckWMI MaxWarn=10 MaxCrit=15 "Query:load=Select LoadPercentage from win32_Processor"
217   The Max* are as every other check and sets limits.
218   The Query works similarly to other check commands i.e.. Query:<name>=<WMI query>
219   So any other WMI query should work (notice this is experimental and not stable and has virtually
220   no error handling so it is likely to crash nsclient if you ask anything "non working".)
221   I would *really* *really* like to get feedback on how to expand this concept to work better so feel free to come with feedback.
222  * Fixed NT4 /install (should work now!)
223
2242006-01-02 MickeM
225 * Fixed ChangeServiceConfig2 on NT4
226 + Added support for more then 4GB memory (8GB?)
227   Since I don't have this much memory this needs to be verified...
228 * Fixed syntax of performance data
229
2302005-09-24 MickeM
231 * Fixed memory size bug (free and used were swapped)
232
2332005-09-20 MickeM
234 + Added option to debug all PDH counters /debugpdh
235
2362005-09-17 MickeM
237 + Added support for checking service by display name
238
2392005-09-03 MickeM
240 * First off, sorry for lack of updates, but was on vacation :)
241 + Added ShowAll=long to CPULoad
242 + Added several new types to checkMem (type=paged, type=physical, type=page, type=virtual)
243
2442005-07-31 MickeM
245 + /install now sets the service to autostart
246 * Did some cleanup of minor code sections
247 * (done before but not reported i think) /listpdh option added to list all PDH counters (nsclient++ /listpdh)
248 + Added service description
249 * Event log reworked (again) this time I hope it is better (and even useful, but syntax has changed)
250
2512005-07-26 MickeM
252 + Added support for ShowAll=long (to show long and short info, only applies to some areas, but available everywhere)
253 + Extended Drive and memory check syntax to facilitate both Free and Used space checks: MaxWarnFree / MaxWarnUsed etc)
254
2552005-07-19 MickeM
256 * Changed thread API to use _creatthreadex as opposed to _creatthread (works better now!)
257 * Fixed UNKNOWN return code (was 4 should have been 3)
258
2592005-07-16 MickeM
260 * Fixed drive checks from NSClient
261
2622005-07-11 MickeM
263 * *ALOT* of bug fixes and enhancements all checking code has been centralized and rewritten also my internal check scripts
264   have been extended to check a lot more things.
265   *NOTICE* that EventLog has not been upgraded yet neither has the documentation.
266 + Added MaxWarnCount / MinWarnCount to checkProcState to check number of processes running
267
2682005-06-09 MickeM
269 * Escapes " in NRPE commands in the NSC.ini
270
2712005-06-05 MickeM
272 * Created configuration interface (not released yet)
273
2742005-06-03 MickeM
275 * Created interactive installer (not released yet)
276
2772005-06-02 MickeM
278 * CheckEventLog reworked...
279
2802005-06-01 MickeM
281 * CheckSystem auto detects windows version and language.
282
2832005-05-29 MickeM
284 * Fixed PROCSTATE and SERVICESTATE return state.
285 + Added support for individual size in CheckDriveSize and CheckFileSize (size has to be specified before a drive/path)
286 * Fixed performance data for drives (and possibly other places)
287
2882005-05-23 MickeM
289 + Added obfuscated password support
290 + Added some more debug info on commands (return code, and input args)
291 + Added some more comments to the NSC.ini
292 + Added central password "override"
293 + Added central "host override"
294 + Fixed bug with external commands always getting WARNING state
295
2962005-05-22 MickeM
297 + Added debug output for command
298 + Added timestamps for log-to-file (date_mask to configure format)
299 + Added support for "no password" with check_nt
300 + Added log of bad password on NSClient requests.
301 * Some threading issues fixed (I hate threading :)
302
3032005-05-19 MickeM
304 * Verified NT4 compatibility
305
3062005-05-18 MickeM
307 * Fixed bug in NSC.ini (section title for Check System was wrong)
308 + Added multitasking for plug-ins (now two plug-ins can handle requests simultaneously)
309 * Fixed some minor issues here and there
310
3112005-05-15 MickeM
312 + Added NRPE support for checkCounter
313 + Updated documentation
314 * Make check commands ignore case
315 + Added CheckHelpers module to alter the result of various check and similar things
316
3172005-05-14 MickeM
318 + Added support for Volumes (CheckDisk)
319 + Added support for checking all drives of a certain kind
320 + Added support for altering filter (makes it possible to check removable drives)
321 + Created web page and better documentation
322
3232005-04-20 MickeM
324 + Added multitasking to socket listener (it can now handle multiple connections)
325 * Fixed bug in NSClientListener now "seqv" in check_nt shouldn't happen.
326 + Added COUNTER support to NSClient and CheckSystem
327
3282005-04-19 MickeM
329 + Added SSL support
330 + Added a lot of new options
331 + Added documentation
332 * Renamed and restructured NSCLientCompat to CheckSystem
333 * *ALOT* of fixes all over
334 : We are now starting to get to something that is "stable"
335 : This means that soon you might actually be able to use this.
336 
3372005-03-28 MickeM
338 * Changed the Thread class a bit (mutex -> signal, and CreatThread does not return the instance)
339 * Moved settings "keys" fro NRPE to config.h
340 * Changed build options (added Distribution) which builds a zip file under ./dist (requires 7z installed)
341 * Minor tweaks to error/debug logging and small fixes "here and there"
342
3432005-03-26 MickeM
344 + NRPE Support (very basic, no encryption, and nothing fancy)
345 * Socket classes rewritten
346 + Added NSCModuleHelper::getSettingsSection to the API
347
3482005-03-22 MickeM
349 * Fixed NSClientListener return codes for basic commands
350 * Extracted arrayBuffer code into new files under /include
351 * Minor tweaks in the API (fixed minor issues)
352 + Added some basic "tests" to a few commands (getToken, and arrayBuffer related)
353
3542005-03-21 MickeM
355 * Fixed BUG in inject command (now things should "work" again, but far from stable)
356 + Added NRPE return code
357 * Fixed some return states to NSClientListener (not verified yet, but soon they will be back in order :)
358
3592005-03-20 MickeM
360 * Fundamental API changes (due to NRPE compatibility)
361   - HandleCommand has changed
362   - Inject has changed
363   - Most API calls have new "return codes" (typedef:ed INT to allow for return code compiler checks)
364   - A lot of the old return codes have changed
365 + Preliminary NRPE support (can parse and execute incoming requests, cant return data yet, and no encryption)
366 + New SimpleSocket in include/ will be used as base class for Listeners
367 * A lot of rewrite to the NSC API
368
3692005-03-19 MickeM
370 * Re factored out NSCLient Listener as a separate module
371 + Added initial NRPE listener module (not yet implemented only a shell)
372 * Changed Module API (Inject function has new syntax)
373 + Added some tokenizer function to charEx
374 + Added new wrapper function to inject Command
375 * Minor changes in relation to refactor work
376
3772005-03-01 MickeM
378 * Improved thread safety in Core
379 + Added exception handling and logging in PDH code
380 * Various fixes all over the place
381 + New module for check size of files/directories
382 * Changed build to Dynamic link
383 * Added regular expression support for EventLog checker
384
3852005-02-22 MickeM
386 + Added documentation
387
3882005-02-17 MickeM
389 * NSClient issues fixed
390 * System Tray issues fixed
391
3922005-02-14 MickeM
393 * Initial SourceForge release
Note: See TracBrowser for help on using the repository browser.