6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# File 'lib/checks/rabbitmq.rb', line 6
def generate_checks(url)
[
{
:type => "application",
:vendor => "RabbitMQ",
:product => "RabbitMQ",
:match_details =>"RabbitMQ",
:match_type => :content_body,
:version => nil,
:match_content => /RabbitMQ Management/,
:paths => ["#{url}"]
},
{
:type => "application",
:vendor => "RabbitMQ",
:product => "RabbitMQ API",
:match_details => "RabbitMQ API",
:match_type => :content_body,
:version => nil,
:match_content => /RabbitMQ Management HTTP API/,
:paths => ["#{url}/api"]
}
]
end
|