Environment Humidity
SCUtils.APC.UPS.Rule.Collect.UPSIEMProbeHumidity (Rule)
The current Humidity.
Element properties:
Member Modules:
Source Code:
<Rule ID="SCUtils.APC.UPS.Rule.Collect.UPSIEMProbeHumidity" Enabled="true" Target="SCUtils.APC.UPS.IEMProbe" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="SCUtils.APC.UPS.BasicSnmpProbe.DSMT">
<IntervalSeconds>300</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.6.$Target/Property[Type="SCUtils.APC.UPS.IEMProbe"]/Index$</OID>
<Syntax>0</Syntax>
<Value VariantType="8"/>
</SnmpVarBind>
</SnmpVarBinds>
<PreProbeFilterExpression>
<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>
</PreProbeFilterExpression>
</DataSource>
</DataSources>
<ConditionDetection ID="Mapper" TypeID="Perf!System.Performance.DataGenericMapper">
<ObjectName>$Target/Host/Host/Property[Type="NetworkLibrary!System.NetworkManagement.Node"]/sysName$</ObjectName>
<CounterName>Relative Humidity (%)</CounterName>
<InstanceName>$Target/Property[Type="SCUtils.APC.UPS.IEMProbe"]/ProbeName$</InstanceName>
<Value>$Data/SnmpVarBinds/SnmpVarBind[1]/Value$</Value>
</ConditionDetection>
<WriteActions>
<WriteAction ID="CollectToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="CollectToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>