class Intrigue::Ident::Check::Ookla

Public Instance Methods

generate_checks(url) click to toggle source
# 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