Community_Name 指定简单网络管理协议 (SNMP) 向其发送陷阱的社区的名称。
值
Community_Name |
指定元素 |
该字符串类型支持空元素。
有效配置阶段
generalize
specialize
父层次结构
Microsoft-Windows-SNMP-Agent-Service | TrapConfiguration | TrapConfigurationItems | Community_Name
应用于
有关此组件支持的受支持 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>