Get the App
SLTechnology News&Howtos  ›  Servers  › 

Windows cmd install nscp

Shulou Source: shulou.com Published: 2022-06-03 01:08:28 09月22日 Update

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

Tags: Commands versions builds failures files prompts Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker Redmi Shulou Information OPPO Reno Huawei