Class: Intrigue::Ident::Check::Rabbitmq

Inherits:
Base
  • Object
show all
Defined in:
lib/checks/rabbitmq.rb

Instance Method Summary collapse

Methods inherited from Base

inherited

Instance Method Details

#generate_checks(url) ⇒ Object



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