New (and final) Release Candidate for 0.3.8!
Hello google bot! (and some happy weeks even the yahoo bot).
I have just released the final (I hope) release candidate for the 0.3.8 version. It has a lot of new features and, I am especially, proud of the new event log filters.
For those who has not seen the eventlog filter I recommend reading up on the quick guide i wrote on the CheckEventLog/CheckEventLog page. It has a fairly good getting started guide I hope. But a quick note is that the new default filter is:
generated > -2d AND severity NOT IN ('success', 'informational')
Which I believe is a lot more readable the before.
Other news are many minor changes and fixes in the file7disk related checks as well as index in CheckCounter to allow handling multiple languages and locales.
The changelog grouped by module can be found here:
New commands - CheckSingleFile - to check spects of a single file use like so: CheckSingleFile file=d:\nrpe_512.pem warn=>100 check=line-count warn=>100 crit=>170 check=size - CheckSingleRegEntry CheckSingleRegEntry path=HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\eventlog\Application\MaxSize "syntax=%path%: %int%" warn==20971520 crit==20971520 check=int ShowAll=long Scripts - Cleaned up scripts folder - Added new "NagiosPlugin library" from op5 - Added check_no_rdp.vbs (Checks that no RDP connection is online) - Added check_battery.vbs which checks batterys via WMI - Added check_printer.vbs to check printers via WMI CheckExternalScript - Added new "script templating" thing to simplify adding scripts: [Wrapped Scripts] test=check_test.ps1 ; (will use correct template for running ps1 commands) - Fixed erroneous error message "Failed to peek buffer" NSCA - Added obfuscated_password to NSCA section - Added so "global" ([Settings] password=...) passwords are read from the NSCA module CheckEventLog - Brand new filter syntax based on SQL where clauses Avalible operators are: =, !=, >, <, >=, <=, eq, ne, gt, lt, ge, le, OR, AND, like, IN, NOT IN CheckCounter - Added new index option to CheckCounter to allow looking up index and thus you can use the same checks on multiple locales and also use characters not present in "NRPE charset) CheckCounter index "Counter=\1450(_Total)\1458" ShowAll MaxWarn=500 MaxCrit=1000 nsclient++ -noboot CheckSystem pdhlookup Utskrifter - Optional new "safe" PDH subsystem (slower, but possibly safer) pdh_subsystem=thread-safe - Added checks for missing counters to CheckCounter CheckDriveSize - Added volume support for CheckDriveSize (CHeckAll) like so: CheckDriveSize MinWarn=50% MinCrit=25% CheckAll=volumes FilterType=FIXED FilterType=REMOTE - Changed "missing" disks are now a critical error and not unknown - Improved CheckDriveSize bad FilterType error message - Added option to return error messages to the client [CheckDisk] show_errors=1 (defauilt is off 0) CheckFile2 - Dates are signed (means you can use neagitve dates to check the future) CheckFile2 debug path=D:\tmp\dates filter+creation=<-30m MaxWarn=1 MaxCrit=1 "syntax=%filename%: %creation%" CRITICAL:future.txt: C: Thursday, December 31, 2009 12:47:11, found files: 1 > critical|'found files'=1;1;1; - Added checks for missing path and missing filter on CheckFile2 thus - Fixed so files locked for reading can be checked (basic checks) - Improved speed of file chyecking (does not check file data twice) - Changed so missing files and such generate an error - Fixed major issue with date matching in CheckFile* which was not working at all. - Exe file version checks: CheckFile2 path=D:\tmp pattern=*.exe filter+version=!=6.0.2900.5512 "syntax=%filename%: %version%" MaxWarn=1 - Line count check: CheckFile2 path=D:\tmp pattern=*.txt filter+line-count=ne:3 "syntax=%filename%: %line-count%" MaxWarn=1 - Added ignore-errors to "ignore" any filesystem related errors (NOTICE this is probably not what you want) - Added master-syntax to CheckFile2 to change the overall message like so: %list%, %files%, %matches% CheckFile2 MinWarn=10 MinCrit=10 path=D:\WINDOWS\system32 filter+size=gt:0 truncate=10 ignore-errors "master-syntax=%matches%/%files%" - Added %user% to syntax to print user who generated message CheckEventLog file=application file=system filter=new filter=out MaxWarn=1 MaxCrit=1 filter-generated=>2w filter-severity==success filter-severity==informational truncate=1023 unique descriptions "syntax=%user% (%count%)" CRITICAL: (1), (2), NT INSTANS\SYSTEM (3), NT INSTANS\SYSTEM (3), NT INSTANS\SYSTEM (3), missing (3), missing (5), (4), missing (2), missing (2), missing (2), missing (2), (1), eventlog: 33 > critical|'eventlog'=33;1;1; Generic: - Added != to all string comparisons - Changes syntax of performance counters: Alias is '<alias> %' and it also has the "full" non % data as '<alias>' CheckDriveSize CheckAll MaxWarnUsed=80% MaxCritUsed=90% CRITICAL:CRITICAL: C:\: Total: 146G - Used: 140G (95%) - Free: 6.31G (5%) > critical, D:\: Total: 152G - Used: 148G (97%) - Free: 3.59G (3%) > critical|'C:\ %'=95%;80;90; 'C:\'=140.17G;117.18;131.83;0;146.48; 'D:\ %'=97%;80;90; 'D:\'=147.93G;121.21;136.3;0;151.52; - Added warning message ewhen numerical filters evaluate to zero (and are not 0) - added a new "option" in conjunction with -c you can now do -m to specify the module to load. nsclient++ -m CheckDisk.dll -c CheckDriveSize MaxWarn=100 CheckAll
Please try it and let me know, if nothing major pops up I will release 0.3.8 tomorrow.
// Michael Medin
Release candidate for 0.3.7 out
A new version (release candidate) for the next minor release is out.
Nothing major in the application this version mainly installer work as well as some bugfixes. But and this is a big but it now features both an reference manual as well as a Nagios guide to get you started from Nagios. The material comes from the now up-dated wiki so it is nothing new but a nice touch I hope.
2009-09-20 MickeM * Fixed alias in CheckWMI (now works) + Added columnSyntax to CheckWMI to allow formating of returned data (default is %column%=%value%) + Added columnSeparator to CheckWMI to allow formating of returned data (default is ", ") 2009-09-13 MickeM * Fixed some more issues with the installer should not "work" on Windows 2008 as well as slightly simpler to configure. 2009-09-06 MickeM + Added new option to [NSCA Agent] string_length=<size> of the NSCA_MAX_PLUGINOUTPUT_LENGTH option on the NSCA server. * Readded all the "installer configuration" crap which I accidentaly removed when I fixed the installer... *sigh* 2009-08-30 MickeM + Added -c and -d command line options like so: NSClient++ -c CheckFile2 path=c:\test pattern=*.txt MaxCrit=1 filter+written=gt:2h NSClient++ -c <command> <argument 1> <argument 2> ... -d Is the same thing but with debug enabled. + Added uninstall of old client (sort of broken but works) 2009-08-29 MickeM * Fixed issue with CheckFile (directory) * Rewrote the CA:s in the installer to work "better" (hopefully) in general it should be have more like a propper installer. 2009-07-18 MickeM * Fixed issue with no loggers avalible and "memory leak" * Added "firewall exception" to installer * Fixed an issue with the socket data buffer * Added new option to NSC.ini [NSCA] socket_timeout=30 (timeout in seconds when reading from NSCA sockets) * Fixed issue with NSCA socket. 2009-07-05 MickeM * Fixed issue with CheckExternalScripts and script_dir: not adding the commands properly. * Fixed issue with CheckExternalScripts and script_dir: not using relative paths (#310). 2009-06-20 MickeM * Fixed issue with CheckDisk and paths not working out properly
// Michael Medin
Last minute pre-flight check for the up-coming 0.3.6 version
Not much news in this build which contains a bunch of bug-fixes as well as a compleate version of the new installer.
- CheckFileAge? (was broken)
- NSCA config option time_delay was off by 1000.
- Eventlog monitoring with descriptions flag was crashing on x64.
- CheckProc? works better on x64
- New installer is "finalized"
The RC is called X this time as I did not want to rename all the others. If no one reports in bugs this will become 0.3.6 release in 24 hours or so.
Full change log:
2009-06-07 MickeM * Fixed issue with CheckFileAge incorrectly working in recursive mode. * Finalized the installer 2009-05-22 MickeM * Fixed time_delay option in NSCA config (now uses the correct base was 1000 times to large before) 2009-05-21 MickeM * Fixed issue with eventlog parsing and 64 bit machines (descriptions option) * Fixed issue with "modern windows" and installing the service (should not have the correct privlaiges) 2009-05-17 MickeM * Changed default buffer size for process enumeration (64K now instead of 1K should I hope work better on 64bit OS:es) 2009-05-10 MickeM + Added write support for modules to installer
// Michael Medin







rss
