手机版
你好,游客 登录 注册 搜索
背景:
阅读新闻

Debian 6系统上有哪些MIB节点?

[日期:2011-08-19] 来源:Linux社区  作者:terryishere [字体:大 中 小]
配置Debian Linux的snmpd,使用基于SNMP协议的网管工具,获取系统支持的节点,过程简记如下。

环境:Debian 6,VMware 7, MG-SOFT MIB Browser

1.      安装snmp

        apt-get install snmp snmpd

2.      配置snmpd

       root@debian:/etc/snmp# vi snmpd.conf

1)  配置监视所有接口的连接(默认只监听本地系统)

        agentAddressudp:161,udp6:[::1]:161

2) 配置团体串

    这里配置了一个读取权限较大的(iso下)只读团体串。(默认public团体串只读取system + hrSystem groups下面的节点)

    view AllView included  .1                               #配置视图AllView

    rocommunity  public default -V AllView      #配置只读团体串

3. 在pc上运行MIB Browser读取

设置ip为Debian的eth0接口的ip,团体串设为public,从iso walk,可以看到Debian上的信息。

根据当前的机器配置,读取到了4278个实例。

***** SNMP QUERY STARTED *****

1: sysDescr.0 (octet string) Linux debian 2.6.32-5-686 #1SMP Mon Jun 13 04:13:06 UTC 2011 i686 [4C.69.6E.75.78.20.64.65.62.69.61.6E.20.32.2E.36.2E.33.32.2D.35.2D.36.38.36.20.23.31.20.53.4D.50.20.4D.6F.6E.20.4A.75.6E.20.31.33.20.30.34.3A.31.33.3A.30.36.20.55.54.43.20.32.30.31.31.20.69.36.38.36(hex)]

2: sysObjectID.0 (object identifier) enterprises.8072.3.2.10

3: sysUpTimeInstance (timeticks) 0 days 00h:00m:06s.22th (622)

4: sysContact.0 (octet string) Me <me@example.org> [4D.65.20.3C.6D.65.40.65.78.61.6D.70.6C.65.2E.6F.72.67.3E (hex)]

5: sysName.0 (octet string) debian[64.65.62.69.61.6E (hex)]

6: sysLocation.0 (octet string) Sitting on the Dock of the Bay [53.69.74.74.69.6E.67.20.6F.6E.20.74.68.65.20.44.6F.63.6B.20.6F.66.20.74.68.65.20.42.61.79 (hex)]

7: sysServices.0 (integer) 72

8: sysORLastChange.0 (timeticks) 0 days 00h:00m:00s.00th (0)

9: sysORID.1 (object identifier) snmpFrameworkMIBCompliance

10: sysORID.2 (object identifier) snmpMPDCompliance

11: sysORID.3 (object identifier) usmMIBCompliance

12: sysORID.4 (object identifier) snmpMIB

13: sysORID.5 (object identifier) tcpMIB

14: sysORID.6 (object identifier) ip

15: sysORID.7 (object identifier) udpMIB

16: sysORID.8 (object identifier) vacmBasicGroup

17: sysORDescr.1 (octet string) The SNMP Management Architecture MIB. [54.68.65.20.53.4E.4D.50.20.4D.61.6E.61.67.65.6D.65.6E.74.20.41.72.63.68.69.74.65.63.74.75.72.65.20.4D.49.42.2E(hex)]

18: sysORDescr.2 (octet string) The MIB for Message Processing and Dispatching. [54.68.65.20.4D.49.42.20.66.6F.72.20.4D.65.73.73.61.67.65.20.50.72.6F.63.65.73.73.69.6E.67.20.61.6E.64.20.44.69.73.70.61.74.63.68.69.6E.67.2E(hex)]

