How to implement monitoring of server groups (discussion)

xiaoxiao2021-03-06  52

Copyright Notice: You can reprint anything, you must indicate the original source and author information in hyperlink when reprint.

Background environment:

With more than 100 servers, there is a Web, DB, Web & DB type database groups depending on the function. All servers are Windows Series operating systems, all in a unified Active Directory AD, in different OUs depending on the function.

Solution 1: Install the SNMP service on all servers to set the trusted IP address. Configure an idle machine to monitor the monitor server, install the MRTG, collect all the performance data that needs to monitor the server, and display it in the MRTG.

Advantages: Simple program implementation, no technical difficulties, less monitoring links. Disadvantages: SNMP needs to be installed on the monitored server. And I just have less hobby.

Solution 2 (currently implemented): Write the VBS script with WMI, using the ADSI to read the server list list in the Active Directory AD, and traverse this list, get the server's performance data, and write into the database of the monitor server ( MySQL / SQL Server can be available. Install .NET Frame Work, Visual Studio .NET 2003, Microsoft SQL Services, on the monitoring server, SQL Reporting Services. Generate performance data charts with Reporting Services.

Server CPU Occupation Curve

Advantages: No need to implement installation on the monitored server. Data acquisition, output reports can be customized. Disadvantages: I need to write data acquisition code, the monitoring link is complex, you need to install a large number of large Microsoft products in the central monitoring server, you need to manually write the database query statement to output the report.

Solution 3: Use the server supervision software MOM using the MS.

转载请注明原文地址:https://www.9cbs.com/read-116632.html

New Post(0)