Монитор проверки SNMP, сбрасываемый вручную
System.NetworkManagement.SnmpProbe.SingleEventManualReset2StateMonitorType (UnitMonitorType)
Монитор с двумя состояниями, использующий проверку SNMP для одного состояния и требующий ручного сброса
Element properties:
Member Modules:
Source Code:
<UnitMonitorType ID="System.NetworkManagement.SnmpProbe.SingleEventManualReset2StateMonitorType" Accessibility="Public">
<MonitorTypeStates>
<MonitorTypeState ID="EventRaised"/>
<MonitorTypeState ID="ManualResetEventRaised" NoDetection="true"/>
</MonitorTypeStates>
<Configuration>
<IncludeSchemaTypes>
<SchemaType>System!System.ExpressionEvaluatorSchema</SchemaType>
<SchemaType>Snmp!System.SnmpVarBindsSchema</SchemaType>
</IncludeSchemaTypes>
<xsd:element name="Interval" type="xsd:integer"/>
<xsd:element name="IP" type="xsd:string"/>
<xsd:element minOccurs="0" maxOccurs="1" name="Version" type="xsd:string"/>
<xsd:element name="SnmpVarBinds" type="SnmpVarBindsType"/>
<xsd:element name="Expression" type="ExpressionType"/>
</Configuration>
<MonitorImplementation>
<MemberModules>
<DataSource TypeID="System.NetworkManagement.SnmpDataSource" ID="DataSource">
<Scheduler>
<SimpleReccuringSchedule>
<Interval Unit="Seconds">$Config/Interval$</Interval>
</SimpleReccuringSchedule>
<ExcludeDates/>
</Scheduler>
<IP>$Config/IP$</IP>
<CommunityString>$RunAs[Name="System.NetworkManagement.Snmp.MonitoringAccount"]/CommunityString$</CommunityString>
<Version>$Config/Version$</Version>
<SnmpVarBinds>$Config/SnmpVarBinds$</SnmpVarBinds>
</DataSource>
<ConditionDetection TypeID="System!System.ExpressionFilter" ID="FilterCondition">
<Expression>$Config/Expression$</Expression>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="EventRaised">
<Node ID="FilterCondition">
<Node ID="DataSource"/>
</Node>
</RegularDetection>
</RegularDetections>
</MonitorImplementation>
</UnitMonitorType>