Skip to content

Deploying nsclient on windows servers

Pablo Murillo Jr. edited this page Jan 24, 2014 · 2 revisions

You can deploy an agent to a remote windows server, but in order to do so you must first place a copy of nsclient on the nagios server.

The default location to look for nsclient is /usr/share/okconfig/client/windows/ and it can be configured by editing nsclient_installfiles in /etc/okconfig.conf.

You can use our copy of nsclient as a template for your own deployment. Steps to copy nsclient to your nagios server:

# Get nsclient 32-bit and 64-bit copies from opinkerfi github repo:
cd /opt
git clone https://github.com/opinkerfi/misc

# Copy nsclient to where okconfig expects it to live:
cp -r misc/nsclient/src /usr/share/okconfig/client/windows/nsclient

# Put the ip address of the nagios server in here:
vim /usr/share/okconfig/client/windows/nsclient/datafiles/allowed_hosts.ini 
Clone this wiki locally