CentOS SERVER + monitoring Bao SNMP monitoring overview

Source: Internet
Author: User
Tags centos server

Run the following commands to install net-snmp quickly and securely. Copy codeThe Code is as follows: yum install net-snmp
Yum install net-snmp-utils

First, use the yum command to install net-snmp and net-snmo-utils.Copy codeThe Code is as follows: rm/etc/snmp/snmpd. conf
Vi/etc/snmp/snmpd. conf

Delete the default snmpd. conf file and write the following content.Copy codeThe Code is as follows: rouser sudu auth

"Sudu" is your authenticated user name. "auth" indicates read-only
Create the/var/net-snmp/directory and create the/var/net-snmp/snmpd. conf file.Copy codeThe Code is as follows: mkdir/var/net-snmp/
Vi/var/net-snmp/snmpd. conf

Finally, write the following content to/var/net-snmp/snmpd. conf:Copy codeThe Code is as follows: createUser sudu MD5 mypassword

"Sudu" is your authentication user name, and "mypassword" is your authentication password.
Finally, run the following command to enable the snmpd service and go to monitoring port 161 of udp on your server ~

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.