SCUtils.APC.UPS.Details.Discovery.DSMT (DataSourceModuleType)
Element properties:
Member Modules:
Source Code:
<DataSourceModuleType ID="SCUtils.APC.UPS.Details.Discovery.DSMT" Accessibility="Internal" Batching="false">
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="IntervalSeconds" type="xsd:integer"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="0" name="SyncTime" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="0" maxOccurs="1" name="Port" type="xsd:unsignedInt" default="161"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="IP" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="CommunityString" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="0" maxOccurs="1" name="Version" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="DeviceKey" type="xsd:string"/>
</Configuration>
<ModuleImplementation Isolation="Any">
<Composite>
<MemberModules>
<DataSource ID="Scheduler" TypeID="System!System.Discovery.Scheduler">
<Scheduler>
<SimpleReccuringSchedule>
<Interval>$Config/IntervalSeconds$</Interval>
<SyncTime>$Config/SyncTime$</SyncTime>
</SimpleReccuringSchedule>
<ExcludeDates/>
</Scheduler>
</DataSource>
<ProbeAction ID="Probe" TypeID="NetworkLibrary!System.NetworkManagement.SnmpProbe">
<Walk>false</Walk>
<WalkReturnMultipleItems>false</WalkReturnMultipleItems>
<NoOfRetries>3</NoOfRetries>
<Timeout>500</Timeout>
<Port>$Config/Port$</Port>
<SNMPv3UserName>$RunAs[Name="NetworkLibrary!System.NetworkManagement.SnmpV3.MonitoringAccount"]/UserName$</SNMPv3UserName>
<SNMPv3AuthProtocol>$RunAs[Name="NetworkLibrary!System.NetworkManagement.SnmpV3.MonitoringAccount"]/AuthenticationProtocol$</SNMPv3AuthProtocol>
<SNMPv3AuthPassword>$RunAs[Name="NetworkLibrary!System.NetworkManagement.SnmpV3.MonitoringAccount"]/AuthenticationKey$</SNMPv3AuthPassword>
<SNMPv3PrivProtocol>$RunAs[Name="NetworkLibrary!System.NetworkManagement.SnmpV3.MonitoringAccount"]/PrivacyProtocol$</SNMPv3PrivProtocol>
<SNMPv3PrivPassword>$RunAs[Name="NetworkLibrary!System.NetworkManagement.SnmpV3.MonitoringAccount"]/PrivacyKey$</SNMPv3PrivPassword>
<SNMPv3ContextName>$RunAs[Name="NetworkLibrary!System.NetworkManagement.SnmpV3.MonitoringAccount"]/ContextName$</SNMPv3ContextName>
<IsWriteAction>false</IsWriteAction>
<IP>$Config/IP$</IP>
<CommunityString>$Config/CommunityString$</CommunityString>
<Version>$Config/Version$</Version>
<SnmpVarBinds>
<SnmpVarBind>
<OID>.1.3.6.1.4.1.318.1.1.1.1.2.1.0</OID>
<!-- firmware -->
<Syntax>0</Syntax>
<Value VariantType="8"/>
</SnmpVarBind>
<SnmpVarBind>
<OID>.1.3.6.1.4.1.318.1.1.1.1.2.3.0</OID>
<!-- SerialNumber -->
<Syntax>0</Syntax>
<Value VariantType="8"/>
</SnmpVarBind>
<SnmpVarBind>
<OID>.1.3.6.1.4.1.318.1.1.1.1.1.1.0</OID>
<!-- Model -->
<Syntax>0</Syntax>
<Value VariantType="8"/>
</SnmpVarBind>
<SnmpVarBind>
<OID>.1.3.6.1.4.1.318.1.1.1.1.2.2.0</OID>
<!-- DateOfManufacture -->
<Syntax>0</Syntax>
<Value VariantType="8"/>
</SnmpVarBind>
<SnmpVarBind>
<OID>.1.3.6.1.4.1.318.1.1.1.2.1.3.0</OID>
<!-- BatteryLastReplaceDate -->
<Syntax>0</Syntax>
<Value VariantType="8"/>
</SnmpVarBind>
</SnmpVarBinds>
<OutputOnError>false</OutputOnError>
</ProbeAction>
<ConditionDetection ID="MapToDiscovery" TypeID="System!System.Discovery.ClassSnapshotDataMapper">
<ClassId>$MPElement[Name='SCUtils.APC.UPS']$</ClassId>
<InstanceSettings>
<Settings>
<Setting>
<Name>$MPElement[Name='NetworkLibrary!System.NetworkManagement.Node']/DeviceKey$</Name>
<Value>$Config/DeviceKey$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name='SCUtils.APC.UPS']/Firmware$</Name>
<Value>$Data/SnmpVarBinds/SnmpVarBind[OID=".1.3.6.1.4.1.318.1.1.1.1.2.1.0"]/Value$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name='SCUtils.APC.UPS']/SerialNumber$</Name>
<Value>$Data/SnmpVarBinds/SnmpVarBind[OID=".1.3.6.1.4.1.318.1.1.1.1.2.3.0"]/Value$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name='SCUtils.APC.UPS']/UPSModel$</Name>
<Value>$Data/SnmpVarBinds/SnmpVarBind[OID=".1.3.6.1.4.1.318.1.1.1.1.1.1.0"]/Value$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name='SCUtils.APC.UPS']/DateOfManufacture$</Name>
<Value>$Data/SnmpVarBinds/SnmpVarBind[OID=".1.3.6.1.4.1.318.1.1.1.1.2.2.0"]/Value$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name='SCUtils.APC.UPS']/BatteryLastReplaceDate$</Name>
<Value>$Data/SnmpVarBinds/SnmpVarBind[OID=".1.3.6.1.4.1.318.1.1.1.2.1.3.0"]/Value$</Value>
</Setting>
</Settings>
</InstanceSettings>
</ConditionDetection>
</MemberModules>
<Composition>
<Node ID="MapToDiscovery">
<Node ID="Probe">
<Node ID="Scheduler"/>
</Node>
</Node>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>System!System.Discovery.Data</OutputType>
</DataSourceModuleType>