org.netxms.client.objects
Class Node

java.lang.Object
  extended by org.netxms.client.objects.GenericObject
      extended by org.netxms.client.objects.Node

public class Node
extends GenericObject

This class represents NetXMS NODE objects.


Field Summary
static int AGENT_AUTH_MD5
           
static int AGENT_AUTH_NONE
           
static int AGENT_AUTH_PLAINTEXT
           
static int AGENT_AUTH_SHA1
           
static int IFXTABLE_DEFAULT
           
static int IFXTABLE_DISABLED
           
static int IFXTABLE_ENABLED
           
static int NDF_AGENT_UNREACHABLE
           
static int NDF_CPSNMP_UNREACHABLE
           
static int NDF_POLLING_DISABLED
           
static int NDF_SNMP_UNREACHABLE
           
static int NDF_UNREACHABLE
           
static int NF_BEHIND_NAT
           
static int NF_DISABLE_CONF_POLL
           
static int NF_DISABLE_DATA_COLLECT
           
static int NF_DISABLE_DISCOVERY_POLL
           
static int NF_DISABLE_ICMP
           
static int NF_DISABLE_NXCP
           
static int NF_DISABLE_ROUTE_POLL
           
static int NF_DISABLE_SNMP
           
static int NF_DISABLE_STATUS_POLL
           
static int NF_DISABLE_TOPOLOGY_POLL
           
static int NF_FORCE_ENCRYPTION
           
static int NF_HAS_ENTITY_MIB
           
static int NF_HAS_IFXTABLE
           
static int NF_HAS_VLANS
           
static int NF_IS_8021X
           
static int NF_IS_BRIDGE
           
static int NF_IS_CDP
           
static int NF_IS_CPSNMP
           
static int NF_IS_LLDP
           
static int NF_IS_LOCAL_MGMT
           
static int NF_IS_NATIVE_AGENT
           
static int NF_IS_OSPF
           
static int NF_IS_PRINTER
           
static int NF_IS_ROUTER
           
static int NF_IS_SNMP
           
static int NF_IS_SONMP
           
static int NF_IS_STP
           
static int NF_IS_VRRP
           
static int SNMP_VERSION_1
           
static int SNMP_VERSION_2C
           
static int SNMP_VERSION_3
           
 
Fields inherited from class org.netxms.client.objects.GenericObject
CALCULATE_DEFAULT, CALCULATE_MOST_CRITICAL, CALCULATE_MULTIPLE_THRESHOLDS, CALCULATE_SINGLE_THRESHOLD, childs, customAttributes, OBJECT_AGENTPOLICY, OBJECT_AGENTPOLICY_CONFIG, OBJECT_BUSINESSSERVICE, OBJECT_BUSINESSSERVICEROOT, OBJECT_CLUSTER, OBJECT_CONDITION, OBJECT_CONTAINER, OBJECT_DASHBOARD, OBJECT_DASHBOARDROOT, OBJECT_GENERIC, OBJECT_INTERFACE, OBJECT_NETWORK, OBJECT_NETWORKMAP, OBJECT_NETWORKMAPGROUP, OBJECT_NETWORKMAPROOT, OBJECT_NETWORKSERVICE, OBJECT_NODE, OBJECT_NODELINK, OBJECT_POLICYGROUP, OBJECT_POLICYROOT, OBJECT_REPORT, OBJECT_REPORTGROUP, OBJECT_REPORTROOT, OBJECT_SERVICEROOT, OBJECT_SLMCHECK, OBJECT_SUBNET, OBJECT_TEMPLATE, OBJECT_TEMPLATEGROUP, OBJECT_TEMPLATEROOT, OBJECT_VPNCONNECTOR, OBJECT_ZONE, parents, PROPAGATE_DEFAULT, PROPAGATE_FIXED, PROPAGATE_RELATIVE, PROPAGATE_TRANSLATED, PROPAGATE_UNCHANGED, session, STATUS_CRITICAL, STATUS_DISABLED, STATUS_MAJOR, STATUS_MINOR, STATUS_NORMAL, STATUS_TESTING, STATUS_UNKNOWN, STATUS_UNMANAGED, STATUS_WARNING
 
