Linux安装SNMP的问题

来源:互联网 发布:flac分轨软件 编辑:程序博客网 时间:2024/06/10 20:36

1.问题

snmpwalk -v 1 -c public 127.0.0.1 1.3.6.1.2.1 出现Timeout: No Response from 127.0.0.1

a.检查你的防火墙是否阻止。

b.检查 tcpwrapper(/etc/hosts.allow和/etc/hosts.deny)是否阻止。

2.常用的OID

1.3.6.1.4.1----------.private.enterprises

1.3.6.1.4.1.2 - IBM
1.3.6.1.4.1.9 - Cisco
1.3.6.1.4.1.11 - Hewlett-Packard Company 
1.3.6.1.4.1.23 - Novell 
1.3.6.1.4.1.42 - Sun 
1.3.6.1.4.1.43 - 3COM Enterprise MIBs 
1.3.6.1.4.1.232 - Compaq 
1.3.6.1.4.1.311 - Microsoft 
1.3.6.1.4.1.343 - Intel Corporation 
1.3.6.1.4.1.674 - Dell Computers 
1.3.6.1.4.1.2011 - Huawei-3Com 
1.3.6.1.4.1.2021 - RedHat Linux 
1.3.6.1.4.1.2312 - RedHat Software 
 
1.3.6.1.2.1-------------.mgmt.mib-2

1.3.6.1.2.1.1 - SNMP MIB-2 System
1.3.6.1.2.1.2 - SNMP MIB-2 Interfaces
1.3.6.1.2.1.3 - at
1.3.6.1.2.1.4 - ip
1.3.6.1.2.1.5 - icmp
1.3.6.1.2.1.6 - tcp
1.3.6.1.2.1.7 - udp
1.3.6.1.2.1.8 - egp
1.3.6.1.2.1.9 - cmot
1.3.6.1.2.1.10 - transmission
1.3.6.1.2.1.11 - snmp
1.3.6.1.2.1.25 - HOST-RESOURCES-MIB, from RFC 1514

3.Linux  SNMP配置






原创粉丝点击