RFC1156Agent

RFC1156 指定计算机的联系人名称、物理位置和 SNMP 服务。

可以在 Windows Server 2008、Windows Server 2008 R2 和 Windows server 2012 的核心安装中使用此设置,方法是在 Windows Foundation 包中启用 SNMP-SC。

子元素

设置 说明
SysContact 指定此托管节点的联系人名称,以及有关如何与此人联系的信息。
SysLocation 指定计算机的物理位置。
SysServices 指定最多五个简单网络管理协议 (SNMP) 服务的任意组合。

有效配置阶段

generalize

specialize

父层次结构

Microsoft-Windows-SNMP-Agent-Service | RFC1156Agent

应用于

有关此组件支持的受支持 Windows 版本和体系结构的列表,请参阅 Microsoft-Windows-SNMP-Agent-Service

XML 示例

以下 XML 输出演示了如何设置 SNMP。

<PermittedManagers>
   <A1>networkhost</A1>
</PermittedManagers>
<RFC1156Agent>
   <sysContact>MyContact</sysContact>
   <sysLocation>MyLocation</sysLocation>
   <sysServices>65</sysServices>
</RFC1156Agent>
<TrapConfiguration>
   <TrapConfigurationItems wcm:action="add">
      <Community_Name>Private</Community_Name>
      <Traps>ComputerName</Traps>
   </TrapConfigurationItems>
   <TrapConfigurationItems wcm:action="add">
      <Community_Name>Public</Community_Name>
      <Traps>207.46.197.32</Traps>
   </TrapConfigurationItems>
</TrapConfiguration>
<ValidCommunities>
   <ValidCommunity wcm:action="add" wcm:keyValue="Community1">2</ValidCommunity>
   <ValidCommunity wcm:action="add" wcm:keyValue="Community2">4</ValidCommunity>
</ValidCommunities>

Microsoft-Windows-SNMP-Agent-Service