class Intrigue::Ident::Check::NewRelic

Public Instance Methods

generate_checks(url) click to toggle source
# File lib/checks/new_relic.rb, line 6
def generate_checks(url)
  [
    {
      :type => "service",
      :vendor => "NewRelic",
      :product =>"NewRelic",
      :references => ["https://discuss.newrelic.com/t/relic-solution-what-is-bam-nr-data-net-new-relic-browser-monitoring/42055"],
      :match_details =>"NewRelic tracking code",
      :version => nil,
      :match_type => :content_body,
      :match_content =>  /bam.nr-data.net/i,
      :paths => ["#{url}"]
    }
  ]
end