summaryrefslogtreecommitdiffstats
path: root/health/guides/net/outbound_packets_dropped.md
blob: 49291d1d9b279dd67f62fa8fb9965ae63e7d548c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
### Understand the alert

This alert tracks the number of dropped outbound packets on a specific network interface (`${label:device}`) within the last 10 minutes. If you receive this alert, it means that your system has experienced dropped outbound packets in the monitored network interface, which might indicate network congestion or other issues affecting network performance.

### What are dropped packets?

Dropped packets refer to network packets that are discarded or lost within a computer network during transmission. In general, this can be caused by various factors, such as network congestion, faulty hardware, misconfigured devices, or packet errors.

### Troubleshoot the alert

1. Identify the affected network interface:

Check the alert message for the `${label:device}` placeholder. It indicates the network interface experiencing the dropped outbound packets.

2. Verify network congestion or excessive traffic:

Excessive traffic or network congestion can lead to dropped packets. To check network traffic, use the `nload` tool. If it isn't installed, you can follow the instructions given [here](https://www.howtoforge.com/tutorial/install-nload-on-linux/).

```bash
nload ${label:device}
```

This will display the current network bandwidth usage on the specified interface. Look for unusually high or fluctuating usage patterns, which could indicate congestion or excessive traffic.

3. Verify hardware issues:

Check the network interface and related hardware components (such as the network card, cables, and switches) for visible damage, loose connections, or other issues. Replace any defective components as needed.

4. Check network interface configuration:

Review your network interface configuration to ensure that it is correctly set up. To do this, you can use the `ip` or `ifconfig` command. For example:

```bash
ip addr show ${label:device}
```

or

```bash
ifconfig ${label:device}
```

Verify that the IP address, subnet mask, and other network settings match your network configuration.

5. Check system logs for networking errors:

Review your system logs to identify any networking error messages that might provide more information on the cause of the dropped packets.

```bash
grep -i "error" /var/log/syslog | grep "${label:device}"
```

6. Monitor your network for packet errors using tools like `tcpdump` or `wireshark`.

### Useful resources

1. [How to monitor network bandwidth and traffic in Linux](https://www.binarytides.com/linux-commands-monitor-network/)