Build a monitoring system based on Nagios--Monitor remote Windows Server

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.