config system automation-condition
Condition for automation stitches.
config system automation-condition Description: Condition for automation stitches. edit <name> set condition-type [cpu|memory|...] set cpu-usage-percent {integer} set description {var-string} set input-id {integer} set input-state [open|close] set mem-usage-percent {integer} set vdom {string} set vpn-tunnel-name {string} set vpn-tunnel-state [tunnel-up|tunnel-down] next end
config system automation-condition
Parameter |
Description |
Type |
Size |
Default |
||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
condition-type |
Condition type. |
option |
- |
cpu |
||||||||
|
|
|||||||||||
cpu-usage-percent |
CPU usage reaches specified percentage. |
integer |
Minimum value: 0 Maximum value: 100 |
0 |
||||||||
description |
Description. |
var-string |
Maximum length: 255 |
|
||||||||
input-id * |
Input ID. |
integer |
Minimum value: 0 Maximum value: 4294967295 |
0 |
||||||||
input-state * |
Input state. |
option |
- |
close |
||||||||
|
|
|||||||||||
mem-usage-percent |
Memory usage reaches specified percentage. |
integer |
Minimum value: 0 Maximum value: 100 |
0 |
||||||||
name |
Name. |
string |
Maximum length: 35 |
|
||||||||
vdom |
Virtual domain which the tunnel belongs to. |
string |
Maximum length: 31 |
root |
||||||||
vpn-tunnel-name |
VPN tunnel name. |
string |
Maximum length: 79 |
|
||||||||
vpn-tunnel-state |
VPN tunnel state. |
option |
- |
tunnel-up |
||||||||
|
|
* This parameter may not exist in some models.