module Aua::Agents::StandardMiteClient
Constants
- KNOWN_CLIENTS
- MITE_STANDARD
Public Class Methods
extend?(agent)
click to toggle source
# File lib/aua-mite/agents/standard_mite_client.rb, line 6 def self.extend?(agent) KNOWN_CLIENTS.include?(agent.app) || agent.app =~ MITE_STANDARD end
Public Instance Methods
name()
click to toggle source
# File lib/aua-mite/agents/standard_mite_client.rb, line 16 def name @name ||= app.gsub(/\./, "-").to_sym end
type()
click to toggle source
# File lib/aua-mite/agents/standard_mite_client.rb, line 11 def type return :HttpChecker if app == "hearttp" :ApiClient end
version()
click to toggle source
Calls superclass method
# File lib/aua-mite/agents/standard_mite_client.rb, line 20 def version return versions[2] if app == "mite.net" super || version_of(app) end