Events-api Concepts: Difference between revisions
Jump to navigation
Jump to search
Line 46: | Line 46: | ||
<font color=red>Classpath.</font> | <font color=red>Classpath.</font> | ||
=Metric | =Metric Definition= | ||
A ''metric definition'' contains all the information a metric source needs in order to extract a value (reading) for | A ''metric definition'' is an instance that contains all the information a [[#Metric_Source|metric source]] needs in order to extract a value (reading) for a specific metric. The metric definition has an ID which uniquely identifies the metric to a [[#Metric_Source|metric source]]. A specific instance of a metric definition can be associated with a metric source via the metric source address. | ||
===OS Metric Defintion=== | ===OS Metric Defintion=== |
Revision as of 01:44, 26 July 2017
Internal
Metric Source
OS
Local OS
Remote OS
Valid addresses:
ssh://username@hostaddress:port
"ssh://" protocol implied:
username@hostaddress:port
JBoss Management Controller
jbosscli://admin@1.2.3.4:9999/
"jbosscli://" implied:
admin@1.2.3.4:9999/
The default value, if not specified, is "localhost:9999".
JMX Bus
jmx://admin:adminpasswd@1.2.3.4:2345
Classpath.
Metric Definition
A metric definition is an instance that contains all the information a metric source needs in order to extract a value (reading) for a specific metric. The metric definition has an ID which uniquely identifies the metric to a metric source. A specific instance of a metric definition can be associated with a metric source via the metric source address.
OS Metric Defintion
Local:
PhysicalMemoryFree
Remote:
ssh://test-remote-host:22/PhysicalMemoryFree
JBoss CLI Metric Defintion
Default (implies the default local jboss instance):
/subsystem=messaging/hornetq-server=default/jms-queue=DLQ/message-count
Remote:
jbosscli://admin:adminpasswd@1.2.3.4:9999/subsystem=messaging/hornetq-server=default/jms-queue=DLQ/message-count
JMX Metric Defintion
jmx://admin:adminpasswd@1.2.3.4:2345/jboss.as:subsystem=messaging,hornetq-server=default,jms-queue=DLQ/messageCount