Проход SNMP
System.NetworkManagement.Monitoring.SnmpWalkTask (Task)
Извлекает поддерево значений управления с помощью запросов SNMP GETNEXT (обход SNMP)
Element properties:
Member Modules:
Source Code:
<Task ID="System.NetworkManagement.Monitoring.SnmpWalkTask" Accessibility="Internal" Enabled="true" Target="NetworkLibrary!System.NetworkManagement.Node" Timeout="1200" Remotable="true">
<Category>Operations</Category>
<WriteAction ID="WA" TypeID="System.NetworkManagement.SnmpWalkWA">
<NoOfRetries>3</NoOfRetries>
<Timeout>300</Timeout>
<Port>$Target/Property[Type="NetworkLibrary!System.NetworkManagement.Node"]/PortNumber$</Port>
<SNMPv3UserName>$RunAs[Name="NetworkLibrary!System.NetworkManagement.SnmpV3.MonitoringAccount"]/UserName$</SNMPv3UserName>
<SNMPv3AuthProtocol>$RunAs[Name="NetworkLibrary!System.NetworkManagement.SnmpV3.MonitoringAccount"]/AuthenticationProtocol$</SNMPv3AuthProtocol>
<SNMPv3AuthPassword>$RunAs[Name="NetworkLibrary!System.NetworkManagement.SnmpV3.MonitoringAccount"]/AuthenticationKey$</SNMPv3AuthPassword>
<SNMPv3PrivProtocol>$RunAs[Name="NetworkLibrary!System.NetworkManagement.SnmpV3.MonitoringAccount"]/PrivacyProtocol$</SNMPv3PrivProtocol>
<SNMPv3PrivPassword>$RunAs[Name="NetworkLibrary!System.NetworkManagement.SnmpV3.MonitoringAccount"]/PrivacyKey$</SNMPv3PrivPassword>
<SNMPv3ContextName>$RunAs[Name="NetworkLibrary!System.NetworkManagement.SnmpV3.MonitoringAccount"]/ContextName$</SNMPv3ContextName>
<IP>$Target/Property[Type="NetworkLibrary!System.NetworkManagement.Node"]/SNMPAddress$</IP>
<CommunityString>$RunAs[Name="NetworkLibrary!System.NetworkManagement.Snmp.MonitoringAccount"]/CommunityString$</CommunityString>
<Version>$Target/Property[Type="NetworkLibrary!System.NetworkManagement.Node"]/SNMPVersion$</Version>
<OutputFile>%TEMP%\$Target/Property[Type="NetworkLibrary!System.NetworkManagement.Node"]/SNMPAddress$.walk</OutputFile>
<OID>.1.3.6.1.2.1</OID>
</WriteAction>
</Task>