Lenovo SnmpTrap EventProvider

IBM.SnmpTrap.EventProvider (DataSourceModuleType)

Element properties:

TypeDataSourceModuleType
IsolationAny
AccessibilityPublic
RunAsDefault
OutputTypeSystem.Event.Data

Member Modules:

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

Source Code:

<DataSourceModuleType ID="IBM.SnmpTrap.EventProvider" Accessibility="Public">
<Configuration>
<xsd:element minOccurs="1" maxOccurs="1" name="IP" type="xsd:string"/>
<xsd:element minOccurs="1" maxOccurs="1" name="CommunityString" type="xsd:string"/>
<xsd:element minOccurs="1" maxOccurs="1" name="AllTraps" type="xsd:boolean"/>
<xsd:element minOccurs="0" maxOccurs="1" name="OIDProps">
<xsd:complexType>
<xsd:sequence>
<xsd:element minOccurs="0" maxOccurs="unbounded" name="OIDProp" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="EventLevel" type="xsd:integer"/>
</Configuration>
<ModuleImplementation>
<Composite>
<MemberModules>
<DataSource TypeID="SNMP!System.SnmpTrapProvider" ID="DataSource">
<IP>$Config/IP$</IP>
<CommunityString>$Config/CommunityString$</CommunityString>
<AllTraps>$Config/AllTraps$</AllTraps>
<OIDProps>$Config/OIDProps$</OIDProps>
</DataSource>
<ConditionDetection TypeID="System!System.Event.GenericDataMapper" ID="Mapper">
<EventOriginId>$Target/Id$</EventOriginId>
<PublisherId>$MPElement$</PublisherId>
<PublisherName>SnmpTrap</PublisherName>
<Channel>SnmpTrap</Channel>
<LoggingComputer/>
<EventNumber>0</EventNumber>
<EventCategory>3</EventCategory>
<EventLevel>$Config/EventLevel$</EventLevel>
<UserName/>
<Description>%1 -- EventID = %2</Description>
<Params>
<Param>$Data/SnmpVarBinds/SnmpVarBind[OID='1.3.6.1.4.1.2.6.158.3.1.1.8'][1]/Value$</Param>
<Param>$Data/SnmpVarBinds/SnmpVarBind[OID='1.3.6.1.4.1.2.6.158.3.1.1.14'][1]/Value$</Param>
</Params>
</ConditionDetection>
</MemberModules>
<Composition>
<Node ID="Mapper">
<Node ID="DataSource"/>
</Node>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>System!System.Event.Data</OutputType>
</DataSourceModuleType>