Nagios How to monitor Windows clients

Source: Internet
Author: User
Tags resource

Settings for Windows clients:

Download Address: Http://sourceforge.net/projects/nscplus

Nsclient++-0.3.8-win32.msi

Nsclient++-0.3.8-x64.msi

Install the same way as normal software installation

1. Double-click Install---"Next---" Agree

---"Next---" Next---"Next---" Set up to allow IP

Set Password (the password set here generally can not be set)

Modules to load the first three modules selected on the line

---"Next---" Install---"Finish

2. In the service to determine nsclient++ can interact with the desktop

3. In the installation directory, edit Nsc.ini

In [modules], all the. dll comments are removed except CheckWMI.dll and RemoteConfiguration.dll

[Settings], the ' Password ' project is a password, the role of the Nagios monitoring host online, the request to provide a password to further online, here for convenience, skip it, do not set the password.

In [Settings], the annotation for the ' allowed_hosts ' option is removed and the IP of the Nagios's monitoring server is added, and the following allowed_hosts=127.0.0.1/32,192.168.0.11 are changed to comma-separated.

In [Nsclient], the annotation for the ' port ' option needs to be removed, and its value is ' 12489 ', which is the default port of the Nsclient

4. After completion, start nsclient++

Under Cmd c:\nsclient++, perform nsclient++/start or go directly to the service to reboot

Under CMD, perform netstat-an and check that port 12489 is turned on

5. In the lower right corner you can see

Like the launch of a small butterfly mark, this Windows client settings complete!

Monitoring server-side configuration:

Libexec need to check_nt the execution procedure.

Set Commands.cfg

Increase:

# ' CHECK_NT ' Windows client command definition for remote service

Define Command{

Command_name check_nt

Command_line $USER 1$/check_nt-h $HOSTADDRESS $-P 12489-v $ARG 1$ $ARG 2$

}

Generally open by default!

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Before you set up your project, you should first take a look at the Nagios configuration file and the monitoring template:

Because the nagios-2.x differs from the nagios-3.x configuration file, the 3.2 Chinese version is described here.

CGI.CGF CGI configuration file under Nagios/etc

NAGIOS.CGF Nagios Main configuration file

User and password used by Htpasswd.users login authentication

Nagiosgraph.cfg

Ndo2db.cfg Nagios collection of data written to the database plug-in ndo configuration file

Ndomod.cfg Nagios data is read out and then handed to Ndo2db's configuration file.

Nrpe.cfg Nrpe A configuration file that collects data from this computer

Resource.cfg External Command Resource configuration file

Objects directory under this directory definition Nagios data collection configuration file

Commands.cfg This is defined for each plug-in usage and alarm.

Contacts.cfg This is the contact definition template

Localhost.cfg This is a native monitor template

Printer.cfg This is the printer monitor template

Templates.cfg This is a template for monitoring collection time, contacts, status checking mechanisms, etc.

Timeperiods.cfg This is the time template used by the monitoring

Windows.cfg This is the Windows Server Monitor template

Switch.cfg This is monitor switch or router monitor template (need to use to MRTG)

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.