19: sysORDescr.3 (octet string) The management information definitions for the SNMP User-based SecurityModel.[54.68.65.20.6D.61.6E.61.67.65.6D.65.6E.74.20.69.6E.66.6F.72.6D.61.74.69.6F.6E.20.64.65.66.69.6E.69.74.69.6F.6E.73.20.66.6F.72.20.74.68.65.20.53.4E.4D.50.20.55.73.65.72.2D.62.61.73.65.64.20.53.65.63.75.72.69.74.79.20.4D.6F.64.65.6C.2E (hex)]

20: sysORDescr.4 (octet string) The MIB module for SNMPv2 entities [54.68.65.20.4D.49.42.20.6D.6F.64.75.6C.65.20.66.6F.72.20.53.4E.4D.50.76.32.20.65.6E.74.69.74.69.65.73(hex)]

21: sysORDescr.5 (octet string) The MIB module for managing TCP implementations [54.68.65.20.4D.49.42.20.6D.6F.64.75.6C.65.20.66.6F.72.20.6D.61.6E.61.67.69.6E.67.20.54.43.50.20.69.6D.70.6C.65.6D.65.6E.74.61.74.69.6F.6E.73 (hex)]

22: sysORDescr.6 (octet string) The MIB module for managing IP and ICMP implementations[54.68.65.20.4D.49.42.20.6D.6F.64.75.6C.65.20.66.6F.72.20.6D.61.6E.61.67.69.6E.67.20.49.50.20.61.6E.64.20.49.43.4D.50.20.69.6D.70.6C.65.6D.65.6E.74.61.74.69.6F.6E.73 (hex)]

23: sysORDescr.7 (octet string) The MIB module for managing UDP implementations [54.68.65.20.4D.49.42.20.6D.6F.64.75.6C.65.20.66.6F.72.20.6D.61.6E.61.67.69.6E.67.20.55.44.50.20.69.6D.70.6C.65.6D.65.6E.74.61.74.69.6F.6E.73 (hex)]

24: sysORDescr.8 (octet string) View-based Access Control Model for SNMP.[56.69.65.77.2D.62.61.73.65.64.20.41.63.63.65.73.73.20.43.6F.6E.74.72.6F.6C.20.4D.6F.64.65.6C.20.66.6F.72.20.53.4E.4D.50.2E(hex)]

…………

…………

4211: vacmContextName.0 (octet string) (zero-length)

4212: vacmGroupName.1.5.99.111.109.109.49 (octet string) grpcomm1 [67.72.70.63.6F.6D.6D.31 (hex)]

4213: vacmGroupName.2.5.99.111.109.109.49 (octet string) grpcomm1 [67.72.70.63.6F.6D.6D.31 (hex)]

4214: vacmGroupName.3.12.97.117.116.104.79.110.108.121.85.115.101.114 (octet string) grpauthOnlyUser [67.72.70.61.75.74.68.4F.6E.6C.79.55.73.65.72 (hex)]

4215: vacmGroupName.3.12.105.110.116.101.114.110.97.108.85.115.101.114 (octet string) grpinternalUser [67.72.70.69.6E.74.65.72.6E.61.6C.55.73.65.72 (hex)]

4216: vacmSecurityToGroupStorageType.1.5.99.111.109.109.49 (integer) permanent(4)

4217: vacmSecurityToGroupStorageType.2.5.99.111.109.109.49 (integer) permanent(4)

4218: vacmSecurityToGroupStorageType.3.12.97.117.116.104.79.110.108.121.85.115.101.114 (integer) permanent(4)

4219:vacmSecurityToGroupStorageType.3.12.105.110.116.101.114.110.97.108.85.115.101.114 (integer) permanent(4)

4220: vacmSecurityToGroupStatus.1.5.99.111.109.109.49 (integer) active(1)

4221: vacmSecurityToGroupStatus.2.5.99.111.109.109.49 (integer) active(1)

4222:vacmSecurityToGroupStatus.3.12.97.117.116.104.79.110.108.121.85.115.101.114 (integer) active(1)

4223:vacmSecurityToGroupStatus.3.12.105.110.116.101.114.110.97.108.85.115.101.114 (integer) active(1)

