6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# File 'lib/checks/acquia.rb', line 6
def generate_checks(url)
[
{
:type => "service",
:vendor => "Acquia",
:product => "Acquia",
:references => ["https://docs.acquia.com/acquia-cloud/performance/varnish/headers/"],
:version => nil,
:match_type => :content_headers,
:match_content => /X-AH-Environment:/i,
:match_details => "Header contains Acquia environment that provides the page response (usually prod, but could also be dev or stage)",
:hide => false,
:examples => ["http://netgear.gcs-web.com:80"],
:paths => ["#{url}"]
}
]
end
|