Constructor Summary
Node(NXCPMessage msg, NXCSession session)
           
 
Method Summary
 int getAgentAuthMethod()
           
 int getAgentPort()
           
 java.lang.String getAgentSharedSecret()
           
 java.lang.String getAgentVersion()
           
 MacAddress getBridgeBaseAddress()
           
 java.lang.String getDriverName()
           
 java.lang.String getDriverVersion()
           
 int getFlags()
           
 int getIfXTablePolicy()
           
 java.lang.String getLldpNodeId()
           
 int getNodeType()
           
 java.lang.String getObjectClassName()
           
 java.lang.String getPlatformName()
           
 long getPollerNodeId()
           
 java.lang.String getPrimaryName()
           
 long getProxyNodeId()
           
 int getRequredPollCount()
           
 int getRuntimeFlags()
           
 int getSnmpAuthMethod()
          Get SNMP authentication method
 java.lang.String getSnmpAuthName()
          Get SNMP authentication name - community string for version 1 and 2c, or user name for version 3.
 java.lang.String getSnmpAuthPassword()
          Get SNMP authentication password.
 java.lang.String getSnmpOID()
           
 int getSnmpPort()
           
 int getSnmpPrivMethod()
          Get SNMP privacy (encryption) method
 java.lang.String getSnmpPrivPassword()
          Get SNMP privacy password.
 long getSnmpProxyId()
           
 java.lang.String getSnmpSysName()
           
 int getSnmpVersion()
           
 java.lang.String getSystemDescription()
           
protected  int getVrrpVersion()
           
 long getZoneId()
           
 boolean hasAgent()
           
 boolean hasSnmpAgent()
           
 boolean is8021xSupported()
           
 boolean isEntityMibSupported()
           
 boolean isIfXTableSupported()
           
 boolean isManagementServer()
           
 boolean isSpanningTreeSupported()
           
 boolean isVrrpSupported()
           
 
Methods inherited from class org.netxms.client.objects.GenericObject
getAccessList, getAllChilds, getChildIdList, getChilds, getChildsAsArray, getComments, getCustomAttributes, getFixedPropagatedStatus, getGeolocation, getGuid, getImage, getNumberOfChilds, getNumberOfParents, getObjectClass, getObjectId, getObjectName, getParentIdList, getParents, getParentsAsArray, getPrimaryIP, getStatus, getStatusCalculationMethod, getStatusPropagationMethod, getStatusShift, getStatusSingleThreshold, getStatusThresholds, getStatusTransformation, getSubmapId, getTrustedNodes, hashCode, isChildOf, isChildOf, isDefaultImage, isDeleted, isDirectChildOf, isInheritAccessRights, setSession
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SNMP_VERSION_1

public static final int SNMP_VERSION_1
See Also:
Constant Field Values

SNMP_VERSION_2C

public static final int SNMP_VERSION_2C
See Also:
Constant Field Values

SNMP_VERSION_3

public static final int SNMP_VERSION_3
See Also:
Constant Field Values

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

NF_IS_SNMP

public static final int NF_IS_SNMP
See Also:
Constant Field Values

NF_IS_NATIVE_AGENT

public static final int NF_IS_NATIVE_AGENT
See Also:
Constant Field Values

NF_IS_BRIDGE

public static final int NF_IS_BRIDGE
See Also:
Constant Field Values

NF_IS_ROUTER

public static final int NF_IS_ROUTER
See Also:
Constant Field Values

NF_IS_LOCAL_MGMT

public static final int NF_IS_LOCAL_MGMT
See Also:
Constant Field Values

NF_IS_PRINTER

public static final int NF_IS_PRINTER
See Also:
Constant Field Values

NF_IS_OSPF

public static final int NF_IS_OSPF
See Also:
Constant Field Values

NF_BEHIND_NAT

public static final int NF_BEHIND_NAT
See Also:
Constant Field Values

NF_IS_CPSNMP

public static final int NF_IS_CPSNMP
See Also:
Constant Field Values

NF_IS_CDP

public static final int NF_IS_CDP
See Also:
Constant Field Values

NF_IS_SONMP

public static final int NF_IS_SONMP
See Also:
Constant Field Values

NF_IS_LLDP

public static final int NF_IS_LLDP
See Also:
Constant Field Values

NF_IS_VRRP

public static final int NF_IS_VRRP
See Also:
Constant Field Values

NF_HAS_VLANS

public static final int NF_HAS_VLANS
See Also:
Constant Field Values

