Class AgentTunnel

java.lang.Object
org.netxms.client.AgentTunnel

public class AgentTunnel extends Object
Agent tunnel information
  • Constructor Details

    • AgentTunnel

      protected AgentTunnel(NXCPMessage msg, long baseId)
      Create from NXCP message
      Parameters:
      msg - NXCP message
      baseId - base field ID
  • Method Details

    • isBound

      public boolean isBound()
      Check if tunnel is bound
      Returns:
      true if tunnel is bound
    • getId

      public int getId()
      Get tunnel internal ID.
      Returns:
      tunnel internal ID
    • getGuid

      public UUID getGuid()
      Get tunnel globally unique identifier.
      Returns:
      tunnel globally unique identifier
    • getAddress

      public InetAddress getAddress()
      Returns:
      the address
    • getNodeId

      public long getNodeId()
      Returns:
      the nodeId
    • getAgentId

      public UUID getAgentId()
      Returns:
      the agentId
    • getHardwareId

      public byte[] getHardwareId()
      Get node's hardware ID.
      Returns:
      node's hardware ID
    • getHardwareIdAsText

      public String getHardwareIdAsText()
      Get node's hardware ID in text form.
      Returns:
      node's hardware ID in text form
    • getSerialNumber

      public String getSerialNumber()
      Get node's hardware serial number.
      Returns:
      node's hardware serial number
    • getCertificateExpirationTime

      public Date getCertificateExpirationTime()
      Returns:
      the certificateExpirationTime
    • getConnectionTime

      public Date getConnectionTime()
      Returns:
      the connectionTime
    • getSystemName

      public String getSystemName()
      Returns:
      the systemName
    • getSystemInformation

      public String getSystemInformation()
      Returns:
      the systemInformation
    • getPlatformName

      public String getPlatformName()
      Get platform name for this agent's host.
      Returns:
      platform name for this agent's host
    • getAgentVersion

      public String getAgentVersion()
      Get agent version.
      Returns:
      agent version
    • getZoneUIN

      public int getZoneUIN()
      Get zone UIN for this agent. For unbound tunnels it is zone UIN set in agent's configuration file.
      Returns:
      zone UIN for this agent
    • getActiveChannelCount

      public int getActiveChannelCount()
      Get active channel count for this tunnel.
      Returns:
      active channel count for this tunnel
    • getHostname

      public String getHostname()
      Get remote host name.
      Returns:
      remote host name
    • isAgentProxy

      public boolean isAgentProxy()
      Check if agent proxy is enabled on this agent.
      Returns:
      true if agent proxy is enabled on this agent
    • isSnmpProxy

      public boolean isSnmpProxy()
      Check if SNMP proxy is enabled on this agent.
      Returns:
      true if SNMP proxy is enabled on this agent
    • isSnmpTrapProxy

      public boolean isSnmpTrapProxy()
      Check if SNMP trap proxy is enabled on this agent.
      Returns:
      true if SNMP trap proxy is enabled on this agent
    • isSyslogProxy

      public boolean isSyslogProxy()
      Check if syslog proxy is enabled on this agent
      Returns:
      true if syslog proxy is enabled on this agent
    • isUserAgentInstalled

      public boolean isUserAgentInstalled()
      Check if user agent is installed on remote system.
      Returns:
      true if user agent is installed on remote system
    • toString

      public String toString()
      Overrides:
      toString in class Object