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 |
IDM_AGENT_LIST |
static int |
IDM_AGENT_TABLE |
static int |
IDM_NONE |
static int |
IDM_SCRIPT |
static int |
IDM_SNMP_WALK_OIDS |
static int |
IDM_SNMP_WALK_VALUES |
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, INTERNAL, 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
|
getCacheMode, getComments, getComparablePollingInterval, getComparableRetentionTime, getDescription, getFlags, getId, 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, setName, setOrigin, setPerfTabSettings, setPollingInterval, setResourceId, setRetentionTime, setSchedules, setSnmpPort, setSourceNode, setStatus, setSystemTag, setTemplateId, setTransformAggregated, setTransformationScript, setUseAdvancedSchedule, setUserData
public 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
public static final int IDM_NONE
public static final int IDM_AGENT_LIST
public static final int IDM_AGENT_TABLE
public static final int IDM_SNMP_WALK_VALUES
public static final int IDM_SNMP_WALK_OIDS
public static final int IDM_SCRIPT
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 DataCollectionObject
msg
- 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 String getInstance()
public void setInstance(String instance)
instance
- the instance to setpublic 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 final int getInstanceDiscoveryMethod()
public final void setInstanceDiscoveryMethod(int instanceDiscoveryMethod)
instanceDiscoveryMethod
- the instanceDiscoveryMethod to setpublic final String getInstanceDiscoveryData()
public final void setInstanceDiscoveryData(String instanceDiscoveryData)
instanceDiscoveryData
- the instanceDiscoveryData to setpublic final String getInstanceDiscoveryFilter()
public final void setInstanceDiscoveryFilter(String instanceDiscoveryFilter)
instanceDiscoveryFilter
- the instanceDiscoveryFilter to setpublic int getSampleCount()
public void setSampleCount(int sampleCount)
sampleCount
- the sampleCount to setpublic boolean isUsedForNodeStatusCalculation()
public void setUsedForNodeStatusCalculation(boolean enable)
enable
- Copyright © 2016. All rights reserved.