How to setup NSClient for Nagios Windows Monitoring

Follow

For Windows hosts, we use NSClient++ for easy, accurate and secure monitoring of critical services and processes running on the host.

If you elected for "Self-managed + Monitoring" or any of the server management plans, then this will have been set up at installation.
If you are self-managed with, or without monitoring and need to set it up, this article is for you.

The first step is to download the latest, stable version of the NSClient. It can be downloaded here:

Once downloaded, run the application on the host.

 click "next", Ensure Generic is selected and click "next" again.

Choose the "Typical Installation" and "next".

Add the IP address as shown in the picture. This is our monitoring server. Choose everything except "NRPE" and "web server" then "next".

Now click "install". Once installed, it will automatically put a firewall rule to allow it access and start the nscp service.

After the install is done, edit the config file located at C:\Program Files\NSClient++\nsclient.ini, and update the below lines in it from disabled, to enabled, and restart the nsclient service.

; Undocumented key
CheckDisk = enabled

; Undocumented key
CheckSystem = enabled

Simplest way to restart the service, is using powershell

net stop nscp

net start nscp

 

 

 

 

 

Have more questions? Submit a request

Comments

Powered by Zendesk