sysLocation

sysLocation 指定计算机的物理位置。

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

SysLocation

指定计算机的物理位置。 SysLocation 是一个字符串。

该字符串类型支持空元素。

有效配置阶段

generalize

specialize

父层次结构

Microsoft-Windows-SNMP-Agent-Service | RFC1156Agent | sysLocation

应用于

有关此组件支持的受支持 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>

RFC1156Agent