NF_IS_8021X

public static final int NF_IS_8021X
See Also:
Constant Field Values

NF_IS_STP

public static final int NF_IS_STP
See Also:
Constant Field Values

NF_HAS_ENTITY_MIB

public static final int NF_HAS_ENTITY_MIB
See Also:
Constant Field Values

NF_HAS_IFXTABLE

public static final int NF_HAS_IFXTABLE
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_STATUS_POLL

public static final int NF_DISABLE_STATUS_POLL
See Also:
Constant Field Values

NF_DISABLE_CONF_POLL

public static final int NF_DISABLE_CONF_POLL
See Also:
Constant Field Values

NF_DISABLE_ROUTE_POLL

public static final int NF_DISABLE_ROUTE_POLL
See Also:
Constant Field Values

NF_DISABLE_DATA_COLLECT

public static final int NF_DISABLE_DATA_COLLECT
See Also:
Constant Field Values

NDF_UNREACHABLE

public static final int NDF_UNREACHABLE
See Also:
Constant Field Values

NDF_AGENT_UNREACHABLE

public static final int NDF_AGENT_UNREACHABLE
See Also:
Constant Field Values

NDF_SNMP_UNREACHABLE

public static final int NDF_SNMP_UNREACHABLE
See Also:
Constant Field Values

NDF_CPSNMP_UNREACHABLE

public static final int NDF_CPSNMP_UNREACHABLE
See Also:
Constant Field Values

NDF_POLLING_DISABLED

public static final int NDF_POLLING_DISABLED
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
Constructor Detail

Node

public Node(NXCPMessage msg,
            NXCSession session)
Parameters:
msg -
Method Detail

getFlags

public int getFlags()
Returns:
Flags

getRuntimeFlags

public int getRuntimeFlags()
Returns:
Runtime flags

getNodeType

public int getNodeType()
Returns:
the nodeType

getRequredPollCount

public int getRequredPollCount()
Returns:
the requredPollCount

getPollerNodeId

public long getPollerNodeId()
Returns:
the pollerNodeId

getProxyNodeId

public long getProxyNodeId()
Returns:
the proxyNodeId

getSnmpProxyId

public long getSnmpProxyId()
Returns:
the snmpProxyId

getAgentPort

public int getAgentPort()
Returns:
the agentPort

getAgentAuthMethod

public int getAgentAuthMethod()
Returns:
the agentAuthMethod

getAgentSharedSecret

public java.lang.String getAgentSharedSecret()
Returns:
the agentSharedSecret

getAgentVersion

public java.lang.String getAgentVersion()
Returns:
the agentVersion

getPlatformName

public java.lang.String getPlatformName()
Returns:
the platformName

getSnmpAuthName

public java.lang.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 java.lang.String getSnmpOID()
Returns:
the snmpOID

getSnmpVersion

public int getSnmpVersion()
Returns:
the snmpVersion

getSystemDescription

public java.lang.String getSystemDescription()
Returns:
the systemDescription

getObjectClassName

public java.lang.String getObjectClassName()
Overrides:
getObjectClassName in class GenericObject
Returns:
Name of NetXMS object's class

getSnmpAuthPassword

public java.lang.String getSnmpAuthPassword()
Get SNMP authentication password.

Returns:
SNMP authentication password

getSnmpPrivPassword

public java.lang.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 ENTITY-MIB

getSnmpPort

public int getSnmpPort()
Returns:
the snmpPort

getSnmpSysName

public java.lang.String getSnmpSysName()
Returns:
the snmpSysName

getLldpNodeId

public java.lang.String getLldpNodeId()
Returns:
the lldpNodeId

getVrrpVersion

protected int getVrrpVersion()
Returns:
the vrrpVersion

getDriverName

public java.lang.String getDriverName()
Returns:
the driverName

getDriverVersion

public java.lang.String getDriverVersion()
Returns:
the driverVersion

getZoneId

public long getZoneId()
Returns:
the zoneId

getBridgeBaseAddress

public MacAddress getBridgeBaseAddress()
Returns:
the bridgeBaseAddress

getIfXTablePolicy

public int getIfXTablePolicy()
Returns:
the ifXTablePolicy

getPrimaryName

public java.lang.String getPrimaryName()
Returns:
the primaryName


Copyright © 2012. All Rights Reserved.