Int. Env. Mon. Properties Discovery
SCUtils.APC.UPS.IntEnvMonProbeProperties.Discovery (Discovery)
Element properties:
Object Discovery Details:
Member Modules:
Source Code:
<Discovery ID="SCUtils.APC.UPS.IntEnvMonProbeProperties.Discovery" Enabled="true" Target="SCUtils.APC.UPS.IEMProbe" ConfirmDelivery="true" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="SCUtils.APC.UPS.IEMProbe"/>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="SCUtils.APC.UPS.DiscoverProperties.DSMT">
<IntervalSeconds>86400</IntervalSeconds>
<IPAddress>$Target/Host/Host/Property[Type="NetworkLibrary!System.NetworkManagement.Node"]/SNMPAddress$</IPAddress>
<CommunityString>$RunAs[Name="NetworkLibrary!System.NetworkManagement.Snmp.MonitoringAccount"]/CommunityString$</CommunityString>
<SnmpVersion>$Target/Host/Host/Property[Type="NetworkLibrary!System.NetworkManagement.Node"]/SNMPVersion$</SnmpVersion>
<SnmpVarBinds>
<SnmpVarBind>
<OID>.1.3.6.1.4.1.318.1.1.10.2.3.2.1.5.$Target/Property[Type="SCUtils.APC.UPS.IEMProbe"]/Index$</OID>
<Syntax>0</Syntax>
<Value VariantType="8"/>
</SnmpVarBind>
</SnmpVarBinds>
<PreProbeExpression>
<SimpleExpression>
<ValueExpression>
<Value Type="String">$Target/Property[Type="SCUtils.APC.UPS.IEMProbe"]/Index$</Value>
</ValueExpression>
<Operator>GreaterEqual</Operator>
<ValueExpression>
<Value Type="String">0</Value>
</ValueExpression>
</SimpleExpression>
</PreProbeExpression>
<PostProbeExpression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">ErrorCode</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">1</Value>
</ValueExpression>
</SimpleExpression>
</PostProbeExpression>
<ClassId>$MPElement[Name="SCUtils.APC.UPS.IEMProbe"]$</ClassId>
<InstanceSettings>
<Settings>
<Setting>
<Name>$MPElement[Name="NetworkLibrary!System.NetworkManagement.Node"]/DeviceKey$</Name>
<Value>$Target/Host/Host/Property[Type="NetworkLibrary!System.NetworkManagement.Node"]/DeviceKey$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name='NetworkLibrary!System.NetworkManagement.LogicalDevice']/Key$</Name>
<Value>$Target/Property[Type="NetworkLibrary!System.NetworkManagement.LogicalDevice']/Key$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="SCUtils.APC.UPS.Monitoring.Card"]/Name$</Name>
<Value>$Target/Host/Property[Type="SCUtils.APC.UPS.Monitoring.Card"]/Name$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="SCUtils.APC.UPS.IEMProbe"]/TempUnits$</Name>
<Value>$Data/SnmpVarBinds/SnmpVarBind[1]/Value$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="SCUtils.APC.UPS.IEMProbe"]/OID$</Name>
<Value>$Target/Property[Type="SCUtils.APC.UPS.IEMProbe"]/OID$</Value>
</Setting>
</Settings>
</InstanceSettings>
</DataSource>
</Discovery>