Building a monitoring system based on Nagios -- monitoring remote Windows Server
After sharing how to monitor Linux servers, let's take a look at how Nagios monitors Windows servers.
Part 1: configure the monitored Windows Server
First, visit http://sourceforge.net/projects/nscplus/and download the NSClinent ++ of the License Server. The file I downloaded was named: NSCP-0.4.1.73-Win32.msi
Double-click the installer, select Complete Install, and select generate the instance configuration file. The other one will be OK after the next step.
Next, open NSClient. ini in the installation directory of nsclient ++, and add the IP address of the monitoring server to the end of the allowed hosts command. Pay attention to the Password following the Password command. The default value is 12489, which is used when the monitoring server connects to this Windows server.
OK. Start NSClient ++ from the Start Menu.
Part 2: configure the Monitoring Server
Step 1: Create a configuration file and add the HOST and SERVICE configurations to the configuration file just like adding a Linux server. We can copy windows. cfg that comes with Nagios, and replace the IP address and Host Name with the corresponding one.
Step 2: add the cmd_file command to/usr/local/nagios/etc/nagios. cfg to add the newly created configuration file to the end of the command;
Step 3: Modify/usr/local/nagios/etc/objects/command. cfg, add-s 'Password' to the end of the check_nt command, and enter the Password.
Step 4: restart Nagios.
Building a monitoring system based on Nagios -- monitoring remote Linux Server
Network Monitor Nagios Overview
Nagios construction and Configuration
Build a Nagios monitoring platform in the Nginx Environment
Configure the basic Nagios System on RHEL5.3 (using Nagios-3.1.2)
CentOS 5.5 + Nginx + Nagios monitoring and control terminal installation and Configuration Guide
Install Nagios Core for Ubuntu 13.10 Server
Nagios details: click here
Nagios: click here
This article permanently updates the link address: