Implementation of Linux VPS server performance monitoring with SNMP and monitoring treasure

Source: Internet
Author: User
Keywords Linux vps

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

When we manage the server WINDOSW system is more intuitive, CPU use, how much bandwidth memory used, etc. as long as in the Remote Desktop Task Manager at a glance. But in the Linux environment is not so easy, especially the server or VPS running is a large web site, if you can not find the server performance consumption in time, it is likely to lead to the site in the peak visit, there is no known card death. Today, the introduction of how to use SNMP plus monitoring treasure to achieve the performance of the VPS monitoring, test platform CentOS.

1. We need to install a component NET-SNMP command as follows:

Yum Install Net-snmp net-snmp-devel net-snmp-utils

When you enter a command, you have a prompt to press Y

  

2. Stop NET-SNMP first after installation

Service SNMPD Stop

  

3. Create an account such as account www.vpsck.com password 123456789 Note password need 8 and above

Net-snmp-config--create-snmpv3-user-ro-a 123456789-a MD5 www.vpsck.com

  

4. Start NET-SNMP

Service SNMPD Start

5. Set to boot

Chkconfig snmpd on

6. Normal Test

Snmpwalk-v 3-u www.vpsck.com-a md5-a "123456789"-l authnopriv 127.0.0.1 SYSDESCR

If the operation is normal it will return your server or VPS name and other information

  

7. If the server or VPS is open iptables

You need to include the monitor IP address command in the rule

Iptables-i input-p udp-s 60.195.252.107–dport 161-j ACCEPT

Iptables-i input-p udp-s 60.195.252.110–dport 161-j ACCEPT

8. The above server is set up, you can enter the monitoring treasure to create a monitoring project (Monitoring Treasure Baidu Register account)

9. Create a server performance monitoring project

  

10. Fill in your own IP as shown in the picture and the password information of the account you created previously

  

11. Select the items that need to be monitored, if it is the last one of the VPS OpenVZ architecture, do not tick the error.

  

Through the above steps to complete the server or VPS performance monitoring configuration, configuration can also set the alarm if the performance beyond the normal range will automatically send you an e-mail.

Allows you to adjust the server or VPS upgrades at the first time. Make sure the site works

SOURCE Eagle Blog: http://www.vpsck.com/319.html

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.