Users Guide

b. 团体名称框中键入系统(能够管理您的系统)的团体名称(默认设置为 public),然后单击添加
将显示 SNMP 服务属性窗口。
要编辑团体名称,请执行以下操作:
a. 接受的团体名称列表中选择一个团体名称,然后单击编辑
将显示 SNMP 服务配置窗口。
b. 团体名称框中编辑团体名称,然后单击确定
将显示 SNMP 服务属性窗口。
6. 单击确定以保存更改。
配置您的系统以向管理站发送 SNMP 陷阱
Server Administrator 生成 SNMP 陷阱,以响应传感器状况和其他被监测参数的更改。您必须在运行 Server Administrator 的系统
上配置一个或多个陷阱目标才能向管理站发送 SNMP 陷阱。
1. 打开计算机管理窗口。
2. 如果需要,请展开窗口中的计算机管理图标。
3. 展开服务和应用程序图标,然后单击服务
4. 向下滚动服务列表,直至找到 SNMP 服务。右键单击 SNMP 服务,然后单击属性
随即显示 SNMP 服务属性窗口。
5. 单击陷阱选项卡以添加陷阱团体,或添加陷阱团体的陷阱目标。
a. 要添加陷阱团体,请在团体名称框中键入团体名称,然后单击团体名称框旁边的添加到列表
b. 要添加陷阱团体的陷阱目标,请从团体名称下拉框中选择团体名称,然后单击陷阱目标框下的添加
此时将显示 SNMP 服务配置窗口。
c. 主机名称IP IPX 地址框中,键入陷阱目标,添加
随即显示 SNMP 服务属性窗口。
6. 单击确定保存更改。
在运行支持的 Red Hat Enterprise Linux 的系统上配置 SNMP 代理
Server Administrator 使用 net-snmp SNMP 代理提供的 SNMP 服务。您可以配置 SNMP 代理,以更改团体名称、启用 Set 操作
及向管理站发送陷阱。要配置 SNMP 代理以正确地与管理应用程序(例如 IT Assistant)进行交互,请执行以下各节中说明的
步骤。
: 有关 SNMP 配置的附加详细信息,请参阅操作系统说明文件。
SNMP Agent Access Control Conguration
The management information base (MIB) branch implemented by Server Administrator is identied by the Object Identier (OID)
1.3.6.1.4.1.674. Management applications must have access to this branch of the MIB tree to manage systems running Server
Administrator.
For Red Hat Enterprise Linux and VMware ESXi operating systems, the default SNMP agent conguration gives read-only access for
the public community only to the MIB-II system branch (identied by the 1.3.6.1.2.1.1 OID) of the MIB tree. This conguration does not
allow management applications to retrieve or change Server Administrator or other systems management information outside of the
MIB-II system branch.
Server Administrator SNMP 代理安装操作
如果 Server Administrator 在安装期间检测到默认 SNMP 配置,将尝试修改 SNMP 代理配置,以给予 public 团体对整个 MIB
的只读访问权限。Server Administrator 通过以下方式修改 SNMP 代理配置文件 /etc/snmp/snmpd.conf
如果不存在以下行,可通过将其添加而创建对整个 MIB 树的视图:view all included
修改默认 access 行,给予 public 团体对整个 MIB 树的只读访问权限。 Server Administrator 会寻找以下行:access
notConfigGroup "" any noauth exact systemview none none
如果 Server Administrator 发现上面的行,它会将其修改为:access notConfigGroup "" any noauth exact all
none none
: 为确保 Server Administrator 能够修改 SNMP 代理配置以提供对系统管理数据的适当访问权限,建议在安装
Server Administrator 之后再对其他所有 SNMP 代理配置进行修改。
16