snmpwalk 命令_Snmpwalk命令行示例

snmpwalk 命令_Snmpwalk命令行示例_第1张图片

snmpwalk 命令

SNMP protocol provides useful features to monitor and configure network and server systems remotely. Monitoring features are much popular than configuration. snmpwalk is a function provided by SNMP protocol to get metrics of remote system in bulk.

SNMP协议提供了有用的功能,可以远程监视和配置网络和服务器系统。 监视功能比配置功能流行得多。 snmpwalk是SNMP协议提供的一项功能,用于批量获取远程系统的指标。

获取所有OIDS (Get All OIDS)

We will first look the simplest usage of the snmpwalk command. We just provide minimum options to the snmpwalk. We will provide following options as minimum

我们首先来看一下snmpwalk命令的最简单用法。 我们仅提供snmpwalk最少选项。 我们将至少提供以下选项

  • `-v 2c` version information 2 community

    `-v 2c`版本信息2社区
  • `-c`the public or private secret

    -c公共或私人秘密
  • `IP ADDRESS`

    IP地址
$ snmpwalk -v 2c -c public localhost
snmpwalk 命令_Snmpwalk命令行示例_第2张图片 Get All OIDS 获取所有OIDS

获取特定的OIDS (Get Specific OIDS)

In previous example we have listed all existing and configured OIDs. But this is not useful for all cases. We may need to filter and specify only OIDS we need. We will add to the end of the command the OIDs we want to get. In this exa

你可能感兴趣的:(网络,linux,nginx,java,html)