You can run Diagnostics in the Controller from Troubleshoot > Diagnostics > Gateway > Diagnostics.
- Select a gateway to run diagnostics and click Run.
- When it finishes, click Show to display on the console.
- Click Submit to send the diagnostics results to the Aviatrix support team.
Diagnostic Result
Controller Output
Indicates Controller status. The SSH service port 22 status “Down” is expected as you are not allowed to connect the ssh port to the Controller or gateways.Gateway Output
Indicates Gateway port 22 and 443 status. Expected value: Up and reachable. If not, please make sure the gateway has its security group port 22 & 443 open to the Controller’s EIP in AWS console. It’s expected that SSH port 22 is reachable as the Controller will use the port to do diagnostics on the Gateway. Make sure HTTPS port 443 is reachable in this section since it indicates that the Controller is able to reach the Gateway for configuration and software package delivery.Upload Output
Indicates that Aviatrix Controller is able to upload files to the gateway. Expected value: Pass If it fails, please check that port 443 is open in both security group and VPC ACL between the Controller and the gateway instance in the AWS console.DNS Service
Indicates DNS service status and related configuration on the gateway. Default nameserver: 8.8.8.8NTP Config
Indicates NTP config.Default server: 169.254.169.123
DNS Resolution
HTTPS GET
Indicates connectivity for HTTPS request from gateway to the controller. Expected value: Pass if GW can communicate with Controller without issue. When It shows “Fail” please check both Controller and Gateway security group. You can also check if the Controller has its security group port 443 open to the gateway’s EIP in the AWS console.Supervisorctl Status
Indicates the supervisor status. All services should be in RUNNING state except local_launch. rtmon is the monitor process for Transit and Spoke Gateway, the status should be running when in transit or spoke gateway. The state can be FATAL in other type of gateway.MsgQueue Output
- Indicates AWS SQS message queue status.
- ApproximateNumberOfMessages indicates the number of pending messages in the queue.
- Expected value is 0. If this value is not 0, it means there’s issue on the AWS SQS Service, please update your IAM policy (refer to IAM Policy and check if the DNS resolution passed on the gateway.) You may also check if this SQS queue is still in your AWS SQS Service or the IAM policy is correctly attached on the Gateway.
Route Output
- Indicates the route table on the gateway.
- tun0 is the interface for OpenVPN
- tun-xxx is the interface Transit-Spoke connection
IP Rule Output
N/AIP Route Main Output
N/Aiptables Output
- Indicates Stateful firewall configuration
- Mainly used for debugging
iptables nat Output
- Indicates NAT configuration.
- Mainly used for debugging.
Controller version 7.1.3956 is the last version that supports CloudN. CloudN is being replaced by Aviatrix Edge. For more information, contact your account team.
iptables mangle Output
- Indicates iptables mangle configuration.
- For debugging purpose.
ipset Output
N/AIPlink Output
- Indicates the ip link status of the gateway.
- Status should be UP.
ifconfig Output
- Indicates gateway’s interfaces.
- There should be very limit number of TX and RX errors/dropped.
- If there are a lot of TX errors or dropped in tun0, it may be due to authentication mismatch on the tunnel.
Processes
N/A- Indicates IKE daemon service and port status
- Default: Up for all
Top mem processes
- Indicates the memory and CPU usage of the gateway.
- The memory usage of processes (first column) is changing dynamically and the overall usage should be lower than 50%
- Mainly used for debugging
Sysinfo CPU Output
N/AKernel Output
N/AUptime Output
- Indicates Uptime of the gateway.
- Indicates the time that the system has been working and available.
Reboot History
- Indicates Reboot History of the gateway.
- It shows the date/time of gateway reboot history.
Memory Output
- Shows current memory usage
- If memory is lower than 95%, you will receive an warning email to indicate the memory threshold is passed. You can increase the instance size to have more available memory.
File System
N/ASoftware Version
N/AEC2 Instance Metadata
- Indicates EC2 Instance Metadata status.
- Aviatrix support will need AMI ID and instance type and other EC2 metadata for debugging purpose.
VPN Service Output
- Indicates OpenVPN service status.
- Status is down if the gateway is a non SSLVPN gateway.
- For SSLVPN gateway with ELB enabled, port 943 should be UP and the gateway’s security group has default port 943 open to 0.0.0.0/0 to accept remote user connection.
- For SSLVPN gateway with ELB disabled, port 1194 should be UP and the gateway’s security group has default port 1194 open to 0.0.0.0/0 to accept remote user connection.
VPN Status Output
- Indicates the VPN configuration status. Expected value: Pass
Auth Config
- Indicates the authentication method configured on the VPN gateway.
Server Cert Output
N/AFiles Not Found
N/AFQDN Output
- Indicates the Egress FQDN Filtering (Legacy) status
- Status is active when Egress FQDN Filtering is enabled.
- Status is inactive when Egress FQDN Filtering is disabled or failed.
Hostname-filter Report
- Indicates the Hostname filter configuration.
Hostname-filter Status
- Indicates Hostname-filter service status
- Default: inactive
SpanPort Output
- Currently not used.
Ulimit Output
N/AServices Status Output
Indicates logging service status.mpm_prefork Output
N/ACIS Patch Output
N/ASW Patch status
- Indicates Software status
- The patches are good to apply. Aviatrix uses the patch process to address vulnerabilities that are not part of an upgrade.