| 1 | NSClient++ is a windows service that allows performance metrics to be gathered by Nagios |
|---|
| 2 | (and possibly other monitoring tools). It is an attempt to create a NSClient and NRPE compatible |
|---|
| 3 | but yet extendable performance service for windows. |
|---|
| 4 | |
|---|
| 5 | NSClient |
|---|
| 6 | The following commands (from check_nt) are supported. |
|---|
| 7 | * CLIENTVERSION |
|---|
| 8 | * CPULOAD |
|---|
| 9 | * UPTIME |
|---|
| 10 | * USEDDISKSPACE |
|---|
| 11 | * MEMUSE |
|---|
| 12 | * SERVICESTATE |
|---|
| 13 | * PROCSTATE |
|---|
| 14 | |
|---|
| 15 | NRPE |
|---|
| 16 | All scripts "should" work (haven't actually tried myself though). |
|---|
| 17 | Notice that encryption is still missing. |
|---|
| 18 | |
|---|
| 19 | Installation: |
|---|
| 20 | To install simply copy all files to directory on the server and run |
|---|
| 21 | the following command: "NSClient++ /install" to un-install run: |
|---|
| 22 | "NSClient++ /uninstall". |
|---|
| 23 | |
|---|
| 24 | The NSClient++ has the following command syntax: |
|---|
| 25 | NSClient++ -<command> |
|---|
| 26 | <command> |
|---|
| 27 | install - Install the service |
|---|
| 28 | start - Start the service |
|---|
| 29 | stop - Stop the service |
|---|
| 30 | about - Show some info (version et.al.) |
|---|
| 31 | version - Show some info |
|---|
| 32 | test - Run interactively. Useful for debugging purposes. |
|---|
| 33 | |
|---|
| 34 | The directory structure: |
|---|
| 35 | <install root> |
|---|
| 36 | - NSClient++.exe - The executable (and service) |
|---|
| 37 | - NSC.ini - The INI file (settings) |
|---|
| 38 | - changelog - "Whats new" |
|---|
| 39 | - *.dll - Various runtime DLLs |
|---|
| 40 | - readme.txt - This file |
|---|
| 41 | <modules> |
|---|
| 42 | - Various NSClient++ modules available to this instance. |
|---|
| 43 | |
|---|
| 44 | A quick description of the included modules: |
|---|
| 45 | * CheckDisk.dll |
|---|
| 46 | Dick check plug-in (not very complete as of yet). |
|---|
| 47 | * CheckEventLog.dll |
|---|
| 48 | A very basic event log checker (HINT feedback wanted :) |
|---|
| 49 | * FileLogger.dll |
|---|
| 50 | Log messages to file (Useful when reporting bugs, also please enable debug=1) |
|---|
| 51 | * NRPEListener.dll |
|---|
| 52 | NRPE client code. Both listener and executer. |
|---|
| 53 | Might in the future rename this to NRPE or I will split the module into two. |
|---|
| 54 | * NSClientCompat.dll |
|---|
| 55 | NSCLient compatibility module. Provides NSClient commands. |
|---|
| 56 | This module will be migrated in to various other modules in the "near" future. |
|---|
| 57 | * NSClientListener.dll |
|---|
| 58 | The NSClient listener. |
|---|
| 59 | * SysTray.dll |
|---|
| 60 | Shows a system tray when the service (exe) is started and allows you to view the log file and inject commands. |
|---|
| 61 | |
|---|
| 62 | Settings: |
|---|
| 63 | For details refer to NSC.ini. |
|---|
| 64 | |
|---|
| 65 | About NSClient++ |
|---|
| 66 | URL: http://www.sf.net/projects/nscplus |
|---|
| 67 | |
|---|
| 68 | Contact the author: |
|---|
| 69 | Michael Medin |
|---|
| 70 | EMail: michael <at> medin <dot> name |
|---|
| 71 | Address: (feel free to send a postcard if you find this useful :) |
|---|
| 72 | Michael Medin |
|---|
| 73 | Terapivaegen 6b 3tr |
|---|
| 74 | SE-141 55 HUDDINGE |
|---|
| 75 | SWEDEN |
|---|