| 1 | TODO: |
|---|
| 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 | |
|---|
| 8 | 2007-11-08 MickeM |
|---|
| 9 | + Added CheckWMIValue to check result-values from a WMI Query |
|---|
| 10 | * Changed so performance values are "collapsed" ie 75362115584 = 70.0G (#89) |
|---|
| 11 | If anyone dont want this let me know and I will make an option for it. |
|---|
| 12 | |
|---|
| 13 | 2007-11-06 MickeM |
|---|
| 14 | + Added CLI interface to CheckWMI to check queries |
|---|
| 15 | |
|---|
| 16 | 2007-11-04 MickeM |
|---|
| 17 | * Rewritten WMI handling as well as checks so things should be more usefull now (cf. the wiki page for details) |
|---|
| 18 | |
|---|
| 19 | 2007-10-29 MickeM |
|---|
| 20 | * Restructured build and include to work from CLI |
|---|
| 21 | + Started to add makefiles to build from CLI |
|---|
| 22 | + Added finnish counters (#98) |
|---|
| 23 | * Fixed performance counter issue with check_nt (#99) |
|---|
| 24 | |
|---|
| 25 | 2007-10-06 MickeM |
|---|
| 26 | + Added auto-upda-te of versions and dates on build to make versions better updated. |
|---|
| 27 | + Fixed x64 build and cleanup a bit. |
|---|
| 28 | |
|---|
| 29 | 2007-09-15 MickeM |
|---|
| 30 | + Added better error messages (now returncodes are displayed as text). Not implemented all over yet but the infrastructure is there. |
|---|
| 31 | |
|---|
| 32 | 2007-09-11 MickeM |
|---|
| 33 | + Added Dutch performance counters to counters.defs |
|---|
| 34 | + Added Spanish performance counters to counters.defs |
|---|
| 35 | + Added #69 [includes] directive to INI-file to include other files |
|---|
| 36 | * Fixed #75 (spelling issue) |
|---|
| 37 | |
|---|
| 38 | 2007-06-23 MickeM |
|---|
| 39 | * Might have fixed #53 I was not able to get the problem locally but I have fixed the problem ias at op5 discovered atleast... |
|---|
| 40 | * Fixed the "check memory" issues for real this time. |
|---|
| 41 | * Fixed problem with : in counter names #50 (anything starts with \ is considerd a counter so if you use aliases with \ this will break things for you. |
|---|
| 42 | |
|---|
| 43 | 2007-06-20 MickeM |
|---|
| 44 | * Fixed #24 crash in NSClient++.exe CheckSystem listpdh | debugpdh |
|---|
| 45 | * Fixed #62 Problems with CheckServiceState and services with spaces. |
|---|
| 46 | |
|---|
| 47 | 2007-03-06 MickeM |
|---|
| 48 | ! 0.2.7 released |
|---|
| 49 | |
|---|
| 50 | 2007-03-05 MickeM |
|---|
| 51 | * Fixed -v FILEAGE check_nt (NSClient) check. |
|---|
| 52 | * Added licence agreement header to all files |
|---|
| 53 | |
|---|
| 54 | 2007-03-04 MickeM |
|---|
| 55 | + Added script_dir option to NRPE scetion as well as some sample scripts in the scripts/ |
|---|
| 56 | subdirectory. The script_dir will use all files in this directory as scripts for NRPE |
|---|
| 57 | + Added japanese counters to counters.defs from patch (thanx!!!) |
|---|
| 58 | |
|---|
| 59 | 2007-02-25 MickeM |
|---|
| 60 | + Added possibility to check many memory checks in one go, just stack type options. |
|---|
| 61 | type=paged type=physical etc... |
|---|
| 62 | * Fixed a performance check bug in the last nightly. |
|---|
| 63 | * Fixed a potential crash when a maleformed check-file-age command was issued. |
|---|
| 64 | + Added support for more then and NSClient command |
|---|
| 65 | + Added netmask support to allowed_hosts (try with 192.168.0.1/24 and such) |
|---|
| 66 | |
|---|
| 67 | 2007-02-22 MickeM |
|---|
| 68 | + Added debug output to see if the socket is bound and/or has shutdown. |
|---|
| 69 | * Fixed a potential bug in the threadmanager. |
|---|
| 70 | + Added configuration option for suppressing performance datat to the NRPE section. |
|---|
| 71 | Set performance_data=0 to stop sendoing performancedata to nagios |
|---|
| 72 | + New (better?) (simpler?) eventlog checking |
|---|
| 73 | + Added option to most commands (ignore-perf-data) to suppres performance data |
|---|
| 74 | + Added option CheckAll for checking all auto-start services to checkServiceState. |
|---|
| 75 | Also an exclude=<service> to exclude checking that. |
|---|
| 76 | * Fixed return syntax for PROCSTATE nsclient |
|---|
| 77 | |
|---|
| 78 | 2007-02-21 MickeM |
|---|
| 79 | * Fixed "broken password check" (again) in NSClient listener (this time it is correct! :) |
|---|
| 80 | |
|---|
| 81 | 2006-12-02 MickeM |
|---|
| 82 | + Managed to build so it works on NT 4.0 (SP6a) and W2K3 |
|---|
| 83 | * Fixed "broken password check" in NSClient listener |
|---|
| 84 | |
|---|
| 85 | 2006-11-18 MickeM |
|---|
| 86 | + Added support for empty NRPE checking (i.e.. chec_nrpe without a -c argument) |
|---|
| 87 | * Added error message when detected language is missing from counters.defs |
|---|
| 88 | + Added Swedish locale to counters.defs (yes, I switched to Swedish XP on my computer :) |
|---|
| 89 | * Fixed : (and possibly other problems) in counters when checking from check_nt (via NSCLient protocol) |
|---|
| 90 | + Added CheckAllExcept to CheckDrive to check all except the specified drives. |
|---|
| 91 | * Fixed a display error in the variouse size functions (1000-1024 byte was displayed incorrectly) |
|---|
| 92 | |
|---|
| 93 | 2006-10-05 MickeM |
|---|
| 94 | * Yayyy!!! (first fix in a looong while :) |
|---|
| 95 | * Fixed a W2k3 "bug" (actually just an incorrect error) but the: |
|---|
| 96 | "e .\PDHCollector.cpp(130) Failed to query performance counters..." is no more... |
|---|
| 97 | + Added option to NRPE/NSClient section to not-cache host names (for dyndns etc.) |
|---|
| 98 | NOTICE this is "not safe" really in so far as someone might hi-jack your DNS and quickly gain |
|---|
| 99 | access to your nagios box (probably only a theoretical problem but hey! :) |
|---|
| 100 | NOTICE this is "slow" since all hosts in the list are "looked up" each time you get a NRPE/NSClient |
|---|
| 101 | request it will be "slow" but I think it is not that much of a problem really. |
|---|
| 102 | NOTICE I don't have the possibility to test this so feel free to report if it works and if it doesn't. |
|---|
| 103 | Set cache_allowed_hosts=0 to disable host cache |
|---|
| 104 | |
|---|
| 105 | 2006-04-04 MickeM |
|---|
| 106 | * Fixed a few more bugs to the INI/REG readers |
|---|
| 107 | |
|---|
| 108 | 2006-04-02 MickeM |
|---|
| 109 | * Could all magicians stop trying to kill me? |
|---|
| 110 | *Please* i don't like to die! |
|---|
| 111 | |
|---|
| 112 | 2006-03-31 MickeM |
|---|
| 113 | * Damn necromancers! stop 0wning my ass all the time! |
|---|
| 114 | |
|---|
| 115 | 2006-03-29 MickeM |
|---|
| 116 | + Added API for saving/reading settings |
|---|
| 117 | |
|---|
| 118 | 2006-03-28 MickeM |
|---|
| 119 | + Added REG/INI parsers |
|---|
| 120 | * *NOTICE* You need to add an option (use_file=1) to your nsc.ini file or new builds wont work. |
|---|
| 121 | |
|---|
| 122 | 2006-03-25 MickeM |
|---|
| 123 | * Oblivion f*cking roxx! |
|---|
| 124 | |
|---|
| 125 | 2006-03-02 MickeM |
|---|
| 126 | * Fixed bug in INI-file reader (memory leak) |
|---|
| 127 | |
|---|
| 128 | 2006-03-01 MickeM |
|---|
| 129 | * Fixed bug in CheckFile (now dates work correctly) |
|---|
| 130 | |
|---|
| 131 | 2006-02-26 MickeM |
|---|
| 132 | + Added syntax option to CheckFile (%filename%, %creation%, %access%, %write%, %size%). |
|---|
| 133 | |
|---|
| 134 | 2006-02-25 MickeM |
|---|
| 135 | * Fixed Sections problem (now sections can be any size) |
|---|
| 136 | + Added bind_to_address option to both NRPE and NSClient section in the INI file. |
|---|
| 137 | Allows you to bind the listener to a specific IP address (only dotted number not host name). |
|---|
| 138 | This might break things as I had to do some internal rewrite of the Socket classes so be careful :) |
|---|
| 139 | * Disabled default-debug logging (as things are fairly stable, you can still enable it by using debug=1 in the NSC:ini file) |
|---|
| 140 | * "Fixed" socket backlog to use "max responsible value" as opposed to "10" if no value is specified. |
|---|
| 141 | + Added option socket_back_log to both NRPE and NSClient section that allows you to tweak the "back-log" of incoming connections to keep. |
|---|
| 142 | 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. |
|---|
| 143 | 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. |
|---|
| 144 | - 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. |
|---|
| 145 | * Moved listpdh and debugpdh into the CheckSystem module |
|---|
| 146 | * Removed PDH dependencies from "core exe" means you can run NSClient++ without PDH (though you cant use the CheckSystem module) |
|---|
| 147 | |
|---|
| 148 | 2006-02-2? MickeM |
|---|
| 149 | + Added new Interface for Modules (NSCommandLineExec that allows modules to execute things give from command line. |
|---|
| 150 | Syntax is NSClient++ <module name> <command> [arguments] and if a module doesn't support this it is simply ignored. |
|---|
| 151 | + Added new install/uninstall command to SystemTray module: |
|---|
| 152 | NSClient++.exe SystemTray install |
|---|
| 153 | NSClient++.exe SystemTray uninstall |
|---|
| 154 | That will install/uninstall the system tray module this sets the "Allow Service to Interact with Desktop" flag for the service. |
|---|
| 155 | * 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). |
|---|
| 156 | * Fixed so checkProcess isn't case sensitive. |
|---|
| 157 | * Added (not finished) syntax option to event log checker to format the outputted data |
|---|
| 158 | |
|---|
| 159 | 2006-02-12 MickeM |
|---|
| 160 | + Added support for host name resolve to allowed_hosts |
|---|
| 161 | |
|---|
| 162 | 2006-02-08 MickeM |
|---|
| 163 | ! Fixed filter-eventID in EventLog module (now works for all IDs regardless of severity state) |
|---|
| 164 | + Added new filters to EventLog (filter-severity that can filter based on event severity success, error, warning, informational) |
|---|
| 165 | |
|---|
| 166 | 2006-02-07 MickeM |
|---|
| 167 | + Added new filter option to eventlog filter-eventID |
|---|
| 168 | + Added new operator to all numeric filters in:number,number,... etc. (for instance filter-eventID=in:123,456,789 to check for lists. |
|---|
| 169 | |
|---|
| 170 | 2006-02-05 MickeM |
|---|
| 171 | + Added CheckFile check command |
|---|
| 172 | This new command (in development) will allow various file checks such as age, size, date, etc on single or multiple files. |
|---|
| 173 | + Added FILEAGE support to NSClient |
|---|
| 174 | + Started to convert the web page to WIKI |
|---|
| 175 | |
|---|
| 176 | 2006-01-21 MickeM |
|---|
| 177 | + Added WMI Check module (early alpha) |
|---|
| 178 | This is an extremely early alpha more to see if there is an interest and how to progress with it. |
|---|
| 179 | To use the WMI module enable the WMICheck.dll (nsc.ini) and then run the following check: |
|---|
| 180 | CheckWMI MaxWarn=10 MaxCrit=15 "Query:load=Select LoadPercentage from win32_Processor" |
|---|
| 181 | The Max* are as every other check and sets limits. |
|---|
| 182 | The Query works similarly to other check commands i.e.. Query:<name>=<WMI query> |
|---|
| 183 | So any other WMI query should work (notice this is experimental and not stable and has virtually |
|---|
| 184 | no error handling so it is likely to crash nsclient if you ask anything "non working".) |
|---|
| 185 | I would *really* *really* like to get feedback on how to expand this concept to work better so feel free to come with feedback. |
|---|
| 186 | * Fixed NT4 /install (should work now!) |
|---|
| 187 | |
|---|
| 188 | 2006-01-02 MickeM |
|---|
| 189 | * Fixed ChangeServiceConfig2 on NT4 |
|---|
| 190 | + Added support for more then 4GB memory (8GB?) |
|---|
| 191 | Since I don't have this much memory this needs to be verified... |
|---|
| 192 | * Fixed syntax of performance data |
|---|
| 193 | |
|---|
| 194 | 2005-09-24 MickeM |
|---|
| 195 | * Fixed memory size bug (free and used were swapped) |
|---|
| 196 | |
|---|
| 197 | 2005-09-20 MickeM |
|---|
| 198 | + Added option to debug all PDH counters /debugpdh |
|---|
| 199 | |
|---|
| 200 | 2005-09-17 MickeM |
|---|
| 201 | + Added support for checking service by display name |
|---|
| 202 | |
|---|
| 203 | 2005-09-03 MickeM |
|---|
| 204 | * First off, sorry for lack of updates, but was on vacation :) |
|---|
| 205 | + Added ShowAll=long to CPULoad |
|---|
| 206 | + Added several new types to checkMem (type=paged, type=physical, type=page, type=virtual) |
|---|
| 207 | |
|---|
| 208 | 2005-07-31 MickeM |
|---|
| 209 | + /install now sets the service to autostart |
|---|
| 210 | * Did some cleanup of minor code sections |
|---|
| 211 | * (done before but not reported i think) /listpdh option added to list all PDH counters (nsclient++ /listpdh) |
|---|
| 212 | + Added service description |
|---|
| 213 | * Event log reworked (again) this time I hope it is better (and even useful, but syntax has changed) |
|---|
| 214 | |
|---|
| 215 | 2005-07-26 MickeM |
|---|
| 216 | + Added support for ShowAll=long (to show long and short info, only applies to some areas, but available everywhere) |
|---|
| 217 | + Extended Drive and memory check syntax to facilitate both Free and Used space checks: MaxWarnFree / MaxWarnUsed etc) |
|---|
| 218 | |
|---|
| 219 | 2005-07-19 MickeM |
|---|
| 220 | * Changed thread API to use _creatthreadex as opposed to _creatthread (works better now!) |
|---|
| 221 | * Fixed UNKNOWN return code (was 4 should have been 3) |
|---|
| 222 | |
|---|
| 223 | 2005-07-16 MickeM |
|---|
| 224 | * Fixed drive checks from NSClient |
|---|
| 225 | |
|---|
| 226 | 2005-07-11 MickeM |
|---|
| 227 | * *ALOT* of bug fixes and enhancements all checking code has been centralized and rewritten also my internal check scripts |
|---|
| 228 | have been extended to check a lot more things. |
|---|
| 229 | *NOTICE* that EventLog has not been upgraded yet neither has the documentation. |
|---|
| 230 | + Added MaxWarnCount / MinWarnCount to checkProcState to check number of processes running |
|---|
| 231 | |
|---|
| 232 | 2005-06-09 MickeM |
|---|
| 233 | * Escapes " in NRPE commands in the NSC.ini |
|---|
| 234 | |
|---|
| 235 | 2005-06-05 MickeM |
|---|
| 236 | * Created configuration interface (not released yet) |
|---|
| 237 | |
|---|
| 238 | 2005-06-03 MickeM |
|---|
| 239 | * Created interactive installer (not released yet) |
|---|
| 240 | |
|---|
| 241 | 2005-06-02 MickeM |
|---|
| 242 | * CheckEventLog reworked... |
|---|
| 243 | |
|---|
| 244 | 2005-06-01 MickeM |
|---|
| 245 | * CheckSystem auto detects windows version and language. |
|---|
| 246 | |
|---|
| 247 | 2005-05-29 MickeM |
|---|
| 248 | * Fixed PROCSTATE and SERVICESTATE return state. |
|---|
| 249 | + Added support for individual size in CheckDriveSize and CheckFileSize (size has to be specified before a drive/path) |
|---|
| 250 | * Fixed performance data for drives (and possibly other places) |
|---|
| 251 | |
|---|
| 252 | 2005-05-23 MickeM |
|---|
| 253 | + Added obfuscated password support |
|---|
| 254 | + Added some more debug info on commands (return code, and input args) |
|---|
| 255 | + Added some more comments to the NSC.ini |
|---|
| 256 | + Added central password "override" |
|---|
| 257 | + Added central "host override" |
|---|
| 258 | + Fixed bug with external commands always getting WARNING state |
|---|
| 259 | |
|---|
| 260 | 2005-05-22 MickeM |
|---|
| 261 | + Added debug output for command |
|---|
| 262 | + Added timestamps for log-to-file (date_mask to configure format) |
|---|
| 263 | + Added support for "no password" with check_nt |
|---|
| 264 | + Added log of bad password on NSClient requests. |
|---|
| 265 | * Some threading issues fixed (I hate threading :) |
|---|
| 266 | |
|---|
| 267 | 2005-05-19 MickeM |
|---|
| 268 | * Verified NT4 compatibility |
|---|
| 269 | |
|---|
| 270 | 2005-05-18 MickeM |
|---|
| 271 | * Fixed bug in NSC.ini (section title for Check System was wrong) |
|---|
| 272 | + Added multitasking for plug-ins (now two plug-ins can handle requests simultaneously) |
|---|
| 273 | * Fixed some minor issues here and there |
|---|
| 274 | |
|---|
| 275 | 2005-05-15 MickeM |
|---|
| 276 | + Added NRPE support for checkCounter |
|---|
| 277 | + Updated documentation |
|---|
| 278 | * Make check commands ignore case |
|---|
| 279 | + Added CheckHelpers module to alter the result of various check and similar things |
|---|
| 280 | |
|---|
| 281 | 2005-05-14 MickeM |
|---|
| 282 | + Added support for Volumes (CheckDisk) |
|---|
| 283 | + Added support for checking all drives of a certain kind |
|---|
| 284 | + Added support for altering filter (makes it possible to check removable drives) |
|---|
| 285 | + Created web page and better documentation |
|---|
| 286 | |
|---|
| 287 | 2005-04-20 MickeM |
|---|
| 288 | + Added multitasking to socket listener (it can now handle multiple connections) |
|---|
| 289 | * Fixed bug in NSClientListener now "seqv" in check_nt shouldn't happen. |
|---|
| 290 | + Added COUNTER support to NSClient and CheckSystem |
|---|
| 291 | |
|---|
| 292 | 2005-04-19 MickeM |
|---|
| 293 | + Added SSL support |
|---|
| 294 | + Added a lot of new options |
|---|
| 295 | + Added documentation |
|---|
| 296 | * Renamed and restructured NSCLientCompat to CheckSystem |
|---|
| 297 | * *ALOT* of fixes all over |
|---|
| 298 | : We are now starting to get to something that is "stable" |
|---|
| 299 | : This means that soon you might actually be able to use this. |
|---|
| 300 | |
|---|
| 301 | 2005-03-28 MickeM |
|---|
| 302 | * Changed the Thread class a bit (mutex -> signal, and CreatThread does not return the instance) |
|---|
| 303 | * Moved settings "keys" fro NRPE to config.h |
|---|
| 304 | * Changed build options (added Distribution) which builds a zip file under ./dist (requires 7z installed) |
|---|
| 305 | * Minor tweaks to error/debug logging and small fixes "here and there" |
|---|
| 306 | |
|---|
| 307 | 2005-03-26 MickeM |
|---|
| 308 | + NRPE Support (very basic, no encryption, and nothing fancy) |
|---|
| 309 | * Socket classes rewritten |
|---|
| 310 | + Added NSCModuleHelper::getSettingsSection to the API |
|---|
| 311 | |
|---|
| 312 | 2005-03-22 MickeM |
|---|
| 313 | * Fixed NSClientListener return codes for basic commands |
|---|
| 314 | * Extracted arrayBuffer code into new files under /include |
|---|
| 315 | * Minor tweaks in the API (fixed minor issues) |
|---|
| 316 | + Added some basic "tests" to a few commands (getToken, and arrayBuffer related) |
|---|
| 317 | |
|---|
| 318 | 2005-03-21 MickeM |
|---|
| 319 | * Fixed BUG in inject command (now things should "work" again, but far from stable) |
|---|
| 320 | + Added NRPE return code |
|---|
| 321 | * Fixed some return states to NSClientListener (not verified yet, but soon they will be back in order :) |
|---|
| 322 | |
|---|
| 323 | 2005-03-20 MickeM |
|---|
| 324 | * Fundamental API changes (due to NRPE compatibility) |
|---|
| 325 | - HandleCommand has changed |
|---|
| 326 | - Inject has changed |
|---|
| 327 | - Most API calls have new "return codes" (typedef:ed INT to allow for return code compiler checks) |
|---|
| 328 | - A lot of the old return codes have changed |
|---|
| 329 | + Preliminary NRPE support (can parse and execute incoming requests, cant return data yet, and no encryption) |
|---|
| 330 | + New SimpleSocket in include/ will be used as base class for Listeners |
|---|
| 331 | * A lot of rewrite to the NSC API |
|---|
| 332 | |
|---|
| 333 | 2005-03-19 MickeM |
|---|
| 334 | * Re factored out NSCLient Listener as a separate module |
|---|
| 335 | + Added initial NRPE listener module (not yet implemented only a shell) |
|---|
| 336 | * Changed Module API (Inject function has new syntax) |
|---|
| 337 | + Added some tokenizer function to charEx |
|---|
| 338 | + Added new wrapper function to inject Command |
|---|
| 339 | * Minor changes in relation to refactor work |
|---|
| 340 | |
|---|
| 341 | 2005-03-01 MickeM |
|---|
| 342 | * Improved thread safety in Core |
|---|
| 343 | + Added exception handling and logging in PDH code |
|---|
| 344 | * Various fixes all over the place |
|---|
| 345 | + New module for check size of files/directories |
|---|
| 346 | * Changed build to Dynamic link |
|---|
| 347 | * Added regular expression support for EventLog checker |
|---|
| 348 | |
|---|
| 349 | 2005-02-22 MickeM |
|---|
| 350 | + Added documentation |
|---|
| 351 | |
|---|
| 352 | 2005-02-17 MickeM |
|---|
| 353 | * NSClient issues fixed |
|---|
| 354 | * System Tray issues fixed |
|---|
| 355 | |
|---|
| 356 | 2005-02-14 MickeM |
|---|
| 357 | * Initial SourceForge release |
|---|