Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell OpenManage Server Administrator 版本 7.3 用户指南

从远程主机启用 SNMP 访问

SUSE Linux Enterprise Server 操作系统中的默认 SNMP 代理程序配置对 public 团体只给予从本地主机访问整个 MIB 树的只读访问权限。此配置不允许 SNMP 管理应用程序(例如在其他主机上运行的 IT Assistant)正确发现和管理 Server Administrator 系统。如果 Server Administrator 在安装期间检测到此配置,它将消息记录到操作系统日志文件 /var/log/messages,以指出 SNMP 访问权限仅限于本地主机。如果计划使用 SNMP 管理应用程序从远程主机管理系统,则必须配置 SNMP 代理程序以启用从远程主机进行 SNMP 访问。
  • 注: 出于安全性原因,建议在可能的情况下,将 SNMP 访问限制在特定的远程主机。

要启用从特定的远程主机对运行 Server Administrator 的系统的 SNMP 访问,请编辑 SNMP 代理程序配置文件 /etc/snmp/snmpd.conf,并执行下列步骤:

  1. 查找以下行: rocommunity public 127.0.0.1
  2. 编辑或复制该行,以使用远程主机 IP 地址来替换 127.0.0.1。编辑后,新行应为: rocommunity public IP_address
    • 注: 通过为每个远程主机添加 rocommunity 指令,可从多个特定的远程主机启用 SNMP 访问。
  3. 要启用已更改的 SNMP 配置,请通过键入以下命令重新启动 SNMP 代理程序: /etc/init.d/snmpd restart

    要启用从所有远程主机对运行 Server Administrator 的系统的 SNMP 访问,请编辑 SNMP 代理程序配置文件 /etc/snmp/snmpd.conf,并执行下列步骤:

  4. 查找以下行: rocommunity public 127.0.0.1
  5. 通过删除 127.0.0.1 来编辑此行。编辑后,新行应为: rocommunity public
  6. 要启用已更改的 SNMP 配置,请通过键入以下命令重新启动 SNMP 代理程序: /etc/init.d/snmpd restart

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\