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

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

Moderators: Developers, Moderators

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

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

Post by khalilmeb »

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: 82
Joined: Wed Mar 01, 2017 2:34 pm

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

Post by tertius »

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

Post by khalilmeb »

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

Who is online

Users browsing this forum: No registered users and 1 guest