#pmieconf-rules 1
# --- DO NOT MODIFY THIS FILE --- see pmieconf(4)
# $Id: tcp_retransmit,v 1.1 1999/04/28 10:39:51 kenmcd Exp $
#

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	= yes
	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%retrans@%h"
	display	= no
	modify	= no;

string	email_expand
	default	= "host: %h retransmissions: %v%" 
	display	= no
	modify	= no;


# Configuration info specific to non-PCP tools follows...
# 

# for SGI Embedded Support Partner integration:
string	esp_type
	default	= "0x200053"
	display	= no
	modify	= no;

# 
# --- DO NOT MODIFY THIS FILE --- see pmieconf(4)
