public class DataCollectionItem extends DataCollectionObject
| Modifier and Type | Field and Description |
|---|---|
static int |
DCF_AGGREGATE_FUNCTION_MASK |
static int |
DCF_ALL_THRESHOLDS |
static int |
DCF_CALCULATE_NODE_STATUS |
static int |
DCF_FUNCTION_AVG |
static int |
DCF_FUNCTION_MAX |
static int |
DCF_FUNCTION_MIN |
static int |
DCF_FUNCTION_SUM |
static int |
DCF_RAW_VALUE_OCTET_STRING |
static int |
DCF_SHOW_IN_OBJECT_OVERVIEW |
static int |
DCF_SHOW_ON_OBJECT_TOOLTIP |
static int |
DELTA_AVERAGE_PER_MINUTE |
static int |
DELTA_AVERAGE_PER_SECOND |
static int |
DELTA_NONE |
static int |
DELTA_SIMPLE |
static int |
SNMP_RAWTYPE_DOUBLE |
static int |
SNMP_RAWTYPE_INT32 |
static int |
SNMP_RAWTYPE_INT64 |
static int |
SNMP_RAWTYPE_IP_ADDR |
static int |
SNMP_RAWTYPE_MAC_ADDR |
static int |
SNMP_RAWTYPE_NONE |
static int |
SNMP_RAWTYPE_UINT32 |
static int |
SNMP_RAWTYPE_UINT64 |
ACTIVE, AGENT, CHECKPOINT_SNMP, DCF_ADVANCED_SCHEDULE, DCF_AGGREGATE_ON_CLUSTER, DCF_AGGREGATE_WITH_ERRORS, DCF_CACHE_MODE_MASK, DCF_NO_STORAGE, DCF_TRANSFORM_AGGREGATED, DCO_TYPE_GENERIC, DCO_TYPE_ITEM, DCO_TYPE_TABLE, description, DISABLED, DT_FLOAT, DT_INT, DT_INT64, DT_NULL, DT_STRING, DT_UINT, DT_UINT64, flags, id, IDM_AGENT_LIST, IDM_AGENT_TABLE, IDM_NONE, IDM_SCRIPT, IDM_SNMP_WALK_OIDS, IDM_SNMP_WALK_VALUES, INTERNAL, MQTT, name, NOT_SUPPORTED, origin, owner, perfTabSettings, pollingInterval, PUSH, resourceId, retentionTime, schedules, SCRIPT, SMCLP, SNMP, snmpPort, sourceNode, SSH, status, systemTag, templateId, transformationScript, userData, WINPERF| Modifier | Constructor and Description |
|---|---|
|
DataCollectionItem(DataCollectionConfiguration owner,
long id)
Constructor for new data collection items.
|
protected |
DataCollectionItem(DataCollectionConfiguration owner,
org.netxms.base.NXCPMessage msg)
Create data collection item object from NXCP message
|
| Modifier and Type | Method and Description |
|---|---|
void |
fillMessage(org.netxms.base.NXCPMessage msg)
Fill NXCP message with item's data.
|
int |
getAggregationFunction() |
int |
getBaseUnits() |
String |
getCustomUnitName() |
int |
getDataType() |
int |
getDeltaCalculation() |
int |
getMultiplier() |
String |
getPredictionEngine() |
int |
getSampleCount() |
int |
getSnmpRawValueType() |
ArrayList<Threshold> |
getThresholds() |
boolean |
isProcessAllThresholds() |
boolean |
isShowInObjectOverview() |
boolean |
isShowOnObjectTooltip() |
boolean |
isSnmpRawValueInOctetString() |
boolean |
isUsedForNodeStatusCalculation() |
void |
setAggregationFunction(int func) |
void |
setBaseUnits(int baseUnits) |
void |
setCustomUnitName(String customUnitName) |
void |
setDataType(int dataType) |
void |
setDeltaCalculation(int deltaCalculation) |
void |
setMultiplier(int multiplier) |
void |
setPredictionEngine(String predictionEngine) |
void |
setProcessAllThresholds(boolean processAllThresholds) |
void |
setSampleCount(int sampleCount) |
void |
setShowInObjectOverview(boolean show) |
void |
setShowOnObjectTooltip(boolean show) |
void |
setSnmpRawValueInOctetString(boolean enable)
Set state of DCF_RAW_VALUE_OCTET_STRING flag
|
void |
setSnmpRawValueType(int snmpRawValueType) |
void |
setUsedForNodeStatusCalculation(boolean enable)
Enable or disable usage of this DCI for node status calculation
|
getCacheMode, getComments, getComparablePollingInterval, getComparableRetentionTime, getDescription, getFlags, getId, getInstance, getInstanceDiscoveryData, getInstanceDiscoveryFilter, getInstanceDiscoveryMethod, getName, getNodeId, getOrigin, getOwner, getPerfTabSettings, getPollingInterval, getResourceId, getRetentionTime, getSchedules, getSnmpPort, getSourceNode, getStatus, getSystemTag, getTemplateId, getTransformationScript, getUserData, isAggregateOnCluster, isAggregateWithErrors, isNewItem, isTransformAggregated, isUseAdvancedSchedule, setAggregateOnCluster, setAggregateWithErrors, setCacheMode, setComments, setDescription, setFlags, setId, setInstance, setInstanceDiscoveryData, setInstanceDiscoveryFilter, setInstanceDiscoveryMethod, setName, setOrigin, setPerfTabSettings, setPollingInterval, setResourceId, setRetentionTime, setSchedules, setSnmpPort, setSourceNode, setStatus, setSystemTag, setTemplateId, setTransformAggregated, setTransformationScript, setUseAdvancedSchedule, setUserDatapublic static final int DCF_ALL_THRESHOLDS
public static final int DCF_RAW_VALUE_OCTET_STRING
public static final int DCF_SHOW_ON_OBJECT_TOOLTIP
public static final int DCF_AGGREGATE_FUNCTION_MASK
public static final int DCF_CALCULATE_NODE_STATUS
public static final int DCF_SHOW_IN_OBJECT_OVERVIEW
public static final int DCF_FUNCTION_SUM
public static final int DCF_FUNCTION_AVG
public static final int DCF_FUNCTION_MIN
public static final int DCF_FUNCTION_MAX
public static final int DELTA_NONE
public static final int DELTA_SIMPLE
public static final int DELTA_AVERAGE_PER_SECOND
public static final int DELTA_AVERAGE_PER_MINUTE
public static final int SNMP_RAWTYPE_NONE
public static final int SNMP_RAWTYPE_INT32
public static final int SNMP_RAWTYPE_UINT32
public static final int SNMP_RAWTYPE_INT64
public static final int SNMP_RAWTYPE_UINT64
public static final int SNMP_RAWTYPE_DOUBLE
public static final int SNMP_RAWTYPE_IP_ADDR
public static final int SNMP_RAWTYPE_MAC_ADDR
protected DataCollectionItem(DataCollectionConfiguration owner, org.netxms.base.NXCPMessage msg)
owner - Owning configuration objectmsg - NXCP messagepublic DataCollectionItem(DataCollectionConfiguration owner, long id)
owner - Owning configuration objectid - Identifier assigned to new itempublic void fillMessage(org.netxms.base.NXCPMessage msg)
fillMessage in class DataCollectionObjectmsg - NXCP messagepublic int getDataType()
public void setDataType(int dataType)
dataType - the dataType to setpublic int getDeltaCalculation()
public void setDeltaCalculation(int deltaCalculation)
deltaCalculation - the deltaCalculation to setpublic boolean isProcessAllThresholds()
public void setProcessAllThresholds(boolean processAllThresholds)
processAllThresholds - the processAllThresholds to setpublic boolean isSnmpRawValueInOctetString()
public void setSnmpRawValueInOctetString(boolean enable)
enable - public boolean isShowOnObjectTooltip()
public void setShowOnObjectTooltip(boolean show)
show - indicator if DCI should be shown on object tooltippublic boolean isShowInObjectOverview()
public void setShowInObjectOverview(boolean show)
show - indicator if DCI should be shown in object overviewpublic int getAggregationFunction()
public void setAggregationFunction(int func)
func - public int getBaseUnits()
public void setBaseUnits(int baseUnits)
baseUnits - the baseUnits to setpublic int getMultiplier()
public void setMultiplier(int multiplier)
multiplier - the multiplier to setpublic String getCustomUnitName()
public void setCustomUnitName(String customUnitName)
customUnitName - the customUnitName to setpublic int getSnmpRawValueType()
public void setSnmpRawValueType(int snmpRawValueType)
snmpRawValueType - the snmpRawValueType to setpublic int getSampleCount()
public void setSampleCount(int sampleCount)
sampleCount - the sampleCount to setpublic boolean isUsedForNodeStatusCalculation()
public void setUsedForNodeStatusCalculation(boolean enable)
enable - public String getPredictionEngine()
public void setPredictionEngine(String predictionEngine)
predictionEngine - the predictionEngine to setCopyright © 2017. All rights reserved.