#pmieconf-rules 1
# --- DO NOT MODIFY THIS FILE --- see pmieconf(1)

rule	openvswitch.tx_drops
	summary = "$rule$"
	enumerate = hosts
	predicate =
"some_host (
    some_inst (
	instant ( openvswitch.interface.stats.tx_dropped @0 ) -
	instant ( openvswitch.interface.stats.tx_dropped @1 ) > 0
    )
)"
	enabled = no
	version = 1
	help	=
"Detect dropped packet transmissions on Open vSwitch interfaces.
If this rule is enabled, the Open vSwitch metrics will be used;
see pmdaopenvswitch(1).";

string	rule
	default = "Open vSwitch interface tx drops"
	modify	= no
	display = no;

string	action_expand
	default = "%vdrops [%i]@%h"
	display	= no
	modify	= no;

string	email_expand
	default = "host: %h iface: %i %vdrops"
	display = no
	modify  = no;

string	delta
	default = "10 sec"
	help =
"Sample interval between evaluations of this rule.";

string	holdoff
	default = "1 min"
	help =
"Once the predicate is true and the action is executed, this
variable allows suppression of further action execution until the
specified interval has elapsed.";

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