Class AgentTunnel


  • public class AgentTunnel
    extends Object
    Agent tunnel information
    • Constructor Detail

      • AgentTunnel

        protected AgentTunnel​(org.netxms.base.NXCPMessage msg,
                              long baseId)
        Create from NXCP message
        Parameters:
        msg - NXCP message
        baseId - base field ID
    • Method Detail

      • 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
      • 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 long 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
      • isUserAgentInstalled

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