public interface IGangliaMessage
Modifier and Type | Method and Description |
---|---|
String |
getHostName()
The name of the host for which the metric was reported.
|
String |
getMetricName()
The name of the metric (this needs to be clean for use in a file system
so the application name of the metric needs to be munged before it is
saved here).
|
GangliaMessageTypeEnum |
getRecordType()
The code for the type of message.
|
boolean |
isMetricMetadata()
Return
true iff this message contains the metadata for a
metric (the metric declaration). |
boolean |
isMetricRequest()
Return
true iff this message is a request for a metric. |
boolean |
isMetricValue()
Return
true if this message represents a metric value. |
boolean |
isSpoof()
true iff this is a spoofed message. |
GangliaMessageTypeEnum getRecordType()
String getHostName()
Note: When isSpoof()
reports true
this will be
ip:host
.
String getMetricName()
boolean isMetricMetadata()
true
iff this message contains the metadata for a
metric (the metric declaration).GangliaMessageTypeEnum.METADATA
boolean isMetricRequest()
true
iff this message is a request for a metric.GangliaMessageTypeEnum.REQUEST
boolean isMetricValue()
true
if this message represents a metric value.boolean isSpoof()
true
iff this is a spoofed message.
Note: Spoof messages format getHostName()
as
ip:host
and provide a means to fake metrics for a host which
is down (or which is not running ganglia).
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.