Skip to content

Commit a489635

Browse files
committed
A basic netstats config
1 parent 280ce07 commit a489635

1 file changed

Lines changed: 52 additions & 0 deletions

File tree

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
#######################################################################
2+
# Use this config only if you interested in few metrics instead of
3+
# the 100 or so metrics possible
4+
#######################################################################
5+
6+
modules {
7+
module {
8+
name = "netstats"
9+
language = "python"
10+
}
11+
}
12+
13+
collection_group {
14+
collect_every = 15
15+
time_threshold = 45
16+
17+
metric {
18+
name = "tcpext_tcploss_percentage"
19+
title = "TCP loss percentage"
20+
value_threshold = 1.0
21+
}
22+
23+
metric {
24+
name = "tcp_retrans_percentage"
25+
title = "TCP retransmit percentage"
26+
value_threshold = 1.0
27+
}
28+
29+
metric {
30+
name = "tcp_outsegs"
31+
title = "TCP segments sent"
32+
value_threshold = 1.0
33+
}
34+
35+
metric {
36+
name = "tcp_insegs"
37+
title = "TCP segments received"
38+
value_threshold = 1.0
39+
}
40+
41+
metric {
42+
name = "udp_indatagrams"
43+
title = "UDP packets in"
44+
value_threshold = 1.0
45+
}
46+
metric {
47+
name = "udp_outdatagrams"
48+
title = "UDP packets out"
49+
value_threshold = 1.0
50+
}
51+
52+
}

0 commit comments

Comments
 (0)