opensuse cacti snmpd.conf的配置

文章详细介绍了在CentOS环境下成功配置cacti与SNMP的过程,并对比了在OpenSUSE环境下配置SNMP时遇到的问题与解决方法。探讨了配置文件中的关键设置与不同之处。

cacti在centos下配置成功.

但是在opensuse折腾了好一段时间.

 

# Please see /usr/share/doc/packages/net-snmp/EXAMPLE.conf for a
# more complete example and snmpd.conf(5).
#
# Writing is disabled by default for security reasons.  If you'd like
# to enable it uncomment the rwcommunity line and change the community
# name to something nominally secure (keeping in mind that this is
# transmitted in clear text).

# don't use ' < > in strings for syslocation or syscontact
# Note that if you define the following here you won't be able to change
# them with snmpset
syslocation Server Room
syscontact Sysadmin (root@localhost)

# These really aren't meant for production use.  They include all MIBS
# and can use considerable resources.  See snmpd.conf(5) for information
# on setting up groups and limiting MIBS.
#rocommunity public 127.0.0.1
agentaddress 161
rocommunity public
rwcommunity private
trapsink 192.168.102.90 public 162
rocommunity corporate 192.168.102.90 #your server for snmp

 

为啥这样配置,我不懂,但是这样能出数据...

很郁闷,为什么和RedHat的不一样呢?

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值