Class: Intrigue::Ident::Check::Ookla

Inherits:
Base
  • Object
show all
Defined in:
lib/checks/ookla.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
# File 'lib/checks/ookla.rb', line 6

def generate_checks(url)
  [
    {
      :type => "application",
      :vendor =>"Ookla",
      :product =>"Speedtest Server",
      :match_details => "page title",
      :match_type => :content_body,
      :references => ["https://support.ookla.com/hc/en-us/articles/234578568-How-To-Install-Submit-Server"],
      :match_content => /<title>OoklaServer/,
      :version => nil,
      :examples => ["http://91.211.56.179:8081"],
      :verify => ["aWJtI0ludHJpZ3VlOjpFbnRpdHk6OlVyaSNodHRwOi8vOTEuMjExLjU2LjE3OTo4MDgx"],
      :paths => ["#{url}"]
    }
  ]
end