• cactil安装解决缺少snmpwalk包的问题


    安装过程可直接参考官方文档。cacti在使用时需要用到snmp包,在centos下安装方式:yum install net-snmp,这样没有问题的,而后安装cacti时,参考截图

    ,会用到snmpwalk,使用yum的方式一般是安装不上这个文件的,百度之后发现,一般是建议删除小yum安装的snmp包,然后下载完整的snmp源码的方式自己编译,可解决这个问题,确实,上次我就是这样搞得。

      这次换个思路,yum有个很好的参数yum provides snmpwalk,即查询snmpwal隶属于哪个yum包,这样就很方便了:

    [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     00:00
    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

    1: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

    这样就知道snmpwalk属于net-snmp-utils,然后使用yum安装这个包即可

    [root@Manager2 Desktop]# yum install net-snmp-utils

    使用yum前请配置好yum源,百度下,很easy的!

  • 相关阅读:
    开源 .net license tool, EasyLicense !
    Logging with NLog
    Logging with Log4net (二)
    Logging with Debug And Trace (一)
    ThoughtWorks代码挑战——FizzBuzzWhizz
    开源插件 :MahApps.Metro.IconPacks
    Java地址:
    小程序源码下载[demo整理自github]
    多块图形合并(自动合并相交块)
    Textbox
  • 原文地址:https://www.cnblogs.com/xia/p/2673299.html
Copyright © 2020-2023  润新知