Package org.netxms.client.objects
Class AbstractNode
- java.lang.Object
-
- org.netxms.client.objects.AbstractObject
-
- org.netxms.client.objects.GenericObject
-
- org.netxms.client.objects.DataCollectionTarget
-
- org.netxms.client.objects.AbstractNode
-
- All Implemented Interfaces:
ElementForPhysicalPlacment,PollingTarget,ZoneMember
- Direct Known Subclasses:
Node
public abstract class AbstractNode extends DataCollectionTarget implements ElementForPhysicalPlacment, ZoneMember, PollingTarget
Abstract base class for node objects.
-
-
Field Summary
-
Fields inherited from class org.netxms.client.objects.DataCollectionTarget
DCF_DISABLE_CONF_POLL, DCF_DISABLE_DATA_COLLECT, DCF_DISABLE_STATUS_POLL, DCSF_NETWORK_PATH_PROBLEM, DCSF_UNREACHABLE, overviewDciData, tooltipDciData
-
Fields inherited from class org.netxms.client.objects.AbstractObject
accessList, backupZoneProxyId, BUSINESSSERVICEROOT, CALCULATE_DEFAULT, CALCULATE_MOST_CRITICAL, CALCULATE_MULTIPLE_THRESHOLDS, CALCULATE_SINGLE_THRESHOLD, children, comments, creationTime, customAttributes, DASHBOARDROOT, dashboards, drillDownObjectId, fixedPropagatedStatus, geolocation, guid, image, inheritAccessRights, inMaintenanceMode, isDeleted, moduleData, NETWORK, NETWORKMAPROOT, OBJECT_ACCESSPOINT, OBJECT_AGENTPOLICY, OBJECT_AGENTPOLICY_CONFIG, OBJECT_AGENTPOLICY_LOGPARSER, OBJECT_BUSINESSSERVICE, OBJECT_BUSINESSSERVICEROOT, OBJECT_CHASSIS, OBJECT_CLUSTER, OBJECT_CONDITION, OBJECT_CONTAINER, OBJECT_CUSTOM, OBJECT_DASHBOARD, OBJECT_DASHBOARDGROUP, OBJECT_DASHBOARDROOT, OBJECT_GENERIC, OBJECT_INTERFACE, OBJECT_MOBILEDEVICE, OBJECT_NETWORK, OBJECT_NETWORKMAP, OBJECT_NETWORKMAPGROUP, OBJECT_NETWORKMAPROOT, OBJECT_NETWORKSERVICE, OBJECT_NODE, OBJECT_NODELINK, OBJECT_POLICYGROUP, OBJECT_POLICYROOT, OBJECT_RACK, OBJECT_SENSOR, OBJECT_SERVICEROOT, OBJECT_SLMCHECK, OBJECT_SUBNET, OBJECT_TEMPLATE, OBJECT_TEMPLATEGROUP, OBJECT_TEMPLATEROOT, OBJECT_VPNCONNECTOR, OBJECT_ZONE, objectClass, objectId, objectName, parents, POLICYROOT, postalAddress, primaryZoneProxyId, PROPAGATE_DEFAULT, PROPAGATE_FIXED, PROPAGATE_RELATIVE, PROPAGATE_TRANSLATED, PROPAGATE_UNCHANGED, REPORTROOT, responsibleUsers, SERVICEROOT, session, status, statusCalculationMethod, statusPropagationMethod, statusShift, statusSingleThreshold, statusThresholds, statusTransformation, TEMPLATEROOT, trustedNodes, urls, ZONE0
-
-
Constructor Summary
Constructors Constructor Description AbstractNode(long id, NXCSession session)Create new node object.AbstractNode(org.netxms.base.NXCPMessage msg, NXCSession session)Create node object from NXCP message.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetAgentAuthMethod()AgentCacheModegetAgentCacheMode()Get agent cache mode.AgentCompressionModegetAgentCompressionMode()UUIDgetAgentId()intgetAgentPort()longgetAgentProxyId()StringgetAgentSharedSecret()StringgetAgentVersion()DategetBootTime()org.netxms.base.MacAddressgetBridgeBaseAddress()intgetCapabilities()ChassisPlacementgetChassisPlacement()Get chassis placement configurationintgetCipDeviceType()StringgetCipDeviceTypeName()Get symbolic name for node's CIP device type.StringgetCipExtendedStatusText()intgetCipState()StringgetCipStateText()intgetCipStatus()StringgetCipStatusText()StringgetDriverName()StringgetDriverVersion()intgetEtherNetIpPort()longgetEtherNetIpProxyId()intgetFlags()Get object flags.UUIDgetFrontRackImage()Get front rack imageStringgetHardwareProductCode()StringgetHardwareProductName()StringgetHardwareProductVersion()StringgetHardwareSerialNumber()StringgetHardwareVendor()StringgetHypervisorInformation()Get additional hypervisor information (product, version, etc.).StringgetHypervisorType()Get hypervisor type.intgetIcmpAverageResponseTime()intgetIcmpLastResponseTime()intgetIcmpMaxResponseTime()intgetIcmpMinResponseTime()intgetIcmpPacketLoss()longgetIcmpProxyId()IcmpStatCollectionModegetIcmpStatCollectionMode()InetAddress[]getIcmpTargets()intgetIfXTablePolicy()Get ifXTable usage policy.InterfacegetInterfaceByIndex(int ifIndex)Get node's interface by interface indexDategetLastAgentCommTime()Get last agent communications timeStringgetLldpNodeId()StringgetNodeSubType()NodeTypegetNodeType()longgetPhysicalContainerId()Get physical container object IDStringgetPlatformName()longgetPollerNodeId()Get poller node ID.intgetPortNumberingScheme()Get physical port numbering schemeintgetPortRowCount()Get number of rows for physical portsorg.netxms.base.InetAddressExgetPrimaryIP()Get primary IP addressorg.netxms.base.MacAddressgetPrimaryMAC()Get MAC address of interface with node's primary IPStringgetPrimaryName()shortgetRackHeight()Get device height in rack unitsRackOrientationgetRackOrientation()Get orientation of object in rackshortgetRackPosition()Get position in rackUUIDgetRearRackImage()Get rear rack imageintgetRequredPollCount()intgetSnmpAuthMethod()Get SNMP authentication methodStringgetSnmpAuthName()Get SNMP authentication name - community string for version 1 and 2c, or user name for version 3.StringgetSnmpAuthPassword()Get SNMP authentication password.StringgetSnmpOID()intgetSnmpPort()intgetSnmpPrivMethod()Get SNMP privacy (encryption) methodStringgetSnmpPrivPassword()Get SNMP privacy password.longgetSnmpProxyId()StringgetSnmpSysContact()Get SNMP system contact (value of sysContact MIB entry)StringgetSnmpSysLocation()Get SNMP system location (value of sysLocation MIB entry)StringgetSnmpSysName()Get SNMP system name (value of sysName MIB entry)SnmpVersiongetSnmpVersion()StringgetSshLogin()StringgetSshPassword()longgetSshProxyId()intgetStateFlags()Set<String>getStrings()Get all strings in objectStringgetSystemDescription()protected intgetVrrpVersion()longgetZoneId()Get ID of the zone this object belongs toStringgetZoneName()Get name of the zone this object belongs tobooleanhasAgent()booleanhasSnmpAgent()booleanis8021xSupported()booleanisAgentIfXCountersSupported()booleanisAgentReachable()Check node state flags for "agent unreachable" flag.booleanisBridge()Check for bridge capabilities flagbooleanisEntityMibSupported()booleanisIcmpStatisticsCollected()Check if ICMP statistics is collected for this node.booleanisIfXTableSupported()booleanisManagementServer()booleanisPingOnPrimaryIPEnabled()Check node flags for "Enable ICMP ping on primary IP" flag.booleanisSnmpReachable()Check node state flags for "SNMP unreachable" flag.booleanisSnmpSettingsLocked()Check node flags for "SNMP settings locked" flag.booleanisSpanningTreeSupported()booleanisVirtual()Check if this node is a virtual node (either virtual machine or container)booleanisVrrpSupported()booleanisWirelessController()-
Methods inherited from class org.netxms.client.objects.DataCollectionTarget
getOverviewDciData, getTooltipDciData
-
Methods inherited from class org.netxms.client.objects.AbstractObject
addString, getAccessList, getAllChildren, getAllChildren, getAllParents, getAllParents, getBackupZoneProxyId, getChildIdList, getChildren, getChildrenAsArray, getComments, getCreationTime, getCustomAttribute, getCustomAttributes, getCustomAttributeValue, getDashboards, getDrillDownObjectId, getEffectiveRights, getFixedPropagatedStatus, getGeolocation, getGuid, getImage, getModuleData, getObjectClass, getObjectClassName, getObjectId, getObjectName, getParentCount, getParentIdList, getParents, getParentsAsArray, getPostalAddress, getPrimaryZoneProxyId, getResponsibleUsers, getStatus, getStatusCalculationMethod, getStatusPropagationMethod, getStatusShift, getStatusSingleThreshold, getStatusThresholds, getStatusTransformation, getTrustedNodes, getUrls, hasAccessibleChildren, hasChildren, hashCode, hasParents, hasUrls, isAlarmsVisible, isAllowedOnMap, isChildOf, isChildOf, isDefaultImage, isDeleted, isDirectChildOf, isDirectParentOf, isInheritAccessRights, isInMaintenanceMode, isParentOf, isParentOf, setSession
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.netxms.client.objects.ElementForPhysicalPlacment
getObjectId, getObjectName, getStatus
-
Methods inherited from interface org.netxms.client.objects.PollingTarget
canHaveAgent, canHaveInterfaces, canHavePollerNode, canUseEtherNetIP, getObjectId, getObjectName
-
-
-
-
Field Detail
-
AGENT_AUTH_NONE
public static final int AGENT_AUTH_NONE
- See Also:
- Constant Field Values
-
AGENT_AUTH_PLAINTEXT
public static final int AGENT_AUTH_PLAINTEXT
- See Also:
- Constant Field Values
-
AGENT_AUTH_MD5
public static final int AGENT_AUTH_MD5
- See Also:
- Constant Field Values
-
AGENT_AUTH_SHA1
public static final int AGENT_AUTH_SHA1
- See Also:
- Constant Field Values
-
NC_IS_SNMP
public static final int NC_IS_SNMP
- See Also:
- Constant Field Values
-
NC_IS_NATIVE_AGENT
public static final int NC_IS_NATIVE_AGENT
- See Also:
- Constant Field Values
-
NC_IS_BRIDGE
public static final int NC_IS_BRIDGE
- See Also:
- Constant Field Values
-
NC_IS_ROUTER
public static final int NC_IS_ROUTER
- See Also:
- Constant Field Values
-
NC_IS_LOCAL_MGMT
public static final int NC_IS_LOCAL_MGMT
- See Also:
- Constant Field Values
-
NC_IS_PRINTER
public static final int NC_IS_PRINTER
- See Also:
- Constant Field Values
-
NC_IS_OSPF
public static final int NC_IS_OSPF
- See Also:
- Constant Field Values
-
NC_IS_CDP
public static final int NC_IS_CDP
- See Also:
- Constant Field Values
-
NC_IS_NDP
public static final int NC_IS_NDP
- See Also:
- Constant Field Values
-
NC_IS_LLDP
public static final int NC_IS_LLDP
- See Also:
- Constant Field Values
-
NC_IS_VRRP
public static final int NC_IS_VRRP
- See Also:
- Constant Field Values
-
NC_HAS_VLANS
public static final int NC_HAS_VLANS
- See Also:
- Constant Field Values
-
NC_IS_8021X
public static final int NC_IS_8021X
- See Also:
- Constant Field Values
-
NC_IS_STP
public static final int NC_IS_STP
- See Also:
- Constant Field Values
-
NC_HAS_ENTITY_MIB
public static final int NC_HAS_ENTITY_MIB
- See Also:
- Constant Field Values
-
NC_HAS_IFXTABLE
public static final int NC_HAS_IFXTABLE
- See Also:
- Constant Field Values
-
NC_HAS_AGENT_IFXCOUNTERS
public static final int NC_HAS_AGENT_IFXCOUNTERS
- See Also:
- Constant Field Values
-
NC_HAS_WINPDH
public static final int NC_HAS_WINPDH
- See Also:
- Constant Field Values
-
NC_IS_WIFI_CONTROLLER
public static final int NC_IS_WIFI_CONTROLLER
- See Also:
- Constant Field Values
-
NC_IS_SMCLP
public static final int NC_IS_SMCLP
- See Also:
- Constant Field Values
-
NC_HAS_USER_AGENT
public static final int NC_HAS_USER_AGENT
- See Also:
- Constant Field Values
-
NC_IS_ETHERNET_IP
public static final int NC_IS_ETHERNET_IP
- See Also:
- Constant Field Values
-
NC_IS_MODBUS_TCP
public static final int NC_IS_MODBUS_TCP
- See Also:
- Constant Field Values
-
NC_IS_PROFINET
public static final int NC_IS_PROFINET
- See Also:
- Constant Field Values
-
NF_REMOTE_AGENT
public static final int NF_REMOTE_AGENT
- See Also:
- Constant Field Values
-
NF_DISABLE_DISCOVERY_POLL
public static final int NF_DISABLE_DISCOVERY_POLL
- See Also:
- Constant Field Values
-
NF_DISABLE_TOPOLOGY_POLL
public static final int NF_DISABLE_TOPOLOGY_POLL
- See Also:
- Constant Field Values
-
NF_DISABLE_SNMP
public static final int NF_DISABLE_SNMP
- See Also:
- Constant Field Values
-
NF_DISABLE_NXCP
public static final int NF_DISABLE_NXCP
- See Also:
- Constant Field Values
-
NF_DISABLE_ICMP
public static final int NF_DISABLE_ICMP
- See Also:
- Constant Field Values
-
NF_FORCE_ENCRYPTION
public static final int NF_FORCE_ENCRYPTION
- See Also:
- Constant Field Values
-
NF_DISABLE_ROUTE_POLL
public static final int NF_DISABLE_ROUTE_POLL
- See Also:
- Constant Field Values
-
NF_AGENT_OVER_TUNNEL_ONLY
public static final int NF_AGENT_OVER_TUNNEL_ONLY
- See Also:
- Constant Field Values
-
NF_SNMP_SETTINGS_LOCKED
public static final int NF_SNMP_SETTINGS_LOCKED
- See Also:
- Constant Field Values
-
NF_PING_PRIMARY_IP
public static final int NF_PING_PRIMARY_IP
- See Also:
- Constant Field Values
-
NF_DISABLE_ETHERNET_IP
public static final int NF_DISABLE_ETHERNET_IP
- See Also:
- Constant Field Values
-
NSF_AGENT_UNREACHABLE
public static final int NSF_AGENT_UNREACHABLE
- See Also:
- Constant Field Values
-
NSF_SNMP_UNREACHABLE
public static final int NSF_SNMP_UNREACHABLE
- See Also:
- Constant Field Values
-
NSF_CPSNMP_UNREACHABLE
public static final int NSF_CPSNMP_UNREACHABLE
- See Also:
- Constant Field Values
-
IFXTABLE_DEFAULT
public static final int IFXTABLE_DEFAULT
- See Also:
- Constant Field Values
-
IFXTABLE_ENABLED
public static final int IFXTABLE_ENABLED
- See Also:
- Constant Field Values
-
IFXTABLE_DISABLED
public static final int IFXTABLE_DISABLED
- See Also:
- Constant Field Values
-
primaryIP
protected org.netxms.base.InetAddressEx primaryIP
-
primaryName
protected String primaryName
-
flags
protected int flags
-
stateFlags
protected int stateFlags
-
capabilities
protected int capabilities
-
nodeType
protected NodeType nodeType
-
nodeSubType
protected String nodeSubType
-
hypervisorType
protected String hypervisorType
-
hypervisorInformation
protected String hypervisorInformation
-
hardwareProductName
protected String hardwareProductName
-
hardwareProductCode
protected String hardwareProductCode
-
hardwareProductVersion
protected String hardwareProductVersion
-
hardwareSerialNumber
protected String hardwareSerialNumber
-
hardwareVendor
protected String hardwareVendor
-
requredPollCount
protected int requredPollCount
-
pollerNodeId
protected long pollerNodeId
-
agentProxyId
protected long agentProxyId
-
snmpProxyId
protected long snmpProxyId
-
etherNetIpProxyId
protected long etherNetIpProxyId
-
icmpProxyId
protected long icmpProxyId
-
agentPort
protected int agentPort
-
agentAuthMethod
protected int agentAuthMethod
-
agentId
protected UUID agentId
-
agentCacheMode
protected AgentCacheMode agentCacheMode
-
agentCompressionMode
protected AgentCompressionMode agentCompressionMode
-
agentSharedSecret
protected String agentSharedSecret
-
agentVersion
protected String agentVersion
-
platformName
protected String platformName
-
snmpAuthName
protected String snmpAuthName
-
snmpAuthPassword
protected String snmpAuthPassword
-
snmpPrivPassword
protected String snmpPrivPassword
-
snmpAuthMethod
protected int snmpAuthMethod
-
snmpPrivMethod
protected int snmpPrivMethod
-
snmpOID
protected String snmpOID
-
snmpVersion
protected SnmpVersion snmpVersion
-
snmpPort
protected int snmpPort
-
snmpSysName
protected String snmpSysName
-
snmpSysContact
protected String snmpSysContact
-
snmpSysLocation
protected String snmpSysLocation
-
systemDescription
protected String systemDescription
-
lldpNodeId
protected String lldpNodeId
-
vrrpVersion
protected int vrrpVersion
-
driverName
protected String driverName
-
driverVersion
protected String driverVersion
-
zoneId
protected long zoneId
-
bridgeBaseAddress
protected org.netxms.base.MacAddress bridgeBaseAddress
-
ifXTablePolicy
protected int ifXTablePolicy
-
bootTime
protected Date bootTime
-
lastAgentCommTime
protected Date lastAgentCommTime
-
physicalContainerId
protected long physicalContainerId
-
rackImageFront
protected UUID rackImageFront
-
rackImageRear
protected UUID rackImageRear
-
rackPosition
protected short rackPosition
-
rackHeight
protected short rackHeight
-
rackOrientation
protected RackOrientation rackOrientation
-
sshLogin
protected String sshLogin
-
sshPassword
protected String sshPassword
-
sshProxyId
protected long sshProxyId
-
portRowCount
protected int portRowCount
-
portNumberingScheme
protected int portNumberingScheme
-
icmpStatCollectionMode
protected IcmpStatCollectionMode icmpStatCollectionMode
-
icmpTargets
protected List<InetAddress> icmpTargets
-
icmpStatisticsCollected
protected boolean icmpStatisticsCollected
-
icmpLastResponseTime
protected int icmpLastResponseTime
-
icmpMinResponseTime
protected int icmpMinResponseTime
-
icmpMaxResponseTime
protected int icmpMaxResponseTime
-
icmpAverageResponseTime
protected int icmpAverageResponseTime
-
icmpPacketLoss
protected int icmpPacketLoss
-
chassisPlacement
protected ChassisPlacement chassisPlacement
-
etherNetIpPort
protected int etherNetIpPort
-
cipDeviceType
protected int cipDeviceType
-
cipDeviceTypeName
protected String cipDeviceTypeName
-
cipStatus
protected int cipStatus
-
cipStatusText
protected String cipStatusText
-
cipExtendedStatusText
protected String cipExtendedStatusText
-
cipState
protected int cipState
-
cipStateText
protected String cipStateText
-
-
Constructor Detail
-
AbstractNode
public AbstractNode(long id, NXCSession session)Create new node object.- Parameters:
id-session-
-
AbstractNode
public AbstractNode(org.netxms.base.NXCPMessage msg, NXCSession session)Create node object from NXCP message.- Parameters:
msg-session-
-
-
Method Detail
-
getFlags
public int getFlags()
Description copied from interface:PollingTargetGet object flags.- Specified by:
getFlagsin interfacePollingTarget- Returns:
- Flags
-
getCapabilities
public int getCapabilities()
- Returns:
- Flags
-
getStateFlags
public int getStateFlags()
- Returns:
- Runtime flags
-
getNodeType
public NodeType getNodeType()
- Returns:
- the nodeType
-
getNodeSubType
public String getNodeSubType()
- Returns:
- the nodeSubType
-
isVirtual
public boolean isVirtual()
Check if this node is a virtual node (either virtual machine or container)- Returns:
- true if this node is a virtual node
-
getHypervisorType
public String getHypervisorType()
Get hypervisor type.- Returns:
- hypervisor type string or empty string if unknown or not applicable
-
getHypervisorInformation
public String getHypervisorInformation()
Get additional hypervisor information (product, version, etc.).- Returns:
- hypervisor information string or empty string if unknown or not applicable
-
getRequredPollCount
public int getRequredPollCount()
- Returns:
- the requredPollCount
-
getPollerNodeId
public long getPollerNodeId()
Description copied from interface:PollingTargetGet poller node ID.- Specified by:
getPollerNodeIdin interfacePollingTarget- Returns:
- the pollerNodeId
-
getAgentProxyId
public long getAgentProxyId()
- Returns:
- the proxyNodeId
-
getSnmpProxyId
public long getSnmpProxyId()
- Returns:
- the snmpProxyId
-
getEtherNetIpProxyId
public long getEtherNetIpProxyId()
- Returns:
- the etherNetIpProxyId
-
getIcmpProxyId
public long getIcmpProxyId()
- Returns:
- the icmpProxyId
-
getAgentPort
public int getAgentPort()
- Returns:
- the agentPort
-
getAgentAuthMethod
public int getAgentAuthMethod()
- Returns:
- the agentAuthMethod
-
getAgentSharedSecret
public String getAgentSharedSecret()
- Returns:
- the agentSharedSecret
-
getAgentCacheMode
public AgentCacheMode getAgentCacheMode()
Description copied from interface:PollingTargetGet agent cache mode.- Specified by:
getAgentCacheModein interfacePollingTarget- Returns:
- the agentCacheMode
-
getAgentCompressionMode
public AgentCompressionMode getAgentCompressionMode()
- Returns:
- the agentCompressionMode
-
getAgentVersion
public String getAgentVersion()
- Returns:
- the agentVersion
-
getAgentId
public UUID getAgentId()
- Returns:
- the agentId
-
getPlatformName
public String getPlatformName()
- Returns:
- the platformName
-
getSnmpAuthName
public String getSnmpAuthName()
Get SNMP authentication name - community string for version 1 and 2c, or user name for version 3.- Returns:
- SNMP authentication name
-
getSnmpOID
public String getSnmpOID()
- Returns:
- the snmpOID
-
getSnmpVersion
public SnmpVersion getSnmpVersion()
- Returns:
- the snmpVersion
-
getSystemDescription
public String getSystemDescription()
- Returns:
- the systemDescription
-
getSnmpAuthPassword
public String getSnmpAuthPassword()
Get SNMP authentication password.- Returns:
- SNMP authentication password
-
getSnmpPrivPassword
public String getSnmpPrivPassword()
Get SNMP privacy password.- Returns:
- SNMP privacy password
-
getSnmpAuthMethod
public int getSnmpAuthMethod()
Get SNMP authentication method- Returns:
- SNMP authentication method
-
getSnmpPrivMethod
public int getSnmpPrivMethod()
Get SNMP privacy (encryption) method- Returns:
- SNMP privacy method
-
hasAgent
public boolean hasAgent()
- Returns:
- true if node has NetXMS agent
-
hasSnmpAgent
public boolean hasSnmpAgent()
- Returns:
- true if node has SNMP agent
-
isManagementServer
public boolean isManagementServer()
- Returns:
- true if node is a management server
-
isVrrpSupported
public boolean isVrrpSupported()
- Returns:
- true if node is VRRP capable
-
is8021xSupported
public boolean is8021xSupported()
- Returns:
- true if node supports 802.1x
-
isSpanningTreeSupported
public boolean isSpanningTreeSupported()
- Returns:
- true if node supports spanning tree MIB
-
isEntityMibSupported
public boolean isEntityMibSupported()
- Returns:
- true if node supports ENTITY-MIB
-
isIfXTableSupported
public boolean isIfXTableSupported()
- Returns:
- true if node supports ifXTable
-
isAgentIfXCountersSupported
public boolean isAgentIfXCountersSupported()
- Returns:
- true if agent on node supports 64-bit interface counters
-
isBridge
public boolean isBridge()
Check for bridge capabilities flag- Returns:
- true if node is has bridge capabilities
-
isWirelessController
public boolean isWirelessController()
- Returns:
- true if node is a wireless network controller
-
getSnmpPort
public int getSnmpPort()
- Returns:
- the snmpPort
-
getSnmpSysName
public String getSnmpSysName()
Get SNMP system name (value of sysName MIB entry)- Returns:
- the snmpSysName
-
getSnmpSysContact
public String getSnmpSysContact()
Get SNMP system contact (value of sysContact MIB entry)- Returns:
- SNMP system contact (value of sysContact MIB entry)
-
getSnmpSysLocation
public String getSnmpSysLocation()
Get SNMP system location (value of sysLocation MIB entry)- Returns:
- SNMP system location (value of sysLocation MIB entry)
-
getLldpNodeId
public String getLldpNodeId()
- Returns:
- the lldpNodeId
-
getVrrpVersion
protected int getVrrpVersion()
- Returns:
- the vrrpVersion
-
getDriverName
public String getDriverName()
- Returns:
- the driverName
-
getDriverVersion
public String getDriverVersion()
- Returns:
- the driverVersion
-
getZoneId
public long getZoneId()
Description copied from interface:ZoneMemberGet ID of the zone this object belongs to- Specified by:
getZoneIdin interfaceZoneMember- Returns:
- zone ID
-
getZoneName
public String getZoneName()
Description copied from interface:ZoneMemberGet name of the zone this object belongs to- Specified by:
getZoneNamein interfaceZoneMember- Returns:
- zone name
-
getBridgeBaseAddress
public org.netxms.base.MacAddress getBridgeBaseAddress()
- Returns:
- the bridgeBaseAddress
-
getIfXTablePolicy
public int getIfXTablePolicy()
Description copied from interface:PollingTargetGet ifXTable usage policy.- Specified by:
getIfXTablePolicyin interfacePollingTarget- Returns:
- the ifXTablePolicy
-
getPrimaryName
public String getPrimaryName()
- Returns:
- the primaryName
-
getPrimaryMAC
public org.netxms.base.MacAddress getPrimaryMAC()
Get MAC address of interface with node's primary IP- Returns:
- MAC address of interface with node's primary IP
-
getBootTime
public Date getBootTime()
- Returns:
- the bootTime
-
getPrimaryIP
public org.netxms.base.InetAddressEx getPrimaryIP()
Get primary IP address- Returns:
- primary IP address
-
getPhysicalContainerId
public long getPhysicalContainerId()
Description copied from interface:ElementForPhysicalPlacmentGet physical container object ID- Specified by:
getPhysicalContainerIdin interfaceElementForPhysicalPlacment- Returns:
- physical container object ID
-
getFrontRackImage
public UUID getFrontRackImage()
Description copied from interface:ElementForPhysicalPlacmentGet front rack image- Specified by:
getFrontRackImagein interfaceElementForPhysicalPlacment- Returns:
- front rack image
-
getRearRackImage
public UUID getRearRackImage()
Description copied from interface:ElementForPhysicalPlacmentGet rear rack image- Specified by:
getRearRackImagein interfaceElementForPhysicalPlacment- Returns:
- rear rack image
-
getRackPosition
public short getRackPosition()
Description copied from interface:ElementForPhysicalPlacmentGet position in rack- Specified by:
getRackPositionin interfaceElementForPhysicalPlacment- Returns:
- position in rack
-
getRackHeight
public short getRackHeight()
Description copied from interface:ElementForPhysicalPlacmentGet device height in rack units- Specified by:
getRackHeightin interfaceElementForPhysicalPlacment- Returns:
- device height in rack units
-
getLastAgentCommTime
public Date getLastAgentCommTime()
Get last agent communications time- Returns:
- last agent communications time
-
getSshLogin
public String getSshLogin()
- Returns:
- the sshLogin
-
getSshPassword
public String getSshPassword()
- Returns:
- the sshPassword
-
getSshProxyId
public long getSshProxyId()
- Returns:
- the sshProxyId
-
getPortRowCount
public int getPortRowCount()
Get number of rows for physical ports- Returns:
- number of rows for physical ports
-
getPortNumberingScheme
public int getPortNumberingScheme()
Get physical port numbering scheme- Returns:
- physical port numbering scheme
-
getHardwareProductName
public String getHardwareProductName()
- Returns:
- the hardwareProductName
-
getHardwareProductCode
public String getHardwareProductCode()
- Returns:
- the hardwareProductCode
-
getHardwareProductVersion
public String getHardwareProductVersion()
- Returns:
- the hardwareProductVersion
-
getHardwareSerialNumber
public String getHardwareSerialNumber()
- Returns:
- the hardwareSerialNumber
-
getHardwareVendor
public String getHardwareVendor()
- Returns:
- the hardwareVendor
-
getEtherNetIpPort
public int getEtherNetIpPort()
- Returns:
- the etherNetIpPort
-
getCipDeviceType
public int getCipDeviceType()
- Returns:
- the cipDeviceType
-
getCipDeviceTypeName
public String getCipDeviceTypeName()
Get symbolic name for node's CIP device type.- Returns:
- symbolic name for node's CIP device type or null if not available
-
getCipStatus
public int getCipStatus()
- Returns:
- the cipStatus
-
getCipStatusText
public String getCipStatusText()
- Returns:
- the cipStatusText
-
getCipExtendedStatusText
public String getCipExtendedStatusText()
- Returns:
- the cipExtendedStatusText
-
getCipState
public int getCipState()
- Returns:
- the cipState
-
getCipStateText
public String getCipStateText()
- Returns:
- the cipStateText
-
getIcmpStatCollectionMode
public IcmpStatCollectionMode getIcmpStatCollectionMode()
- Returns:
- the icmpStatCollectionMode
-
getIcmpTargets
public InetAddress[] getIcmpTargets()
- Returns:
- the icmpTargets
-
isIcmpStatisticsCollected
public boolean isIcmpStatisticsCollected()
Check if ICMP statistics is collected for this node.- Returns:
- true if ICMP statistics is collected for this node
-
getIcmpLastResponseTime
public int getIcmpLastResponseTime()
- Returns:
- the icmpLastResponseTime
-
getIcmpMinResponseTime
public int getIcmpMinResponseTime()
- Returns:
- the icmpMinResponseTime
-
getIcmpMaxResponseTime
public int getIcmpMaxResponseTime()
- Returns:
- the icmpMaxResponseTime
-
getIcmpAverageResponseTime
public int getIcmpAverageResponseTime()
- Returns:
- the icmpAverageResponseTime
-
getIcmpPacketLoss
public int getIcmpPacketLoss()
- Returns:
- the icmpPacketLoss
-
getInterfaceByIndex
public Interface getInterfaceByIndex(int ifIndex)
Get node's interface by interface index- Parameters:
ifIndex- interface index- Returns:
- corresponding interface object or null
-
getStrings
public Set<String> getStrings()
Description copied from class:AbstractObjectGet all strings in object- Overrides:
getStringsin classAbstractObject- Returns:
- set of all strings in object
- See Also:
AbstractObject.getStrings()
-
getRackOrientation
public RackOrientation getRackOrientation()
Description copied from interface:ElementForPhysicalPlacmentGet orientation of object in rack- Specified by:
getRackOrientationin interfaceElementForPhysicalPlacment- Returns:
- orientation of object in rack
- See Also:
org.netxms.client.objects.RackElement#getRackOrientation()
-
isAgentReachable
public boolean isAgentReachable()
Check node state flags for "agent unreachable" flag.- Returns:
- true if agent is reachable (flag is cleared)
-
isSnmpReachable
public boolean isSnmpReachable()
Check node state flags for "SNMP unreachable" flag.- Returns:
- true if SNMP is reachable (flag is cleared)
-
isSnmpSettingsLocked
public boolean isSnmpSettingsLocked()
Check node flags for "SNMP settings locked" flag.- Returns:
- true if SNMP settings are locked (flag is set)
-
isPingOnPrimaryIPEnabled
public boolean isPingOnPrimaryIPEnabled()
Check node flags for "Enable ICMP ping on primary IP" flag.- Returns:
- true if flag is set
-
getChassisPlacement
public ChassisPlacement getChassisPlacement()
Description copied from interface:ElementForPhysicalPlacmentGet chassis placement configuration- Specified by:
getChassisPlacementin interfaceElementForPhysicalPlacment- Returns:
- chassis placement configuration
- See Also:
ElementForPhysicalPlacment.getChassisPlacement()
-
-