summaryrefslogtreecommitdiff
path: root/src/pmieconf/webping/http_errors
blob: 6ac0aca753377d2b7a00ebc6b2fc2c4130b73e5d (plain)
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
#pmieconf-rules 1
# --- DO NOT MODIFY THIS FILE --- see pmieconf(4)
# 

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

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

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

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

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


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

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

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