I have a small correction to the installation instructions for NSClient++ for Windows posted here (nagios.sourceforge.net/docs/3_0/ … ndows.html)
After registering the service,nsclient++ /install
the next step is to enable the SysTray applet, but the command given nsclient++ SysTray
is incomplete. The full command line here should be: nsclient++ SysTray install
Also, in all 15 cases of the installs I did, I had to run that twice because it errors the first time:
C:\NSClient>nsclient++ SysTray install
l \NSClient++.cpp(370) Attempting to start NSCLient++ - 0.3.5.2 2008-09-24
l \FileLogger.cpp(93) Log path is: C:\NSClient\\nsclient.log
e \SysTray.cpp(51) **SysTray is not installed (or it cannot interact with the desk
top) SysTray won't be loaded.** Run NSClient++ SysTray install to change this.
l \NSClient++.cpp(476) NSCLient++ - 0.3.5.2 2008-09-24 Started!
SystemTray is now able to run as the SERVICE_INTERACTIVE_PROCESS flag has been s
et.
l \NSClient++.cpp(530) Attempting to stop NSCLient++ - 0.3.5.2 2008-09-24
l \NSClient++.cpp(589) NSCLient++ - 0.3.5.2 2008-09-24 Stopped succcessfully
After running it the second time, it succeeds:
C:\NSClient>nsclient++ SysTray install
l \NSClient++.cpp(370) Attempting to start NSCLient++ - 0.3.5.2 2008-09-24
l \FileLogger.cpp(93) Log path is: C:\NSClient\\nsclient.log
l \NSClient++.cpp(476) NSCLient++ - 0.3.5.2 2008-09-24 Started!
**SystemTray is now able to run** as the SERVICE_INTERACTIVE_PROCESS flag has been s
et.
l \NSClient++.cpp(530) Attempting to stop NSCLient++ - 0.3.5.2 2008-09-24
l \NSClient++.cpp(589) NSCLient++ - 0.3.5.2 2008-09-24 Stopped succcessfully
I wasn’t sure how to submit this to whoever’s in charge of the install instructions, so if anyone knows, let me know or let them know
Thanks,
-Pete