SCUtils APC UPS Device Discovery
SCUtils.APC.UPS.Discovery (Discovery)
Element properties:
Object Discovery Details:
Member Modules:
Source Code:
<Discovery ID="SCUtils.APC.UPS.Discovery" Enabled="true" Target="NetworkLibrary!System.NetworkManagement.Node" ConfirmDelivery="true" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="SCUtils.APC.UPS"/>
</DiscoveryTypes>
<DataSource ID="DS1" TypeID="SCUtils.APC.UPS.Discovery.DSMT">
<IntervalSeconds>86400</IntervalSeconds>
<SyncTime/>
<Expression>
<Or>
<Expression>
<RegExExpression>
<ValueExpression>
<Value>$Target/Property[Type="NetworkLibrary!System.NetworkManagement.Node"]/SystemObjectID$</Value>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>^.1\.3\.6\.1\.4\.1\.318\.1\.3\.(2|3|5|6|7|13|16|17|22|23|27)\..+</Pattern>
</RegExExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<Value>$Target/Property[Type="NetworkLibrary!System.NetworkManagement.Node"]/SystemObjectID$</Value>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>^.1\.3\.6\.1\.4\.1\.318\.1\.3\.(1|2|6|7|17|27)$</Pattern>
</RegExExpression>
</Expression>
</Or>
</Expression>
<ClassID>$MPElement[Name="SCUtils.APC.UPS"]$</ClassID>
<InstanceSettings>
<Settings>
<Setting>
<Name>$MPElement[Name="System!System.Entity"]/DisplayName$</Name>
<Value>$Target/Property[Type="NetworkLibrary!System.NetworkManagement.Node"]/sysName$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="NetworkLibrary!System.NetworkManagement.Node"]/DeviceKey$</Name>
<Value>$Target/Property[Type="NetworkLibrary!System.NetworkManagement.Node"]/DeviceKey$</Value>
</Setting>
</Settings>
</InstanceSettings>
</DataSource>
</Discovery>