Class: Intrigue::Ident::Check::Varnish
- Defined in:
- lib/checks/varnish.rb
Instance Method Summary collapse
Methods inherited from Base
Instance Method Details
#generate_checks(url) ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/checks/varnish.rb', line 6 def generate_checks(url) [ { :type => "application", :vendor =>"Varnish", :product =>"Varnish", :match_details =>"Varnish Proxy", :version => nil, :match_type => :content_headers, :match_content => /via: [0-9]\.[0-9] varnish/i, :paths => ["#{url}"] } ] end |