Network Management Firewall Rules Write Action Module Type

System.NetworkManagement.FirewallRules.WriteAction (WriteActionModuleType)

This module execute different action to the Network Management Firewall Rules

Knowledge Base article:

Summary

Write Action module type to execute a specific script to apply an action in network monitoring firewall rules.

Element properties:

TypeWriteActionModuleType
IsolationAny
AccessibilityInternal
RunAsSystem.PrivilegedMonitoringAccount
InputTypeSystem.TriggerData
OutputTypeSystem.CommandOutput

Member Modules:

ID Module Type TypeId RunAs 
ExecuteFirewallRulesAction ProbeAction System.NetworkManagement.FirewallRules.ProbeBase Default
PassThrough WriteAction System.NetworkManagement.PassThroughWriteAction Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
SnmpPortint$Config/SnmpPort$SNMP PortThe SNMP port number.
TrapPortint$Config/TrapPort$SNMP Trap PortThe SNMP trap port number.
TimeoutSecondsint$Config/TimeoutSeconds$Timeout SecondsThe timeout is the number of seconds that the script is allowed to run before it will be forced to stop.

Source Code:

<WriteActionModuleType ID="System.NetworkManagement.FirewallRules.WriteAction" Accessibility="Internal" Batching="false" RunAs="System!System.PrivilegedMonitoringAccount">
<Configuration>
<xsd:element minOccurs="1" name="SnmpPort" type="xsd:integer"/>
<xsd:element minOccurs="1" name="TrapPort" type="xsd:integer"/>
<xsd:element minOccurs="1" name="TimeoutSeconds" type="xsd:integer"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="SnmpPort" Selector="$Config/SnmpPort$" ParameterType="int"/>
<OverrideableParameter ID="TrapPort" Selector="$Config/TrapPort$" ParameterType="int"/>
<OverrideableParameter ID="TimeoutSeconds" Selector="$Config/TimeoutSeconds$" ParameterType="int"/>
</OverrideableParameters>
<ModuleImplementation>
<Composite>
<MemberModules>
<ProbeAction ID="ExecuteFirewallRulesAction" TypeID="System.NetworkManagement.FirewallRules.ProbeBase">
<Action>2</Action>
<SnmpPort>$Config/SnmpPort$</SnmpPort>
<TrapPort>$Config/TrapPort$</TrapPort>
<TimeoutSeconds>$Config/TimeoutSeconds$</TimeoutSeconds>
</ProbeAction>
<WriteAction ID="PassThrough" TypeID="System.NetworkManagement.PassThroughWriteAction"/>
</MemberModules>
<Composition>
<Node ID="PassThrough">
<Node ID="ExecuteFirewallRulesAction"/>
</Node>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>System!System.CommandOutput</OutputType>
<InputType>System!System.TriggerData</InputType>
</WriteActionModuleType>