summaryrefslogtreecommitdiff
path: root/src/pmieconf/web/high_requests
blob: 8e6e57954e2596e39d23a9faff018111d4632658 (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	web.high_requests
	default	= "$rule$"
	predicate =
"some_host (
    web.allservers.requests.total $hosts$
	> $threshold$ count/second
)"
	enabled	= no
	version	= 1
	help	=
"The aggregate request rate for all web servers on the target host is
above threshold requests per second over the last sample interval.";

string	rule
	default	= "High aggregate rate of web requests"
	display	= no
	modify	= no;

double	threshold
	default	= 10
	help	=
"Threshold web requests per second for all web servers on the target
hosts.";

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

string  email_expand
	default	= "host: %h high web server request rate: %v/sec"
	display	= no
	modify	= no;


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

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

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