Cactil installation-Solve the Problem of snmpwalk package missing

Source: Internet
Author: User
Tags snmp snmpwalk

For the installation process, see the official documentation. The cacti requires an SNMP package for use. The installation method in centos is yum install net-snmp. This is no problem. When installing cacti, refer

 

, Snmpwalk will be used. The yum method is generally unable to install this file. Baidu later found that it is generally recommended to delete the snmp package installed on the small yum, then download the complete SNMP source code and compile it by yourself to solve this problem. Indeed, I did this last time.

In this case, yum has a good parameter Yum provides snmpwalk, that is, it is very convenient to query which Yum package snmpwal belongs:

[root @ manager2 desktop] # Yum provides */snmpwalk
loaded plugins: fastestmirror, refresh-packagekit
loading mirror speeds from cached hostfile
* base: mirrors.grandcloud.cn
* extras: mirrors.grandcloud.cn
* updates: mirrors.grandcloud.cn
updates/filelists_db | 1.7 MB
1: net-snmp-utils-5.5-41.el6.x86_64: network management utilities using SNMP,
: From the NET-SNMP project
repo: base
matched from:
filename:/usr/bin/snmpwalk

Net-snmp-utils-5.5-41.el6_3.1.x86_64: network management utilities using
: SNMP, from the NET-SNMP Project
Repo: Updates
Matched from:
Filename:/usr/bin/snmpwalk

In this way, you will know that snmpwalk belongs to net-snmp-utils, and then use Yum to install this package.

[Root @ manager2 desktop] # Yum install net-snmp-utils

Please configure the yum source before using yum, Baidu, very easy!

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.