Windows cmd install nscp
Failure: nagios client needs to be installed in windows 2012 database version non-phantom version
Close the steps:
1. Download the latest version of nscp
Reference link: http://www.nsclient.org/nscp/downloads
two。 Nscp installation under cmd, installation parameters
Msiexec / qn / l log.txt / I NSCP-0.4.3.50-x64.msi INSTALLLOCATION=c:\ FooBar CONFIGURATION_TYPE=registry://HKEY_LOCAL_MACHINE/software/NSClient++ ADDLOCAL=ALL REMOVE=PythonScript
3. Generate a local nsclient.ini and generate commands (when generating, you will be prompted that the python27.dll file is missing. Click OK, and then continue running)
Nscp settings-generate-add-defaults-load-all
4. Modify nsclient.ini, start the required check_nt module and others
[/ modules]
CheckDisk = 1
CheckEventLog = 1
CheckExternalScripts = 1
CheckNSCP = 1
CheckHelpers = 1
CheckSystem = 1
NRPEServer = 1
NSCAClient = 1
NSClientServer = 1
; Undocumented section
[/ settings/default]
; ALLOWED HOSTS-A comaseparated list of allowed hosts. You can use netmasks (/ syntax) or to create ranges.
Allowed hosts = 192.168.8.200
[/ modules]
5. Restart the service, command parameters
Net stop nscp
Net start nscp
6. Confirm service startup status, command parameters
Netstat-nao | findstr 12489
Netsat-nao | findstr 5666
7. Installation completed