Network interface errors (dropped packets, collisions, buffer overruns) often precede or accompany more visible connectivity problems — this guide covers monitoring these low-level indicators proactively.
Why Interface-Level Errors Matter
Application-level symptoms (slow responses, occasional failures) are sometimes downstream effects of underlying network interface problems — catching interface-level errors early can help diagnose root causes faster, or catch degrading hardware/configuration before it causes more visible user-facing issues.
Checking Current Interface Statistics
ip -s link show eth0
Shows RX/TX packet counts alongside error counts, dropped packets, and other statistics — a snapshot view; genuinely useful monitoring requires tracking these over time, not just a one-off check.
Understanding Key Error Types
| Statistic | Meaning |
|---|---|
| errors | General receive/transmit errors |
| dropped | Packets dropped, often due to buffer exhaustion |
| overruns | Receiver couldn't keep up with incoming packet rate |
| collisions | Relevant mainly for older half-duplex network setups, rare on modern infrastructure |
Exporting Interface Metrics to Prometheus
node_network_receive_errs_total{device="eth0"}
node_network_transmit_errs_total{device="eth0"}
node_network_receive_drop_total{device="eth0"}
See How to Set Up Prometheus and Grafana for VPS Monitoring — Node Exporter automatically exposes these interface-level metrics, letting you track trends over time rather than relying on manual periodic checks.
Setting Up an Alert on Elevated Error Rates
groups:
- name: network
rules:
- alert: HighNetworkErrors
expr: rate(node_network_receive_errs_total[5m]) > 10
for: 5m
annotations:
summary: "Elevated network interface errors on {{ $labels.instance }}"
See How to Set Up Effective Server Alerting (Without Alert Fatigue) for the general alerting pattern — a sudden increase in interface errors, even without an obvious user-facing symptom yet, warrants investigation.
Correlating Interface Errors with Application Symptoms
When investigating an intermittent application-level issue, check interface error trends for the same time window — a correlation (errors spiking alongside application slowness) points toward a network-level root cause rather than purely an application-level one.
Distinguishing Host-Level from Provider Infrastructure Issues
On a VPS, some interface-level issues may originate from the underlying host infrastructure rather than anything you directly control — if error trends are genuinely unexplained by your own configuration/traffic patterns, this is worth raising with your provider, since it may indicate an infrastructure-level issue.
Monitoring for Specific Hardware/Virtualization-Related Symptoms
Persistent, unexplained interface errors on virtualized infrastructure occasionally indicate underlying hypervisor/host issues beyond your VPS's own configuration — a pattern worth documenting and sharing with support if it persists despite your own configuration being correct.
Setting a Reasonable Baseline
Some baseline error rate is normal on most networks — establish your genuine normal baseline over time before setting alert thresholds, rather than alerting on any error occurrence at all, which would likely generate excessive noise.
Common Errors
High dropped packet count with otherwise normal-seeming connectivity — often indicates receive buffer exhaustion during traffic bursts; consider whether buffer tuning (see general network performance tuning) or addressing the underlying traffic pattern is warranted.
Continue Reading
- How to Set Up Prometheus and Grafana for VPS Monitoring
- How to Diagnose Network Packet Loss on a VPS
- How to Set Up Effective Server Alerting (Without Alert Fatigue)
Browse more articles in Advanced Networking & VPN.