| 1 |
modules { |
| 2 |
module { |
| 3 |
name = "tcpconn" |
| 4 |
language = "python" |
| 5 |
param RefreshRate { |
| 6 |
value = 5 |
| 7 |
} |
| 8 |
} |
| 9 |
} |
| 10 |
|
| 11 |
collection_group { |
| 12 |
collect_every = 10 |
| 13 |
time_threshold = 20 |
| 14 |
metric { |
| 15 |
name = "tcp_established" |
| 16 |
value_threshold = 1.0 |
| 17 |
} |
| 18 |
metric { |
| 19 |
name = "tcp_listen" |
| 20 |
value_threshold = 1.0 |
| 21 |
} |
| 22 |
metric { |
| 23 |
name = "tcp_timewait" |
| 24 |
value_threshold = 1.0 |
| 25 |
} |
| 26 |
metric { |
| 27 |
name = "tcp_closewait" |
| 28 |
value_threshold = 1.0 |
| 29 |
} |
| 30 |
metric { |
| 31 |
name = "tcp_synsent" |
| 32 |
value_threshold = 1.0 |
| 33 |
} |
| 34 |
metric { |
| 35 |
name = "tcp_synrecv" |
| 36 |
value_threshold = 1.0 |
| 37 |
} |
| 38 |
metric { |
| 39 |
name = "tcp_synwait" |
| 40 |
value_threshold = 1.0 |
| 41 |
} |
| 42 |
metric { |
| 43 |
name = "tcp_finwait1" |
| 44 |
value_threshold = 1.0 |
| 45 |
} |
| 46 |
metric { |
| 47 |
name = "tcp_finwait2" |
| 48 |
value_threshold = 1.0 |
| 49 |
} |
| 50 |
metric { |
| 51 |
name = "tcp_closed" |
| 52 |
value_threshold = 1.0 |
| 53 |
} |
| 54 |
metric { |
| 55 |
name = "tcp_lastack" |
| 56 |
value_threshold = 1.0 |
| 57 |
} |
| 58 |
metric { |
| 59 |
name = "tcp_closing" |
| 60 |
value_threshold = 1.0 |
| 61 |
} |
| 62 |
metric { |
| 63 |
name = "tcp_unknown" |
| 64 |
value_threshold = 1.0 |
| 65 |
} |
| 66 |
} |