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
|
# File 'lib/checks/f5.rb', line 6
def generate_checks(url)
[
{
:type => "application",
:vendor => "F5",
:product =>"BIG-IP APM",
:match_details =>"F5 BIG-IP APM default cookie",
:tags => ["tech:load_balancer"],
:version => nil,
:match_type => :content_cookies,
:match_content => /MRHSession/,
:hide => false,
:paths => ["#{url}"]
},
{
:type => "application",
:vendor => "F5",
:product =>"BIG-IP APM",
:match_details =>"F5 BIG-IP APM default logo",
:tags => ["tech:load_balancer"],
:version => nil,
:references => ["https://support.f5.com/kb/en-us/products/big-ip_apm/manuals/product/apm-customization-11-6-0/3.html"],
:match_type => :content_body,
:match_content => /<img src="\/public\/images\/my\/tr.gif\//,
:hide => false,
:paths => ["#{url}"]
},
{
:type => "hardware",
:vendor => "F5",
:product =>"BIG-IP",
:match_details =>"F5 BIG-IP Load balancer cookie",
:tags => ["tech:load_balancer"],
:version => nil,
:match_type => :content_cookies,
:match_content => /BIGipServer/,
:examples => ["https://reset.oxy.com:443"],
:hide => false,
:paths => ["#{url}"]
}
]
end
|