oid生成并配置查看更新数据

生成oid:
$snmpwalk -v 2c -c public 172.16.1.25 .1

SNMPv2-SMI::enterprises.39165.1.1.0 = STRING: "SLC-4000-C-720"
SNMPv2-SMI::enterprises.39165.1.2.0 = STRING: "0"
SNMPv2-SMI::enterprises.39165.1.3.0 = STRING: "V5.3.12 build 151225"
SNMPv2-SMI::enterprises.39165.1.4.0 = STRING: "bc-ad-28-21-1c-f6"
SNMPv2-SMI::enterprises.39165.1.5.0 = STRING: "88"
SNMPv2-SMI::enterprises.39165.1.6.0 = STRING: "IPcamera"
SNMPv2-SMI::enterprises.39165.1.7.0 = STRING: "25 PERCENT"
SNMPv2-SMI::enterprises.39165.1.8.0 = STRING: "0.0 GB"
SNMPv2-SMI::enterprises.39165.1.9.0 = STRING: "0 PERCENT"
SNMPv2-SMI::enterprises.39165.1.10.0 = STRING: "256 MB"
SNMPv2-SMI::enterprises.39165.1.11.0 = STRING: "86 PERCENT"
SNMPv2-SMI::enterprises.39165.1.12.0 = INTEGER: 0
SNMPv2-SMI::enterprises.39165.1.13.0 = IpAddress: 0.0.0.0
SNMPv2-SMI::enterprises.39165.1.14.0 = IpAddress: 0.0.0.0
SNMPv2-SMI::enterprises.39165.1.15.0 = IpAddress: 0.0.0.0
SNMPv2-SMI::enterprises.39165.1.16.0 = IpAddress: 172.16.1.25
SNMPv2-SMI::enterprises.39165.1.17.0 = IpAddress: 255.255.255.0
SNMPv2-SMI::enterprises.39165.1.18.0 = IpAddress: 172.16.1.1
SNMPv2-SMI::enterprises.39165.1.19.0 = STRING: "2018-07-10 15:12:53"
SNMPv2-SMI::enterprises.39165.1.20.0 = INTEGER: 1
SNMPv2-SMI::enterprises.39165.1.21.0 = STRING: "H.264"
SNMPv2-SMI::enterprises.39165.1.22.0 = STRING: "H.264"
SNMPv2-SMI::enterprises.39165.1.23.0 = INTEGER: 1
SNMPv2-SMI::enterprises.39165.1.24.0 = INTEGER: 1
SNMPv2-SMI::enterprises.39165.1.25.0 = INTEGER: 0
SNMPv2-SMI::enterprises.39165.1.26.0 = INTEGER: 1
SNMPv2-SMI::enterprises.39165.1.27.0 = INTEGER: 1
SNMPv2-SMI::enterprises.39165.1.28.0 = INTEGER: 1
SNMPv2-SMI::enterprises.39165.1.29.0 = STRING: "ETHERNET"
SNMPv2-SMI::enterprises.39165.1.30.0 = INTEGER: 2
SNMPv2-SMI::enterprises.39165.1.31.0 = INTEGER: 1
SNMPv2-SMI::enterprises.39165.1.32.0 = IpAddress: 0.0.0.0
SNMPv2-SMI::enterprises.39165.1.33.0 = ""
SNMPv2-SMI::enterprises.39165.1.34.0 = INTEGER: 0
SNMPv2-SMI::enterprises.39165.1.34.0 = No more variables left in this MIB View (It is past the end of the MIB tree)

$snmpwalk -v 2c -c public -On  172.16.1.25 enterprises.39165.1.33.0
其中enterprises.39165.1.33.0是oid,可以换成别的oid

在zabbix后台管理页面中配置主机,完毕后配置监控项


监控项.png

在监控项中如图配置


点击主机监控项.png

输入以下信息.png

配置完成保存即可。
怎么查看最新数据

  1. 导航栏 检测中--》最新数据--》选择主机群组--》主机等,完成后点击应用,此时应该就出现数据了。


    最新数据.png

    配置项.png

你可能感兴趣的:(oid生成并配置查看更新数据)