centos里启用snmp的监控
来源:互联网 发布:网络投资靠谱吗 编辑:程序博客网 时间:2024/05/16 10:25
/etc/init.d/snmpd stop
net-snmp-config –create-snmpv3-user -ro -A 密码 -a MD5 用户名
/etc/init.d/snmpd start
密码要超过8位
[root@zhudoubaby ~]# net-snmp-config --create-snmpv3-user -ro
Enter a SNMPv3 user name to create:
test
Enter authentication pass-phrase:
net-snmp-config
Enter encryption pass-phrase:
[press return to reuse the authentication pass-phrase]
net-snmp-config
adding the following line to /var/net-snmp/snmpd.conf:
createUser zhudou MD5 "netsnmp$#config" DES netsnmp$#config
adding the following line to /etc/snmp/snmpd.conf:
rouser test
[root@zhudoubaby ~]# service snmpd start
有防火墙的情况下,得把udp 161 端口打开了
[root@zhudoubaby ~]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all -- anywhere anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all -- anywhere anywhere
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain RH-Firewall-1-INPUT (2 references)
target prot opt source destination
ACCEPT udp -- anywhere anywhere state NEW udp dpt:snmp (必须的)
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:smtp (不用)
/etc/sysconfig/iptables
- centos里启用snmp的监控
- centos 下配置监控宝的snmp的服务
- 启用路由器的SNMP服务
- SNMP监控开启snmp服务的设备
- JVM的SNMP监控配置
- linux Centos VPS中安装snmp用监控宝监测的详细方法[转]
- linux Centos VPS中安装snmp用监控宝监测的详细方法[转]
- SNMP 监控
- snmp++开发包开发基于snmp的ups监控程序
- Centos 6.5下SNMP简单配置(snmp protocol v3,监控宝)
- SNMP 对网络监控的作用
- 通过snmp监控asterisk的方法
- 基于SNMP和JRobin的监控
- 使用SNMP进行网络设备的监控管理
- SNMP监控一些常用OID的总结
- SNMP监控一些常用OID的总结
- SNMP监控一些常用OID的总结
- SNMP监控一些常用OID的总结
- 有关于sln 类型文件的 unrecognized version 问题
- HDU 2502 - 月之数
- hdu_1048_The Hardest Problem Ever_字符输入输出问题水题一道
- 内存分配
- 渐变色样式
- centos里启用snmp的监控
- 杂记
- 文章阅读
- hdu_1061_Rightmost Digit_求n^n的个位数
- 采用this.systemManager.popUpChildren.numChildren获取不到弹出框数量的问题解决
- 无法对视图创建索引 它包含text ntext image 或XML列
- OpenNMS全接触-OpenNMS介绍(一)
- Outlook 2003" your microsoft exchange server is unavailable"
- C++ Vector详解