[CentOS7]snmpwalk安装

yum -y install net-snmp-utils

OID 数据厂商列表

传送门

(enterprises.)ID 厂商
2 IBM
4 UNIX
9 CiscoSystems,Inc.
11 HewlettPackard(HP)
20 MIT
23 Novell
42 SunMicrosystems
43 3COMEnterpriseMIBs
63 AppleComputer,Inc.
94 Nokia
111 Oracle
116 Hitachi,Ltd.
122 Sony
161 Motorola
171 D-LinkSystems,Inc.
172 AMP,Inc.
186 ToshibaCorporation
232 Compaq
236 SamsungGroup
311 Microsoft
343 IntelCorporation
674 DellComputerCorporation
1562 KingstonTechnologyCompany
2011 HUAWEITechnologyCo.,Ltd
2312 RedHatSoftware
2623 ASUSTekComputerInc.
2636 JuniperNetworks,Inc.
3704 AMD
3797 BENQCorporation
3902 ZTECorporation
4526 Netgear
5703 NVIDIACorporation
6871 VMwareInc.
11129 Google,Inc.
11863 TP-LinkTechnologyCo.,Ltd
14331 BeijingTopsecNetworkSecurityTechnologyCo.,Ltd.
14823 ArubaNetworksInc
18060 TheApacheSoftwareFoundation
19046 LenovoGroup
19621 alibaba
24993 MySQL,Inc.
25506 H3C
27645 PostgreSQLGlobalDevelopmentGroup
32353 Baidu
35047 SangforTechnologiesCo.,Ltd.
41475 ShenzhenTencentcomputersystemCo.,Ltd.
43472 APCIntegratedServicesGroup,Inc.

snmpwalk使用方法

# DELL 设备节点674
[root@k8s-master1 ~]# snmpwalk -v 2c -c public 10.2.32.10 .1.3.6.1.4.1.674

SNMPv2-SMI::enterprises.674.10895.3000.1.2.100.1.0 = STRING: "Dell EMC Networking N3024ET-ON"
SNMPv2-SMI::enterprises.674.10895.3000.1.2.100.2.0 = STRING: "Dell EMC Networking Switch"
SNMPv2-SMI::enterprises.674.10895.3000.1.2.100.3.0 = STRING: "Dell Inc"
SNMPv2-SMI::enterprises.674.10895.3000.1.2.100.4.0 = STRING: "6.5.2.35"
SNMPv2-SMI::enterprises.674.10895.3000.1.2.100.5.0 = STRING: "6.5.2.35"
SNMPv2-SMI::enterprises.674.10895.3000.1.2.100.6.0 = STRING: "http://10.2.10.10"
SNMPv2-SMI::enterprises.674.10895.3000.1.2.100.7.0 = STRING: "SWR001"
SNMPv2-SMI::enterprises.674.10895.3000.1.2.100.8.1.1.1 = INTEGER: 1
SNMPv2-SMI::enterprises.674.10895.3000.1.2.100.8.1.2.1 = STRING: "CN0DVH7NDND0092B0063"
SNMPv2-SMI::enterprises.674.10895.3000.1.2.100.8.1.3.1 = STRING: "none"
SNMPv2-SMI::enterprises.674.10895.3000.1.2.100.8.1.4.1 = STRING: "F18VNK2"
SNMPv2-SMI::enterprises.674.10895.3000.1.2.100.8.1.6.1 = STRING: "Not Available"
SNMPv2-SMI::enterprises.674.10895.3000.1.2.100.9.0 = INTEGER: 2
SNMPv2-SMI::enterprises.674.10895.3000.1.2.110.1.0 = INTEGER: 3
SNMPv2-SMI::enterprises.674.10895.3000.1.2.110.2.0 = INTEGER: 3
SNMPv2-SMI::enterprises.674.10895.3000.1.2.110.3.0 = Timeticks: (0) 0:00:00.00
SNMPv2-SMI::enterprises.674.10895.3000.1.2.110.4.0 = INTEGER: 1000
SNMPv2-SMI::enterprises.674.10895.3000.1.2.110.5.0 = INTEGER: 1
SNMPv2-SMI::enterprises.674.10895.3000.1.2.110.6.0 = INTEGER: 1
SNMPv2-SMI::enterprises.674.10895.3000.1.2.110.7.1.1.1.11 = INTEGER: 11
SNMPv2-SMI::enterprises.674.10895.3000.1.2.110.7.1.1.1.12 = INTEGER: 12
SNMPv2-SMI::enterprises.674.10895.3000.1.2.110.7.1.1.2.11 = STRING: "Fan 1"
SNMPv2-SMI::enterprises.674.10895.3000.1.2.110.7.1.1.2.12 = STRING: "Fan 2"
SNMPv2-SMI::enterprises.674.10895.3000.1.2.110.7.1.1.3.11 = INTEGER: 1
SNMPv2-SMI::enterprises.674.10895.3000.1.2.110.7.1.1.3.12 = INTEGER: 1
SNMPv2-SMI::enterprises.674.10895.3000.1.2.110.7.1.1.4.11 = INTEGER: 5000
SNMPv2-SMI::enterprises.674.10895.3000.1.2.110.7.1.1.4.12 = INTEGER: 5000
SNMPv2-SMI::enterprises.674.10895.3000.1.2.110.7.2.1.1.10 = INTEGER: 10
SNMPv2-SMI::enterprises.674.10895.3000.1.2.110.7.2.1.1.11 = INTEGER: 11
SNMPv2-SMI::enterprises.674.10895.3000.1.2.110.7.2.1.1.12 = INTEGER: 12
SNMPv2-SMI::enterprises.674.10895.3000.1.2.110.7.2.1.2.10 = STRING: "System"
SNMPv2-SMI::enterprises.674.10895.3000.1.2.110.7.2.1.2.11 = STRING: "Main"
SNMPv2-SMI::enterprises.674.10895.3000.1.2.110.7.2.1.2.12 = STRING: "Secondary"

END

posted @ 2020-05-09 13:25  LeoShi2020  阅读(3645)  评论(0编辑  收藏  举报