diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2014-10-26 12:33:50 +0400 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2014-10-26 12:33:50 +0400 |
commit | 47e6e7c84f008a53061e661f31ae96629bc694ef (patch) | |
tree | 648a07f3b5b9d67ce19b0fd72e8caa1175c98f1a /qa/pconf/network/tcp_retransmit | |
download | pcp-debian.tar.gz |
Debian 3.9.10debian/3.9.10debian
Diffstat (limited to 'qa/pconf/network/tcp_retransmit')
-rw-r--r-- | qa/pconf/network/tcp_retransmit | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/qa/pconf/network/tcp_retransmit b/qa/pconf/network/tcp_retransmit new file mode 100644 index 0000000..0c14119 --- /dev/null +++ b/qa/pconf/network/tcp_retransmit @@ -0,0 +1,39 @@ +#pmieconf-rules 1 +# + +rule network.tcp_retransmit + default = "$rule$" + predicate = +"some_host ( + ( 100 * ( network.tcp.sndrexmitpack $hosts$ + + network.tcp.rexmttimeo $hosts$ ) / + network.tcp.sndpack $hosts$ ) > $threshold$ && + network.tcp.sndpack $hosts$ > 100 count/second +)" + enabled = no + version = 1 + help = +"There is some network output activity (at least 100 TCP packets per +second) and the average ratio of retransmitted TCP packets to output +TCP packets exceeds threshold percent during the last sample +interval. +High retransmission rates are suggestive of network congestion, or +long latency between the end-points of the TCP connections."; + +string rule + default = "high number of TCP packet retransmissions" + modify = no + display = no; + +percent threshold + default = 20 + help = +"Maximum acceptable percentage of retransmiited TCP packets per TCP +output packet, in the range 0 (not expecting any retransmission) to +100 (chronic saturation on the network)."; + +string action_expand + default = "%v%@%h" + display = no + modify = no; + |