nagios windows monitoring with nsclient

From thelinuxwiki
Jump to: navigation, search

download and install

download from [https://www.nsclient.org/download/ https://www.nsclient.org/download/\

for windows get file named NSCP-x.x.x.x-x64.msi where x.x.x.x = some version number

nsclient ini file

inside default install dir

c:\Program Files\NSCLient++\nsclient.ini

set auth password, allowed hosts, enable/disable modules/plugins

starting and stopping

net start nscp / net stop nscp

test mode

start in test mode by running, debug message send to stdout

nscp test

monitoring with nagios

check_nt commands as of 2020 in the nagios sample config files work out of the box when tested using nagios 4.5 and nsclient 0.5.2.35 for me