TracNav menu
-
Home
-
Documentation
-
About
- Michael Medin (author)
- Installation
- Configuration
-
Usage
- Using with Nagios
- FAQ
-
Information
-
Tips & Tricks
-
RemoteUpdate via:
- VB/PSExec scripts
- .bat/.cmd scripts
- NRPE and AT
- SUBINACL
- Real world Configurations
- Build
- Support
-
Conferences
- Netways Nagios Konferenz 2008
- Sponsoring
-
Commands/Modules
- CheckDisk
- CheckEventLog
- CheckSystem
- [CheckTaskSched]
- CheckHelpers
- FileLogger
- NRPEListener
- NSClientListener
- SysTray
- CheckWMI
- RemoteConfiguration
- CheckExternalScripts
- LUAScript
- NSCAAgent
-
Donate
- …
for now:
If you only wish to test it or debug the client you can use the following without installing it first.
NSClient++ /test
When you see this prompt:
Enter command to inject or exit to terminate...
you can paste in examples from the Commands page at CheckCommands. For example, I get this on my system:
C:\Program Files\NSClient++>NSClient++.exe -test Launching test mode... d \NSClient++.cpp(375) Loading plugin: CheckDisk... d \NSClient++.cpp(375) Loading plugin: CheckSystem... d \CheckSystem.cpp(79) Autodetected W2K>, using TOOLHELP process enumeration. d \PDHCollector.cpp(83) Autodetected w2k or later, using w2k PDH counters. d \NSClient++.cpp(375) Loading plugin: NSClient server... d \PDHCollector.cpp(103) Detected language: English US (0x0409) l \NSClient++.cpp(123) Using settings from: INI-file d \Socket.h(538) Bound to: 0.0.0.0:12489 l \NSClient++.cpp(124) Enter command to inject or exit to terminate... CheckDriveSize ShowAll MinWarnFree=10% MinCritFree=5% Drive=c:\ d \NSClient++.cpp(440) Injecting: CheckDriveSize: ShowAll, MinWarnFree=10%, MinC ritFree=5%, Drive=c:\ d \NSClient++.cpp(460) Injected Result: OK 'OK: c:\: 12.3G' d \NSClient++.cpp(461) Injected Performance Result: ''c:\'=38%;10;5; ' OK:OK: c:\: 12.3G|'c:\'=38%;10;5; exit d \NSClient++.cpp(349) Unloading plugin: NSClient server... d \Socket.h(558) Listener is preparing to shutdown... d \NSClient++.cpp(349) Unloading plugin: CheckSystem... d \NSClient++.cpp(349) Unloading plugin: CheckDisk... C:\Program Files\NSClient++>
