Package org.netxms.client
Class AgentTunnel
java.lang.Object
org.netxms.client.AgentTunnel
Agent tunnel information
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAgentTunnel(NXCPMessage msg, long baseId) Create from NXCP message -
Method Summary
Modifier and TypeMethodDescriptionintGet active channel count for this tunnel.Get agent version.getGuid()Get tunnel globally unique identifier.byte[]Get node's hardware ID.Get node's hardware ID in text form.Get remote host name.intgetId()Get tunnel internal ID.longGet platform name for this agent's host.Get node's hardware serial number.intGet zone UIN for this agent.booleanCheck if agent proxy is enabled on this agent.booleanisBound()Check if tunnel is boundbooleanCheck if SNMP proxy is enabled on this agent.booleanCheck if SNMP trap proxy is enabled on this agent.booleanCheck if syslog proxy is enabled on this agentbooleanCheck if user agent is installed on remote system.toString()
-
Constructor Details
-
AgentTunnel
Create from NXCP message- Parameters:
msg- NXCP messagebaseId- 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
Get tunnel globally unique identifier.- Returns:
- tunnel globally unique identifier
-
getAddress
- Returns:
- the address
-
getNodeId
public long getNodeId()- Returns:
- the nodeId
-
getAgentId
- Returns:
- the agentId
-
getHardwareId
public byte[] getHardwareId()Get node's hardware ID.- Returns:
- node's hardware ID
-
getHardwareIdAsText
Get node's hardware ID in text form.- Returns:
- node's hardware ID in text form
-
getSerialNumber
Get node's hardware serial number.- Returns:
- node's hardware serial number
-
getCertificateExpirationTime
- Returns:
- the certificateExpirationTime
-
getConnectionTime
- Returns:
- the connectionTime
-
getSystemName
- Returns:
- the systemName
-
getSystemInformation
- Returns:
- the systemInformation
-
getPlatformName
Get platform name for this agent's host.- Returns:
- platform name for this agent's host
-
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
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
-