Partager via


RFC1156Agent

RFC1156 specifies the contact name, the physical location, and the service for the computer.

You can use this setting in core installations of Windows Server® 2008, by enabling SNMP-SC in the Windows Foundation package.

Child Elements

Term Definition

sysContact

Specifies the contact name for this managed node, as well as information about how to contact this person.

sysLocation

Specifies the physical location of the computer.

sysServices

Specifies any combination of up to five Simple Network Management Protocol (SNMP) services.

Valid Passes

generalize

specialize

Parent Hierarchy

Microsoft-Windows-SNMP-Agent-Service | RFC1156Agent

Applies To

For the list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-SNMP-Agent-Service.

XML Sample

The following XML output shows how to set 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>123.456.7.89</Traps>
   </TrapConfigurationItems>
</TrapConfiguration>
<ValidCommunities>
   <ValidCommunity wcm:action="add" wcm:keyValue="Community1">2</ValidCommunity>
   <ValidCommunity wcm:action="add" wcm:keyValue="Community2">4</ValidCommunity>
</ValidCommunities>

See Also

Concepts

Microsoft-Windows-SNMP-Agent-Service