SNMP Monitor Linux servers

Source: Internet
Author: User
Tags snmp

Snmp monitor linux servers First,  modified by the monitored side

Shell#yum Install Net-snmp–y

shell# Mv/etc/snmp/snmpd.conf/etc/snmp/snmpd.conf.bak

shell# vim/etc/snmpd/snmpd.conf

Com2sec mynetwork 10.0.2.161 Public # here writes the service-side IP thatallows this machine to access your SNMPif the default is all accessible by default.

Group Myrogroup v2c MyNetwork

Access Myrogroup "" Any noauthprefix all None

View all included. 1 80

Shell#chkconfig SNMPD on

shell# Service SNMPD Start

Second, the service side modification

Install packages

shell# Yum Install Net-snmp-utils

To test:

Snmpwalk–v 2c–c Public 10.0.2.166

Snmpwalt–v 2c–c Public 127.0.0.1snmpv2-mib::systime.0

If you have the data, that means it's successful.

Third, add the host

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M01/85/98/wKioL1epjGygsQRuAAGKZhbzGJM969.png-wh_500x0-wm_3 -wmp_4-s_3197941652.png "title=" image 1.png "alt=" Wkiol1epjgygsqruaagkzhbzgjm969.png-wh_50 "/>

Association Templates TEMPLATESNMP OS Linux

The default is one hour

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M02/85/98/wKioL1epjIPBj7ZrAAB8xFI968A549.png-wh_500x0-wm_3 -wmp_4-s_3924992012.png "title=" picture. png "alt=" wkiol1epjipbj7zraab8xfi968a549.png-wh_50 "/>

When the green light is on, it indicates that it has been monitored successfully.


This article is from the "Chuck's blog" blog, so be sure to keep this source http://chuckzeng.blog.51cto.com/10524728/1836151

SNMP Monitor Linux servers

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.