Class: ManageEngine::APMConstants
- Inherits:
-
Object
- Object
- ManageEngine::APMConstants
- Defined in:
- lib/agent/util/am_constants.rb
Instance Attribute Summary collapse
-
#agent_conf ⇒ Object
readonly
Returns the value of attribute agent_conf.
-
#agent_config_updated ⇒ Object
readonly
Returns the value of attribute agent_config_updated.
-
#agent_lock ⇒ Object
readonly
Returns the value of attribute agent_lock.
-
#agent_specific_info ⇒ Object
readonly
Returns the value of attribute agent_specific_info.
-
#agent_store ⇒ Object
readonly
Returns the value of attribute agent_store.
-
#apm_conf ⇒ Object
readonly
Returns the value of attribute apm_conf.
-
#apm_gem ⇒ Object
readonly
Returns the value of attribute apm_gem.
-
#component_count ⇒ Object
readonly
Returns the value of attribute component_count.
-
#component_error_count ⇒ Object
readonly
Returns the value of attribute component_error_count.
-
#component_ext_host ⇒ Object
readonly
Returns the value of attribute component_ext_host.
-
#component_ext_ip ⇒ Object
readonly
Returns the value of attribute component_ext_ip.
-
#component_ext_port ⇒ Object
readonly
Returns the value of attribute component_ext_port.
-
#component_isExternal ⇒ Object
readonly
Returns the value of attribute component_isExternal.
-
#component_name ⇒ Object
readonly
Returns the value of attribute component_name.
-
#component_time ⇒ Object
readonly
Returns the value of attribute component_time.
-
#components ⇒ Object
readonly
Returns the value of attribute components.
-
#conf_location ⇒ Object
readonly
Returns the value of attribute conf_location.
-
#connect_config_update_uri ⇒ Object
readonly
Returns the value of attribute connect_config_update_uri.
-
#connect_data_uri ⇒ Object
readonly
Returns the value of attribute connect_data_uri.
-
#connect_trace_uri ⇒ Object
readonly
Returns the value of attribute connect_trace_uri.
-
#connect_uri ⇒ Object
readonly
Returns the value of attribute connect_uri.
-
#connection_open_timeout ⇒ Object
readonly
Returns the value of attribute connection_open_timeout.
-
#connection_read_timeout ⇒ Object
readonly
Returns the value of attribute connection_read_timeout.
-
#custom_config_info ⇒ Object
readonly
Returns the value of attribute custom_config_info.
-
#delete_agent ⇒ Object
readonly
Returns the value of attribute delete_agent.
-
#en_alphabets ⇒ Object
readonly
Returns the value of attribute en_alphabets.
-
#en_numerals ⇒ Object
readonly
Returns the value of attribute en_numerals.
-
#error_notfound ⇒ Object
readonly
Returns the value of attribute error_notfound.
-
#error_rt ⇒ Object
readonly
Returns the value of attribute error_rt.
-
#error_server ⇒ Object
readonly
Returns the value of attribute error_server.
-
#httpstatus ⇒ Object
readonly
Returns the value of attribute httpstatus.
-
#licence_exceeds ⇒ Object
readonly
Returns the value of attribute licence_exceeds.
-
#licence_expired ⇒ Object
readonly
Returns the value of attribute licence_expired.
-
#manage_agent ⇒ Object
readonly
Returns the value of attribute manage_agent.
-
#mergepattern_conf ⇒ Object
readonly
Returns the value of attribute mergepattern_conf.
-
#mf_all ⇒ Object
readonly
Returns the value of attribute mf_all.
-
#mf_apdex ⇒ Object
readonly
Returns the value of attribute mf_apdex.
-
#mf_bckgrnd ⇒ Object
readonly
Returns the value of attribute mf_bckgrnd.
-
#mf_db ⇒ Object
readonly
Returns the value of attribute mf_db.
-
#mf_err_st ⇒ Object
readonly
Returns the value of attribute mf_err_st.
-
#mf_exception_st ⇒ Object
readonly
Returns the value of attribute mf_exception_st.
-
#mf_http ⇒ Object
readonly
Returns the value of attribute mf_http.
-
#mf_loginfo ⇒ Object
readonly
Returns the value of attribute mf_loginfo.
-
#mf_loginfo_err_clz ⇒ Object
readonly
Returns the value of attribute mf_loginfo_err_clz.
-
#mf_loginfo_level ⇒ Object
readonly
Returns the value of attribute mf_loginfo_level.
-
#mf_loginfo_level_warn ⇒ Object
readonly
Returns the value of attribute mf_loginfo_level_warn.
-
#mf_loginfo_st ⇒ Object
readonly
Returns the value of attribute mf_loginfo_st.
-
#mf_loginfo_str ⇒ Object
readonly
Returns the value of attribute mf_loginfo_str.
-
#mf_loginfo_time ⇒ Object
readonly
Returns the value of attribute mf_loginfo_time.
-
#mf_logmetric ⇒ Object
readonly
Returns the value of attribute mf_logmetric.
-
#mf_logmetric_warning ⇒ Object
readonly
Returns the value of attribute mf_logmetric_warning.
-
#mf_name ⇒ Object
readonly
Returns the value of attribute mf_name.
-
#mf_namespace ⇒ Object
readonly
Returns the value of attribute mf_namespace.
-
#mf_overflow ⇒ Object
readonly
Returns the value of attribute mf_overflow.
-
#mf_separator ⇒ Object
readonly
Returns the value of attribute mf_separator.
-
#mf_transaction ⇒ Object
readonly
Returns the value of attribute mf_transaction.
-
#response_code ⇒ Object
readonly
Returns the value of attribute response_code.
-
#s247_apm_gem ⇒ Object
readonly
Returns the value of attribute s247_apm_gem.
-
#site24x7AUurl ⇒ Object
readonly
Returns the value of attribute site24x7AUurl.
-
#site24x7CAurl ⇒ Object
readonly
Returns the value of attribute site24x7CAurl.
-
#site24x7CNurl ⇒ Object
readonly
Returns the value of attribute site24x7CNurl.
-
#site24x7EUurl ⇒ Object
readonly
Returns the value of attribute site24x7EUurl.
-
#site24x7GDurl ⇒ Object
readonly
Returns the value of attribute site24x7GDurl.
-
#site24x7HDFCurl ⇒ Object
readonly
Returns the value of attribute site24x7HDFCurl.
-
#site24x7INurl ⇒ Object
readonly
Returns the value of attribute site24x7INurl.
-
#site24x7JPurl ⇒ Object
readonly
Returns the value of attribute site24x7JPurl.
-
#site24x7SAurl ⇒ Object
readonly
Returns the value of attribute site24x7SAurl.
-
#site24x7UKurl ⇒ Object
readonly
Returns the value of attribute site24x7UKurl.
-
#site24x7USurl ⇒ Object
readonly
Returns the value of attribute site24x7USurl.
-
#unmanage_agent ⇒ Object
readonly
Returns the value of attribute unmanage_agent.
Instance Method Summary collapse
-
#initialize ⇒ APMConstants
constructor
A new instance of APMConstants.
- #setLicenseKey(lkey) ⇒ Object
Constructor Details
#initialize ⇒ APMConstants
Returns a new instance of APMConstants.
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 |
# File 'lib/agent/util/am_constants.rb', line 13 def initialize @conf_location=ENV.has_key?('APMINSIGHT_HOME') ? ENV['APMINSIGHT_HOME']+"/" : "./" #File path for APM Conf file @apm_gem="apminsight" @s247_apm_gem="site24x7_apminsight" #File path for APM Conf file @apm_conf=@conf_location + "apminsight.conf" #file path for agent id, enable details @agent_conf=@conf_location + "apminsight.info" #file path for agent data store lock @agent_lock=@conf_location + "apminsight.lock" #file path for agent data store lock @agent_store=@conf_location + "apminsight.store" #file name for url merge patterns @mergepattern_conf=@conf_location + "transaction_merge_patterns.conf" #Timeout for opening Connections @connection_open_timeout=60 #Timeout for Reading data from Connections @connection_read_timeout=60 #Connection uri @connect_uri="arh/connect" #Connection uri for data @connect_data_uri="arh/data?instance_id=" #Connection uri for trace @connect_trace_uri="arh/trace?instance_id=" #Connection uri for config update @connect_config_update_uri="arh/agent_config_update?instance_id=" #Site24x7 url for agent communication @site24x7USurl = "https://plusinsight.site24x7.com/" @site24x7EUurl = "https://plusinsight.site24x7.eu/" @site24x7CNurl = "https://plusinsight.site24x7.cn/" @site24x7AUurl = "https://plusinsight.site24x7.net.au/" @site24x7INurl = "https://plusinsight.site24x7.in/" @site24x7GDurl = "https://gdplusinsight.site24x7.com/" @site24x7JPurl = "https://plusinsight.site24x7.jp/" @site24x7CAurl = "https://plusinsight.site24x7.ca/" @site24x7SAurl = "https://plusinsight.site24x7.sa/" @site24x7UKurl = "https://plusinsight.site24x7.uk/" @site24x7HDFCurl = "https://hdplusinsight.site24x7.in/" #Response Codes @licence_expired = 701 @licence_exceeds = 702 @delete_agent = 900 @unmanage_agent =910 @manage_agent = 911 @agent_config_updated = 920 @error_notfound = 404 @error_server = 500 @response_code = "response-code" @custom_config_info = "custom_config_info" @agent_specific_info = "agent_specific_info" #Metrics Formatter -mf @mf_apdex = "apdex" @mf_namespace = "ns" @mf_name = "name" @mf_all = "all" @mf_separator = "/" @mf_transaction = "transaction" + @mf_separator @mf_db = "db" @mf_overflow = "0verf10w" @mf_http = "http" @mf_bckgrnd = "bckgrnd" @components = "components" @component_name = "name" @component_time = "rt" @component_count = "ct" @component_error_count = "error" @component_isExternal = "isExt" @component_ext_host = "host" @component_ext_port = "port" @component_ext_ip = "ip" @httpstatus = "httpcode" @error_rt = "error_rt" @mf_logmetric = "logmetric" @mf_logmetric_warning = "warning" @mf_err_st = "err_st" @mf_exception_st = "exception_st" @mf_loginfo = "loginfo" @mf_loginfo_time = "time" @mf_loginfo_level = "level" @mf_loginfo_str = "str" @mf_loginfo_err_clz = "err_clz" @mf_loginfo_st = "st" @mf_loginfo_level_warn = "WARN" @en_alphabets = "YXBtaWza" @en_numerals = "24876981" end |
Instance Attribute Details
#agent_conf ⇒ Object (readonly)
Returns the value of attribute agent_conf.
5 6 7 |
# File 'lib/agent/util/am_constants.rb', line 5 def agent_conf @agent_conf end |
#agent_config_updated ⇒ Object (readonly)
Returns the value of attribute agent_config_updated.
7 8 9 |
# File 'lib/agent/util/am_constants.rb', line 7 def agent_config_updated @agent_config_updated end |
#agent_lock ⇒ Object (readonly)
Returns the value of attribute agent_lock.
8 9 10 |
# File 'lib/agent/util/am_constants.rb', line 8 def agent_lock @agent_lock end |
#agent_specific_info ⇒ Object (readonly)
Returns the value of attribute agent_specific_info.
7 8 9 |
# File 'lib/agent/util/am_constants.rb', line 7 def agent_specific_info @agent_specific_info end |
#agent_store ⇒ Object (readonly)
Returns the value of attribute agent_store.
8 9 10 |
# File 'lib/agent/util/am_constants.rb', line 8 def agent_store @agent_store end |
#apm_conf ⇒ Object (readonly)
Returns the value of attribute apm_conf.
5 6 7 |
# File 'lib/agent/util/am_constants.rb', line 5 def apm_conf @apm_conf end |
#apm_gem ⇒ Object (readonly)
Returns the value of attribute apm_gem.
5 6 7 |
# File 'lib/agent/util/am_constants.rb', line 5 def apm_gem @apm_gem end |
#component_count ⇒ Object (readonly)
Returns the value of attribute component_count.
10 11 12 |
# File 'lib/agent/util/am_constants.rb', line 10 def component_count @component_count end |
#component_error_count ⇒ Object (readonly)
Returns the value of attribute component_error_count.
10 11 12 |
# File 'lib/agent/util/am_constants.rb', line 10 def component_error_count @component_error_count end |
#component_ext_host ⇒ Object (readonly)
Returns the value of attribute component_ext_host.
10 11 12 |
# File 'lib/agent/util/am_constants.rb', line 10 def component_ext_host @component_ext_host end |
#component_ext_ip ⇒ Object (readonly)
Returns the value of attribute component_ext_ip.
10 11 12 |
# File 'lib/agent/util/am_constants.rb', line 10 def component_ext_ip @component_ext_ip end |
#component_ext_port ⇒ Object (readonly)
Returns the value of attribute component_ext_port.
10 11 12 |
# File 'lib/agent/util/am_constants.rb', line 10 def component_ext_port @component_ext_port end |
#component_isExternal ⇒ Object (readonly)
Returns the value of attribute component_isExternal.
10 11 12 |
# File 'lib/agent/util/am_constants.rb', line 10 def component_isExternal @component_isExternal end |
#component_name ⇒ Object (readonly)
Returns the value of attribute component_name.
10 11 12 |
# File 'lib/agent/util/am_constants.rb', line 10 def component_name @component_name end |
#component_time ⇒ Object (readonly)
Returns the value of attribute component_time.
10 11 12 |
# File 'lib/agent/util/am_constants.rb', line 10 def component_time @component_time end |
#components ⇒ Object (readonly)
Returns the value of attribute components.
10 11 12 |
# File 'lib/agent/util/am_constants.rb', line 10 def components @components end |
#conf_location ⇒ Object (readonly)
Returns the value of attribute conf_location.
5 6 7 |
# File 'lib/agent/util/am_constants.rb', line 5 def conf_location @conf_location end |
#connect_config_update_uri ⇒ Object (readonly)
Returns the value of attribute connect_config_update_uri.
5 6 7 |
# File 'lib/agent/util/am_constants.rb', line 5 def connect_config_update_uri @connect_config_update_uri end |
#connect_data_uri ⇒ Object (readonly)
Returns the value of attribute connect_data_uri.
5 6 7 |
# File 'lib/agent/util/am_constants.rb', line 5 def connect_data_uri @connect_data_uri end |
#connect_trace_uri ⇒ Object (readonly)
Returns the value of attribute connect_trace_uri.
5 6 7 |
# File 'lib/agent/util/am_constants.rb', line 5 def connect_trace_uri @connect_trace_uri end |
#connect_uri ⇒ Object (readonly)
Returns the value of attribute connect_uri.
5 6 7 |
# File 'lib/agent/util/am_constants.rb', line 5 def connect_uri @connect_uri end |
#connection_open_timeout ⇒ Object (readonly)
Returns the value of attribute connection_open_timeout.
5 6 7 |
# File 'lib/agent/util/am_constants.rb', line 5 def connection_open_timeout @connection_open_timeout end |
#connection_read_timeout ⇒ Object (readonly)
Returns the value of attribute connection_read_timeout.
5 6 7 |
# File 'lib/agent/util/am_constants.rb', line 5 def connection_read_timeout @connection_read_timeout end |
#custom_config_info ⇒ Object (readonly)
Returns the value of attribute custom_config_info.
7 8 9 |
# File 'lib/agent/util/am_constants.rb', line 7 def custom_config_info @custom_config_info end |
#delete_agent ⇒ Object (readonly)
Returns the value of attribute delete_agent.
7 8 9 |
# File 'lib/agent/util/am_constants.rb', line 7 def delete_agent @delete_agent end |
#en_alphabets ⇒ Object (readonly)
Returns the value of attribute en_alphabets.
11 12 13 |
# File 'lib/agent/util/am_constants.rb', line 11 def en_alphabets @en_alphabets end |
#en_numerals ⇒ Object (readonly)
Returns the value of attribute en_numerals.
11 12 13 |
# File 'lib/agent/util/am_constants.rb', line 11 def en_numerals @en_numerals end |
#error_notfound ⇒ Object (readonly)
Returns the value of attribute error_notfound.
7 8 9 |
# File 'lib/agent/util/am_constants.rb', line 7 def error_notfound @error_notfound end |
#error_rt ⇒ Object (readonly)
Returns the value of attribute error_rt.
9 10 11 |
# File 'lib/agent/util/am_constants.rb', line 9 def error_rt @error_rt end |
#error_server ⇒ Object (readonly)
Returns the value of attribute error_server.
7 8 9 |
# File 'lib/agent/util/am_constants.rb', line 7 def error_server @error_server end |
#httpstatus ⇒ Object (readonly)
Returns the value of attribute httpstatus.
10 11 12 |
# File 'lib/agent/util/am_constants.rb', line 10 def httpstatus @httpstatus end |
#licence_exceeds ⇒ Object (readonly)
Returns the value of attribute licence_exceeds.
7 8 9 |
# File 'lib/agent/util/am_constants.rb', line 7 def licence_exceeds @licence_exceeds end |
#licence_expired ⇒ Object (readonly)
Returns the value of attribute licence_expired.
7 8 9 |
# File 'lib/agent/util/am_constants.rb', line 7 def licence_expired @licence_expired end |
#manage_agent ⇒ Object (readonly)
Returns the value of attribute manage_agent.
7 8 9 |
# File 'lib/agent/util/am_constants.rb', line 7 def manage_agent @manage_agent end |
#mergepattern_conf ⇒ Object (readonly)
Returns the value of attribute mergepattern_conf.
5 6 7 |
# File 'lib/agent/util/am_constants.rb', line 5 def mergepattern_conf @mergepattern_conf end |
#mf_all ⇒ Object (readonly)
Returns the value of attribute mf_all.
8 9 10 |
# File 'lib/agent/util/am_constants.rb', line 8 def mf_all @mf_all end |
#mf_apdex ⇒ Object (readonly)
Returns the value of attribute mf_apdex.
8 9 10 |
# File 'lib/agent/util/am_constants.rb', line 8 def mf_apdex @mf_apdex end |
#mf_bckgrnd ⇒ Object (readonly)
Returns the value of attribute mf_bckgrnd.
8 9 10 |
# File 'lib/agent/util/am_constants.rb', line 8 def mf_bckgrnd @mf_bckgrnd end |
#mf_db ⇒ Object (readonly)
Returns the value of attribute mf_db.
8 9 10 |
# File 'lib/agent/util/am_constants.rb', line 8 def mf_db @mf_db end |
#mf_err_st ⇒ Object (readonly)
Returns the value of attribute mf_err_st.
9 10 11 |
# File 'lib/agent/util/am_constants.rb', line 9 def mf_err_st @mf_err_st end |
#mf_exception_st ⇒ Object (readonly)
Returns the value of attribute mf_exception_st.
9 10 11 |
# File 'lib/agent/util/am_constants.rb', line 9 def mf_exception_st @mf_exception_st end |
#mf_http ⇒ Object (readonly)
Returns the value of attribute mf_http.
8 9 10 |
# File 'lib/agent/util/am_constants.rb', line 8 def mf_http @mf_http end |
#mf_loginfo ⇒ Object (readonly)
Returns the value of attribute mf_loginfo.
9 10 11 |
# File 'lib/agent/util/am_constants.rb', line 9 def mf_loginfo @mf_loginfo end |
#mf_loginfo_err_clz ⇒ Object (readonly)
Returns the value of attribute mf_loginfo_err_clz.
9 10 11 |
# File 'lib/agent/util/am_constants.rb', line 9 def mf_loginfo_err_clz @mf_loginfo_err_clz end |
#mf_loginfo_level ⇒ Object (readonly)
Returns the value of attribute mf_loginfo_level.
9 10 11 |
# File 'lib/agent/util/am_constants.rb', line 9 def mf_loginfo_level @mf_loginfo_level end |
#mf_loginfo_level_warn ⇒ Object (readonly)
Returns the value of attribute mf_loginfo_level_warn.
9 10 11 |
# File 'lib/agent/util/am_constants.rb', line 9 def mf_loginfo_level_warn @mf_loginfo_level_warn end |
#mf_loginfo_st ⇒ Object (readonly)
Returns the value of attribute mf_loginfo_st.
9 10 11 |
# File 'lib/agent/util/am_constants.rb', line 9 def mf_loginfo_st @mf_loginfo_st end |
#mf_loginfo_str ⇒ Object (readonly)
Returns the value of attribute mf_loginfo_str.
9 10 11 |
# File 'lib/agent/util/am_constants.rb', line 9 def mf_loginfo_str @mf_loginfo_str end |
#mf_loginfo_time ⇒ Object (readonly)
Returns the value of attribute mf_loginfo_time.
9 10 11 |
# File 'lib/agent/util/am_constants.rb', line 9 def mf_loginfo_time @mf_loginfo_time end |
#mf_logmetric ⇒ Object (readonly)
Returns the value of attribute mf_logmetric.
9 10 11 |
# File 'lib/agent/util/am_constants.rb', line 9 def mf_logmetric @mf_logmetric end |
#mf_logmetric_warning ⇒ Object (readonly)
Returns the value of attribute mf_logmetric_warning.
9 10 11 |
# File 'lib/agent/util/am_constants.rb', line 9 def mf_logmetric_warning @mf_logmetric_warning end |
#mf_name ⇒ Object (readonly)
Returns the value of attribute mf_name.
8 9 10 |
# File 'lib/agent/util/am_constants.rb', line 8 def mf_name @mf_name end |
#mf_namespace ⇒ Object (readonly)
Returns the value of attribute mf_namespace.
8 9 10 |
# File 'lib/agent/util/am_constants.rb', line 8 def mf_namespace @mf_namespace end |
#mf_overflow ⇒ Object (readonly)
Returns the value of attribute mf_overflow.
8 9 10 |
# File 'lib/agent/util/am_constants.rb', line 8 def mf_overflow @mf_overflow end |
#mf_separator ⇒ Object (readonly)
Returns the value of attribute mf_separator.
8 9 10 |
# File 'lib/agent/util/am_constants.rb', line 8 def mf_separator @mf_separator end |
#mf_transaction ⇒ Object (readonly)
Returns the value of attribute mf_transaction.
8 9 10 |
# File 'lib/agent/util/am_constants.rb', line 8 def mf_transaction @mf_transaction end |
#response_code ⇒ Object (readonly)
Returns the value of attribute response_code.
7 8 9 |
# File 'lib/agent/util/am_constants.rb', line 7 def response_code @response_code end |
#s247_apm_gem ⇒ Object (readonly)
Returns the value of attribute s247_apm_gem.
5 6 7 |
# File 'lib/agent/util/am_constants.rb', line 5 def s247_apm_gem @s247_apm_gem end |
#site24x7AUurl ⇒ Object (readonly)
Returns the value of attribute site24x7AUurl.
6 7 8 |
# File 'lib/agent/util/am_constants.rb', line 6 def site24x7AUurl @site24x7AUurl end |
#site24x7CAurl ⇒ Object (readonly)
Returns the value of attribute site24x7CAurl.
6 7 8 |
# File 'lib/agent/util/am_constants.rb', line 6 def site24x7CAurl @site24x7CAurl end |
#site24x7CNurl ⇒ Object (readonly)
Returns the value of attribute site24x7CNurl.
6 7 8 |
# File 'lib/agent/util/am_constants.rb', line 6 def site24x7CNurl @site24x7CNurl end |
#site24x7EUurl ⇒ Object (readonly)
Returns the value of attribute site24x7EUurl.
6 7 8 |
# File 'lib/agent/util/am_constants.rb', line 6 def site24x7EUurl @site24x7EUurl end |
#site24x7GDurl ⇒ Object (readonly)
Returns the value of attribute site24x7GDurl.
6 7 8 |
# File 'lib/agent/util/am_constants.rb', line 6 def site24x7GDurl @site24x7GDurl end |
#site24x7HDFCurl ⇒ Object (readonly)
Returns the value of attribute site24x7HDFCurl.
6 7 8 |
# File 'lib/agent/util/am_constants.rb', line 6 def site24x7HDFCurl @site24x7HDFCurl end |
#site24x7INurl ⇒ Object (readonly)
Returns the value of attribute site24x7INurl.
6 7 8 |
# File 'lib/agent/util/am_constants.rb', line 6 def site24x7INurl @site24x7INurl end |
#site24x7JPurl ⇒ Object (readonly)
Returns the value of attribute site24x7JPurl.
6 7 8 |
# File 'lib/agent/util/am_constants.rb', line 6 def site24x7JPurl @site24x7JPurl end |
#site24x7SAurl ⇒ Object (readonly)
Returns the value of attribute site24x7SAurl.
6 7 8 |
# File 'lib/agent/util/am_constants.rb', line 6 def site24x7SAurl @site24x7SAurl end |
#site24x7UKurl ⇒ Object (readonly)
Returns the value of attribute site24x7UKurl.
6 7 8 |
# File 'lib/agent/util/am_constants.rb', line 6 def site24x7UKurl @site24x7UKurl end |
#site24x7USurl ⇒ Object (readonly)
Returns the value of attribute site24x7USurl.
6 7 8 |
# File 'lib/agent/util/am_constants.rb', line 6 def site24x7USurl @site24x7USurl end |
#unmanage_agent ⇒ Object (readonly)
Returns the value of attribute unmanage_agent.
7 8 9 |
# File 'lib/agent/util/am_constants.rb', line 7 def unmanage_agent @unmanage_agent end |
Instance Method Details
#setLicenseKey(lkey) ⇒ Object
121 122 123 124 125 126 |
# File 'lib/agent/util/am_constants.rb', line 121 def setLicenseKey lkey @apm_gem="site24x7_apminsight" @connect_data_uri="arh/data?license.key="+lkey+"&instance_id=" @connect_trace_uri="arh/trace?license.key="+lkey+"&instance_id=" @connect_config_update_uri="arh/agent_config_update?license.key="+lkey+"&instance_id=" end |