/etc/ganglia/conf.d/netstats.pyconf is in ganglia-monitor-python 3.6.0-7.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 | #######################################################################
# Use this config only if you interested in few metrics instead of
# the 100 or so metrics possible
#######################################################################
modules {
module {
name = "netstats"
language = "python"
}
}
collection_group {
collect_every = 15
time_threshold = 45
metric {
name = "tcpext_tcploss_percentage"
title = "TCP loss percentage"
value_threshold = 1.0
}
metric {
name = "tcp_retrans_percentage"
title = "TCP retransmit percentage"
value_threshold = 1.0
}
metric {
name = "tcp_outsegs"
title = "TCP segments sent"
value_threshold = 1.0
}
metric {
name = "tcp_insegs"
title = "TCP segments received"
value_threshold = 1.0
}
metric {
name = "udp_indatagrams"
title = "UDP packets in"
value_threshold = 1.0
}
metric {
name = "udp_outdatagrams"
title = "UDP packets out"
value_threshold = 1.0
}
metric {
name = "udp_inerrors"
title = "UDP packet receive errors"
value_threshold = 1.0
}
metric {
name = "udp_rcvbuferrors"
title = "UDP Receive buffer errors"
value_threshold = 1.0
}
metric {
name = "tcpext_listendrops"
title = "SYNs sent to LISTENing sockets ignored"
value_threshold = 1.0
}
metric {
name = "tcp_attemptfails"
title = "TCP Failed connection attempts"
value_threshold = 1.0
}
}
|