How to monitor the packet loss and Netstat of Linux Servers?

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Moderators, Developers

Post Reply
Author
Message
khalilmeb
Posts: 12
Joined: Thu Jun 20, 2019 9:20 am

How to monitor the packet loss and Netstat of Linux Servers?

#1 Post by khalilmeb » Mon Jul 01, 2019 7:51 am

I'm testing my network infrastructure where I'm using iPerf and UDP protocol.

I'm running Cacti an open-source, web-based network monitoring and graphing. SNMP server is enabled in Linux servers.

First of all, so far, Cacti is able to monitor all template's graphs which are already there (e.g., Memory, CPU, Average Load, Interface Statistics) But I could not find the graph for Packet loss graph for the Interface. It should be like in Cisco Router In/Out Errors/Discarded Packets but maybe with different notation. Does anybody have an idea?

Secondly, this is what Netstat -s shows:

Code: Select all

Udp:
    1354844 packets received
    0 packets to unknown port received.
    5854 packet receive errors
    1360713 packets sent
    RcvbufErrors: 5854
I want to graph the sent, received packets and the packet receive errors Is that possible with SNMP NETSTAT.In another term, I want to plot the UDP packet loss If so, may you show me how?

tertius
Cacti User
Posts: 71
Joined: Wed Mar 01, 2017 2:34 pm

Re: How to monitor the packet loss and Netstat of Linux Serv

#2 Post by tertius » Mon Jul 01, 2019 12:23 pm

I assume it's already there. There is a "In/Out Errors/Discarded packets" graph type for an interface. In the view of a device, click on "Create graphs for this device", scroll to the bottom to the "Data Query [SNMP - Interface statistics]" and choose the graph type on the bottom right of the page.

khalilmeb
Posts: 12
Joined: Thu Jun 20, 2019 9:20 am

Re: How to monitor the packet loss and Netstat of Linux Serv

#3 Post by khalilmeb » Wed Jul 03, 2019 6:06 am

tertius wrote:I assume it's already there. There is a "In/Out Errors/Discarded packets" graph type for an interface. In the view of a device, click on "Create graphs for this device", scroll to the bottom to the "Data Query [SNMP - Interface statistics]" and choose the graph type on the bottom right of the page.
Not for linux, this "In/Out Errors/Discarded packets" is for Cicso Routers

Post Reply