Debian Codegraph @

gmond/python_modules/conf.d/netstats.pyconf

raw
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 metric {
23 name = "tcp_retrans_percentage"
24 title = "TCP retransmit percentage"
25 value_threshold = 1.0
26 }
27 metric {
28 name = "tcp_outsegs"
29 title = "TCP segments sent"
30 value_threshold = 1.0
31 }
32 metric {
33 name = "tcp_insegs"
34 title = "TCP segments received"
35 value_threshold = 1.0
36 }
37 metric {
38 name = "udp_indatagrams"
39 title = "UDP packets in"
40 value_threshold = 1.0
41 }
42 metric {
43 name = "udp_outdatagrams"
44 title = "UDP packets out"
45 value_threshold = 1.0
46 }
47 metric {
48 name = "udp_inerrors"
49 title = "UDP packet receive errors"
50 value_threshold = 1.0
51 }
52 /*
53 metric {
54 name = "udp_rcvbuferrors"
55 title = "UDP Receive buffer errors"
56 value_threshold = 1.0
57 }
58 */
59 metric {
60 name = "tcpext_listendrops"
61 title = "SYNs sent to LISTENing sockets ignored"
62 value_threshold = 1.0
63 }
64 metric {
65 name = "tcp_attemptfails"
66 title = "TCP Failed connection attempts"
67 value_threshold = 1.0
68 }
69 }