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.