APC EMU Probe Communications Status Discovery

SCUtils.APC.EMUProbe.Properties.Discovery (Discovery)


The state of communications to the probe.
commNeverDiscovered(1) indicates there has never been communications with this device.
commsEstablished(2) indicates communication is normal and active with this device.
commsLost(3) indicates communication had been established, but is no longer.

Element properties:

TargetSCUtils.APC.EMUProbe
EnabledTrue
Frequency28800
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource SCUtils.APC.UPS.DiscoverProperties.DS Default

Source Code:

<Discovery ID="SCUtils.APC.EMUProbe.Properties.Discovery" Enabled="true" Target="SCUtils.APC.EMUProbe" ConfirmDelivery="true" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="SCUtils.APC.EMUProbe"/>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="SCUtils.APC.UPS.DiscoverProperties.DS">
<IntervalSeconds>28800</IntervalSeconds>
<IPAddress>$Target/Host/Host/Host/Property[Type="NetworkLibrary!System.NetworkManagement.Node"]/SNMPAddress$</IPAddress>
<CommunityString>$RunAs[Name="NetworkLibrary!System.NetworkManagement.Snmp.MonitoringAccount"]/CommunityString$</CommunityString>
<SnmpVersion>$Target/Host/Host/Host/Property[Type="NetworkLibrary!System.NetworkManagement.Node"]/SNMPVersion$</SnmpVersion>
<SnmpVarBinds>
<SnmpVarBind>
<OID>.1.3.6.1.4.1.318.1.1.10.3.13.1.1.10.$Target/Property[Type="SCUtils.APC.EMUProbe"]/Index$</OID>
<Syntax>0</Syntax>
<Value VariantType="8"/>
</SnmpVarBind>
</SnmpVarBinds>
<PreProbeExpression>
<SimpleExpression>
<ValueExpression>
<Value Type="String">$Target/Property[Type="SCUtils.APC.EMUProbe"]/Index$</Value>
</ValueExpression>
<Operator>Greater</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.EMUProbe"]$</ClassId>
<InstanceSettings>
<Settings>
<Setting>
<Name>$MPElement[Name="NetworkLibrary!System.NetworkManagement.Node"]/DeviceKey$</Name>
<Value>$Target/Host/Host/Host/Property[Type="NetworkLibrary!System.NetworkManagement.Node"]/DeviceKey$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="SCUtils.APC.EMUProbes"]/Name$</Name>
<Value>$Target/Host/Property[Type="SCUtils.APC.EMUProbes"]/Name$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="SCUtils.APC.EMUSystem"]/Name$</Name>
<Value>$Target/Host/Host/Property[Type="SCUtils.APC.EMUSystem"]/Name$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="SCUtils.APC.EMUProbe"]/ProbeName$</Name>
<Value>$Target/Property[Type="SCUtils.APC.EMUProbe"]/ProbeName$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="SCUtils.APC.EMUProbe"]/CommStatus$</Name>
<Value>$Data/SnmpVarBinds/SnmpVarBind[1]/Value$</Value>
</Setting>
</Settings>
</InstanceSettings>
</DataSource>
</Discovery>