1

I'm looking for some software to monitor packet loss or packet retries. Preferably something that continuously monitors vs. a testing approach and preferably free.

My server's OS is debian. I'm not sure if wireshark can do this since I don't have access to a graphical interface on my server, only text/SSH.

Any suggestion please ?

quanta
  • 52,423
Joel
  • 195

3 Answers3

5

Take a look at SmokePing.

quanta
  • 52,423
2

You could use a tool that generates ICMP Echo requests and monitor their feedback.

But if you wanted to see how your actual applications are responding you can watch the output of netstat -s -p tcp, the section for "packets sent" should have a "retransmitted" counter, indicating dropped packets that needed to be retransmitted (it would also show packets unnecessarily retransmitted, but should have another counter for these exclusively as well, which would indicate latency problems rather than outright dropped packets).

Chris S
  • 78,455
1

Packet retransmits can be captured via SNMP if the application provides that information. You may be able to get to it using MIB-2 (the standard host mib), but looking at it now it looks like it only includes errors and discarded packets - I don't see anything indicating loss. The process itself would need to provide that information somehow, or give you a protocol that monitors a separate protocol (kind of how RTCP monitors RTP).

TCP retransmits can be monitored with OID 1.3.6.1.2.1.6.12, but that will be system wide for all interfaces.

What exactly are you trying to monitor? That may be helpful.

Matthew
  • 2,757