Quick Checks
Overview
To provide you with effective and timely support for NethVoice on NS8, we need a minimum set of diagnostic information.
Without these details, it is not possible to perform an accurate analysis.
Please describe in as much detail as possible the network conditions of any devices external to NethVoice — such as phones, media gateways, DECT base stations, routers, or separate networks not directly configured on NethServer interfaces.
Step 1 – Check System Resource Usage
Before opening a support ticket, check system performance to rule out resource-related issues. The commands below show a quick snapshot of CPU, memory and disk usage — instead of attaching files, copy and paste the terminal output into your ticket body inside triple backticks so support can read it quickly.
Run these commands as root and copy-paste their output. Example commands and how to paste them safely into a ticket:
# snapshot of processes and realtime load (non-interactive)
top -b -n 1
# disk usage (human readable)
df -h
# memory usage, including swap (human readable)
free -h
How to paste into the ticket (recommended):
- Run the command on the server.
- Select the full output in your terminal and copy it.
What to look for:
- Load / CPU: check the "load average" values in
top(first line). A load significantly higher than the number of CPU cores may indicate CPU pressure. Insidetop, look for processes using high %CPU. - Memory:
free -hshows used and available memory and swap. Persistent high swap usage suggests memory exhaustion. - Disk:
df -hshows filesystem usage. Pay attention to the partition where/varand/var/loglive — if they are full, services may fail or logs may be truncated.
Quick inspection commands (run and copy-paste their outputs):
# top-like list of top CPU processes
ps aux --sort=-%cpu | head -n 10
# biggest directories in /var (helpful if logs fill disk)
du -sh /var/* | sort -h | tail -n 20
If you still prefer attaching files, please compress them first, but copy-pasting the command outputs in the ticket body is preferred and usually quicker for support to inspect.
Suggested immediate remediation steps (if you find problems):
- High CPU by a specific process: investigate that process (check its logs, consider restarting it if safe).
- Low available memory / high swap: consider restarting memory-heavy services or provisioning more RAM; check for memory leaks.
- Full filesystem: remove or rotate old logs, clear temporary files, or increase disk capacity.
Collecting these snapshots before and after reproducing the issue helps support identify transient vs persistent problems.
Step 2 – Verify Network Configuration
To ensure the network configuration is correct, check network interfaces and routing tables:
ip a
ip r
These outputs will help you confirm that:
- All required interfaces are up.
- Routing tables are properly configured.
A valid and consistent network setup is critical for VoIP and SIP communication.
Step 3 – Collect Asterisk Logs
Logs are essential to understand what happens at the moment of the issue.
Follow these steps to collect Asterisk logs:
-
Connect to the NS8 cluster via SSH.
-
Identify the NethVoice module name with:
loginctl list-users | grep nethvoiceFor example, the module might be called
nethvoice1. -
Access the module environment:
runagent -m nethvoiceXReplace
nethvoiceXwith the correct instance name. -
Launch the Asterisk CLI in verbose mode:
asterisk -rvvvvvv -
Reproduce the issue.
-
Copy the relevant log output and save it into a text file.
-
Attach that file to your support ticket.
Tip: Try to capture logs immediately before, during, and after the malfunction to provide full context.
Step 4 – Capture SIP Traffic (Using SNGREP)
To complement log analysis, you can also capture SIP traffic with SNGREP.
Run a capture
From the cluster, as root:
sngrep -r
If the command is not recognized, it means SNGREP is not installed. See how to install SNGREP.
Once the capture is complete:
- Save the capture file.
- Transfer it from the cluster to your local machine using an SCP client (for example, WinSCP on Windows).
- Attach the capture file to your support ticket.
For a complete guide on how to use SNGREP for traffic analysis, refer to the SNGREP troubleshooting guide.
Summary
Before requesting support for NethVoice, ensure you:
- Verify system resources (
top,df -h,free -h) - Check network interfaces and routing (
ip a,ip r) - Collect Asterisk logs during the issue
- Capture SIP traffic with SNGREP
Providing this information enables faster, more accurate diagnostics and helps the support team identify the root cause efficiently.