Class: Intrigue::Ident::Check::NewRelic

Inherits:
Base
  • Object
show all
Defined in:
lib/checks/new_relic.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
# 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