4224: vacmAccessContextMatch.8.103.114.112.99.111.109.109.49.0.0.1 (integer) prefix(2)

4225:vacmAccessContextMatch.15.103.114.112.97.117.116.104.79.110.108.121.85.115.101.114.0.3.2 (integer) prefix(2)

4226: vacmAccessContextMatch.15.103.114.112.105.110.116.101.114.110.97.108.85.115.101.114.0.3.2 (integer) prefix(2)

4227: vacmAccessReadViewName.8.103.114.112.99.111.109.109.49.0.0.1 (octet string) AllView [41.6C.6C.56.69.65.77(hex)]

4228: vacmAccessReadViewName.15.103.114.112.97.117.116.104.79.110.108.121.85.115.101.114.0.3.2 (octet string) _all_ [5F.61.6C.6C.5F(hex)]

4229:vacmAccessReadViewName.15.103.114.112.105.110.116.101.114.110.97.108.85.115.101.114.0.3.2 (octet string) _all_ [5F.61.6C.6C.5F(hex)]

4230: vacmAccessWriteViewName.8.103.114.112.99.111.109.109.49.0.0.1 (octet string) none [6E.6F.6E.65 (hex)]

4231:vacmAccessWriteViewName.15.103.114.112.97.117.116.104.79.110.108.121.85.115.101.114.0.3.2 (octet string) none [6E.6F.6E.65 (hex)]

4232: vacmAccessWriteViewName.15.103.114.112.105.110.116.101.114.110.97.108.85.115.101.114.0.3.2 (octet string) none [6E.6F.6E.65 (hex)]

4233: vacmAccessNotifyViewName.8.103.114.112.99.111.109.109.49.0.0.1 (octet string) none [6E.6F.6E.65 (hex)]

4234: vacmAccessNotifyViewName.15.103.114.112.97.117.116.104.79.110.108.121.85.115.101.114.0.3.2 (octet string) none [6E.6F.6E.65 (hex)]

4235:vacmAccessNotifyViewName.15.103.114.112.105.110.116.101.114.110.97.108.85.115.101.114.0.3.2 (octet string) none [6E.6F.6E.65 (hex)]

4236: vacmAccessStorageType.8.103.114.112.99.111.109.109.49.0.0.1 (integer) permanent(4)

4237:vacmAccessStorageType.15.103.114.112.97.117.116.104.79.110.108.121.85.115.101.114.0.3.2 (integer) permanent(4)

4238:vacmAccessStorageType.15.103.114.112.105.110.116.101.114.110.97.108.85.115.101.114.0.3.2 (integer) permanent(4)

4239: vacmAccessStatus.8.103.114.112.99.111.109.109.49.0.0.1 (integer) active(1)

4240:vacmAccessStatus.15.103.114.112.97.117.116.104.79.110.108.121.85.115.101.114.0.3.2 (integer) active(1)

4241: vacmAccessStatus.15.103.114.112.105.110.116.101.114.110.97.108.85.115.101.114.0.3.2 (integer) active(1)

4242: vacmViewSpinLock.0 (integer) 0

4243: vacmViewTreeFamilyMask.5.95.97.108.108.95.1.0 (octet string) (zero-length)

4244: vacmViewTreeFamilyMask.5.95.97.108.108.95.1.1 (octet string) (zero-length)

4245: vacmViewTreeFamilyMask.5.95.97.108.108.95.1.2 (octet string) (zero-length)

4246: vacmViewTreeFamilyMask.6.95.110.111.110.101.95.1.0 (octet string) (zero-length)

4247: vacmViewTreeFamilyMask.6.95.110.111.110.101.95.1.1 (octet string) (zero-length)

4248: vacmViewTreeFamilyMask.6.95.110.111.110.101.95.1.2 (octet string) (zero-length)

4249: vacmViewTreeFamilyMask.7.65.108.108.86.105.101.119.1.1 (octet string) (zero-length)

