Nagios - Monitoring remote Windows host Using NSClient++


Jump to: navigation, search

NDClient++ installation

Install the NSClient++ on the remote Windows (

download and install windows client (note 32 or 64 bit):

Install the setup file. In order to avoid exception on the windows firewall, do not install the "Firewall exception" module. In the allowed hosts section in the installation wizard, enter the nagios IP:


configure the windows client: NSC.ini in C:\Program Files\NSClient++

  • [modules]
  • ’password’ option in the [Settings]
  • ’allowed_hosts’ option in the [Settings]
  • ’port’ option in the [NSClient]

Configure the Nagios to support Windows Monitoring

First, we should add allow Windows hosts monitoring on the Nagios( Note it should be done for the first windows host only. Edit the following file:

 vi /usr/local/nagios/etc/nagios.cfg

and un-remark the the following line (remove the "#"):


Add Host

edit the following file:

 vi /usr/local/nagios/etc/objects/windows.cfg

At the "HOST DEFINITIONS" part add/change the host definition to:

 define host{
       use             windows-server  ; Inherit default values from a template
       host_name       winserver       ; The name we're giving to this host
       alias           My Windows Server       ; A longer name associated with the host
       address   ; IP address of the host

restart nagios

 /etc/ini.t/nagios restart

Now you can see the new windows host at the nagios web.

Personal tools