添加另一台linux _LNMP 到localhost
---------------------------------------------------
在网上查寻到要更改以下设置:才能看到被监控的客户端。
[root@LNMP ~]# vim /etc/snmp/snmpd.conf
1. 查找以下字段
# sec.name source community
com2sec notConfigUser 10.72.4.39 public
将"comunity"字段改为你要设置的密码.比如"public".将“default”改为你想哪台机器可以看到你的snmp信息,如10.72.4.39(服务端的IP)2. 查找以下字段:
# group context sec.model sec.level prefix read write notif
#access notConfigGroup "" any noauth exact systemview none none
access notConfigGroup "" any noauth exact all none none
#将"read"字段值改为all.
查找以下字段:
## incl/excl subtree mask
#view all included .1 80 # 将该行前面的"#"去掉. 保存关闭.

◆◆0
发表评论