4250: vacmViewTreeFamilyMask.10.115.121.115.116.101.109.111.110.108.121.7.1.3.6.1.2.1.1 (octet string) (zero-length)

4251: vacmViewTreeFamilyMask.10.115.121.115.116.101.109.111.110.108.121.8.1.3.6.1.2.1.25.1 (octet string) (zero-length)

4252: vacmViewTreeFamilyType.5.95.97.108.108.95.1.0 (integer) included(1)

4253: vacmViewTreeFamilyType.5.95.97.108.108.95.1.1 (integer) included(1)

4254: vacmViewTreeFamilyType.5.95.97.108.108.95.1.2 (integer) included(1)

4255: vacmViewTreeFamilyType.6.95.110.111.110.101.95.1.0 (integer) excluded(2)

4256: vacmViewTreeFamilyType.6.95.110.111.110.101.95.1.1 (integer) excluded(2)

4257: vacmViewTreeFamilyType.6.95.110.111.110.101.95.1.2 (integer) excluded(2)

4258: vacmViewTreeFamilyType.7.65.108.108.86.105.101.119.1.1 (integer) included(1)

4259: vacmViewTreeFamilyType.10.115.121.115.116.101.109.111.110.108.121.7.1.3.6.1.2.1.1 (integer) included(1)

4260: vacmViewTreeFamilyType.10.115.121.115.116.101.109.111.110.108.121.8.1.3.6.1.2.1.25.1 (integer) included(1)

4261: vacmViewTreeFamilyStorageType.5.95.97.108.108.95.1.0 (integer) permanent(4)

4262: vacmViewTreeFamilyStorageType.5.95.97.108.108.95.1.1 (integer) permanent(4)

4263: vacmViewTreeFamilyStorageType.5.95.97.108.108.95.1.2 (integer) permanent(4)

4264: vacmViewTreeFamilyStorageType.6.95.110.111.110.101.95.1.0 (integer) permanent(4)

4265: vacmViewTreeFamilyStorageType.6.95.110.111.110.101.95.1.1 (integer) permanent(4)

4266: vacmViewTreeFamilyStorageType.6.95.110.111.110.101.95.1.2 (integer) permanent(4)

4267: vacmViewTreeFamilyStorageType.7.65.108.108.86.105.101.119.1.1 (integer) permanent(4)

4268:vacmViewTreeFamilyStorageType.10.115.121.115.116.101.109.111.110.108.121.7.1.3.6.1.2.1.1 (integer) permanent(4)

4269:vacmViewTreeFamilyStorageType.10.115.121.115.116.101.109.111.110.108.121.8.1.3.6.1.2.1.25.1 (integer) permanent(4)

4270: vacmViewTreeFamilyStatus.5.95.97.108.108.95.1.0 (integer) active(1)

4271: vacmViewTreeFamilyStatus.5.95.97.108.108.95.1.1 (integer) active(1)

4272: vacmViewTreeFamilyStatus.5.95.97.108.108.95.1.2 (integer) active(1)

4273: vacmViewTreeFamilyStatus.6.95.110.111.110.101.95.1.0 (integer) active(1)

4274: vacmViewTreeFamilyStatus.6.95.110.111.110.101.95.1.1 (integer) active(1)

4275: vacmViewTreeFamilyStatus.6.95.110.111.110.101.95.1.2 (integer) active(1)

4276: vacmViewTreeFamilyStatus.7.65.108.108.86.105.101.119.1.1 (integer) active(1)

4277:vacmViewTreeFamilyStatus.10.115.121.115.116.101.109.111.110.108.121.7.1.3.6.1.2.1.1 (integer) active(1)

4278:vacmViewTreeFamilyStatus.10.115.121.115.116.101.109.111.110.108.121.8.1.3.6.1.2.1.25.1 (integer) active(1)

linux
相关资讯       Debian  Debian 6 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款