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

rule	webping.html_errors
	default	= "$rule$"
	enumerate = hosts
	predicate =
"some_inst (
    60 * webping.errors.htmlerr $hosts$ $urls$
	> 60 * $threshold$ count/minute
)"
	enabled = yes
	version	= 1
	help	=
"The webping agent encountered more than threshold HTML errors per
minute communicating with web servers in the last sample interval.";

string	rule
	default	= "High webping HTML error rate"
	display	= no
	modify	= no;

double	threshold
	default	= 3
	help	=
"Threshold webping HTML errors per minute.";

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

string	email_expand
	default = "host: %h high HTML errors for %i: %verrs"
	display = no
	modify  = no;

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