Sharing how to monitor Linux servers, let's take a look at how Nagios monitors Windows servers.
Part I: Configuring Windows servers to be monitored
First, visit http://sourceforge.net/projects/nscplus/and download the nsclinent++ that matches your server. After I download it, the file name is: Nscp-0.4.1.73-win32.msi
Double-click the installer, select Complete Install, and choose Build instance profile, and the others will be ok the next step.
Second, in the nsclient++ installation directory, open Nsclient.ini, add the IP address of the monitoring server to the allowed hosts directive. Also note the password behind the Password instruction, which is 12489 by default and is used when the monitoring server connects to this Windows server.
OK, and finally start the nsclient++ from the Start menu.
Part II: Configuring the Monitoring Server
The first step: As with adding a Linux server, create the appropriate configuration file, adding the HOST and SERVICE configuration to it. We can copy the windows.cfg from Nagios, and then replace the IP address, Host name with the corresponding one.
The second step: add a cfg_file instruction in/usr/local/nagios/etc/nagios.cfg, adding the newly created configuration file to the instruction;
Step three: Modify the/usr/local/nagios/etc/objects/command.cfg, add-S ' Password ' after the check_nt instruction, and fill in the password just now.
Fourth step: Restart Nagios.
Build a monitoring system based on Nagios--Monitor remote Windows Server