Monitoring windows Local Information Using Nagios (1)

Source: Internet
Author: User

NagiosFunction monitoringWindowsThe local information operation process is a bit annoying, but it is easy to learn. Let's take a look!

 

Figure-Nagios

How to monitor "Local Information" in windows"

In the nagios2.x series, there are few instructions on windows Server monitoring in this document. I just arrived at the nagios homepage and saw a document in 3.x about windows monitoring ([url] routing.

), I just copied it and slightly modified it to apply it to our current nagios2.9. (after all, 3. x is still a test version, and 2.9 is the latest stable version. Please feel free to use it)

Careful friends may have noticed that there is a check_nt plug-in under libexec of nagios, which is used to check the services of windows machines. Its function is similar to the check_nrpe mentioned in the previous chapter. however, you also need to use another software NSClient, which is similar to NRPE.

The principles of NSClient are as follows:

We can see that the biggest difference between NSClient and nrpe is:

-- Nrpe is installed on the monitored host and there are plug-ins. The final monitoring is performed by these plug-ins. When the monitoring host sends the monitoring request to nrpe, nrpe calls the plug-in to complete monitoring.

-- NSClient is different. Only NSClient is installed on the monitored machine without any plug-ins. after the monitoring host sends the monitoring request to NSClient, NSClient directly completes monitoring, and all monitoring tasks are completed by NSClient.

This also illustrates a major problem of NSClient, which is not flexible and not scalable. it can only perform its own monitoring operations and cannot be extended by some plug-ins. fortunately, NSClient has already done a good job, basically meeting our monitoring needs.


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.