SNMP Event Data Source

System.NetworkManagement.SnmpEventDataSource (DataSourceModuleType)

Data source that runs an SNMP probe against the target and creates an Operations Manager event

Element properties:

TypeDataSourceModuleType
IsolationAny
AccessibilityPublic
RunAsDefault
OutputTypeSystem.Event.Data

Member Modules:

ID Module Type TypeId RunAs 
SnmpDataSource DataSource System.NetworkManagement.SnmpDataSource Default
Mapper ConditionDetection System.Event.GenericDataMapper Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
Intervalint$Config/Interval$IntervalThe number of seconds between monitor execution
NoOfRetriesint$Config/NoOfRetries$Number of RetriesThe number of times that an SNMP GET operation will retry if it times out
Timeoutint$Config/Timeout$Timeout (Milliseconds)The amount of time (in milliseconds) before an SNMP GET operation times out
Portint$Config/Port$PortThe port on which the events are detected

Source Code:

<DataSourceModuleType ID="System.NetworkManagement.SnmpEventDataSource" Accessibility="Public">
<Configuration>
<IncludeSchemaTypes>
<SchemaType>System!System.ParamListSchema</SchemaType>
<SchemaType>System!System.ExpressionEvaluatorSchema</SchemaType>
<SchemaType>Snmp!System.SnmpVarBindsSchema</SchemaType>
</IncludeSchemaTypes>
<xsd:element name="Interval" type="xsd:integer"/>
<xsd:element name="NoOfRetries" type="xsd:unsignedInt" default="3"/>
<xsd:element name="Timeout " type="xsd:unsignedInt" default="500"/>
<xsd:element name="Port" type="xsd:unsignedInt" default="161"/>
<xsd:element name="IP" type="xsd:string"/>
<xsd:element minOccurs="0" maxOccurs="1" name="Version" type="xsd:string"/>
<xsd:element name="SnmpVarBinds" type="SnmpVarBindsType"/>
<xsd:element name="EventOriginId" type="xsd:string"/>
<xsd:element name="PublisherId" type="xsd:string"/>
<xsd:element name="PublisherName" type="xsd:string"/>
<xsd:element name="Channel" type="xsd:string"/>
<xsd:element name="LoggingComputer" type="xsd:string"/>
<xsd:element name="EventNumber" type="xsd:string"/>
<xsd:element name="EventCategory" type="xsd:string"/>
<xsd:element name="EventLevel" type="xsd:string"/>
<xsd:element name="UserName" type="xsd:string"/>
<xsd:element name="Description" type="xsd:string" minOccurs="0" maxOccurs="1"/>
<xsd:element name="Params" type="ParamListType"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="Interval" Selector="$Config/Interval$" ParameterType="int"/>
<OverrideableParameter ID="NoOfRetries" Selector="$Config/NoOfRetries$" ParameterType="int"/>
<OverrideableParameter ID="Timeout" Selector="$Config/Timeout$" ParameterType="int"/>
<OverrideableParameter ID="Port" Selector="$Config/Port$" ParameterType="int"/>
</OverrideableParameters>
<ModuleImplementation>
<Composite>
<MemberModules>
<DataSource ID="SnmpDataSource" TypeID="System.NetworkManagement.SnmpDataSource">
<Scheduler>
<SimpleReccuringSchedule>
<Interval Unit="Seconds">$Config/Interval$</Interval>
</SimpleReccuringSchedule>
<ExcludeDates/>
</Scheduler>
<NoOfRetries>$Config/NoOfRetries$</NoOfRetries>
<Timeout>$Config/Timeout$</Timeout>
<Port>$Config/Port$</Port>
<SNMPv3UserName>$RunAs[Name="System.NetworkManagement.SnmpV3.MonitoringAccount"]/UserName$</SNMPv3UserName>
<SNMPv3AuthProtocol>$RunAs[Name="System.NetworkManagement.SnmpV3.MonitoringAccount"]/AuthenticationProtocol$</SNMPv3AuthProtocol>
<SNMPv3AuthPassword>$RunAs[Name="System.NetworkManagement.SnmpV3.MonitoringAccount"]/AuthenticationKey$</SNMPv3AuthPassword>
<SNMPv3PrivProtocol>$RunAs[Name="System.NetworkManagement.SnmpV3.MonitoringAccount"]/PrivacyProtocol$</SNMPv3PrivProtocol>
<SNMPv3PrivPassword>$RunAs[Name="System.NetworkManagement.SnmpV3.MonitoringAccount"]/PrivacyKey$</SNMPv3PrivPassword>
<SNMPv3ContextName>$RunAs[Name="System.NetworkManagement.SnmpV3.MonitoringAccount"]/ContextName$</SNMPv3ContextName>
<IP>$Config/IP$</IP>
<CommunityString>$RunAs[Name="System.NetworkManagement.Snmp.MonitoringAccount"]/CommunityString$</CommunityString>
<Version>$Config/Version$</Version>
<SnmpVarBinds>$Config/SnmpVarBinds$</SnmpVarBinds>
<OutputOnError>false</OutputOnError>
</DataSource>
<ConditionDetection TypeID="System!System.Event.GenericDataMapper" ID="Mapper">
<EventOriginId>$Target/Id$</EventOriginId>
<PublisherId>$MPElement$</PublisherId>
<PublisherName>$Config/PublisherName$</PublisherName>
<Channel>$Config/Channel$</Channel>
<LoggingComputer>$Config/LoggingComputer$</LoggingComputer>
<EventNumber>$Config/EventNumber$</EventNumber>
<EventCategory>$Config/EventCategory$</EventCategory>
<EventLevel>$Config/EventLevel$</EventLevel>
<UserName>$Config/UserName$</UserName>
<Description>$Config/Description$</Description>
<Params>$Config/Params$</Params>
</ConditionDetection>
</MemberModules>
<Composition>
<Node ID="Mapper">
<Node ID="SnmpDataSource"/>
</Node>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>System!System.Event.Data</OutputType>
</DataSourceModuleType>