Ping Timing
Various nodes are pinged at various intervals to sample network response times and packet loss.
The pinging algorithm is always
the same. Ping once to resolve the name and gain some informaton
about the node, then ping 5 times with an 100 byte packet and
5 times with a 1000 byte packet. The response time and packet loss
information is collected and saved in a data file.
Once a day an analysis of the data is performed and various tables and
graphs are produced.
See the pingroute
documentation
for information on how a user can use these utilities to check out a route to
a node.
The following are programs used to generate the ping stats:
- /usr/local/netdata/timing/src/add_ip
- This script adds the IP address to nodes names for which the name
server was unable to resolve.
- /usr/local/netdata/timing/src/anal
- This script analyzes and totals the data gathered by the timeping
script.
- /usr/local/netdata/timing/src/csrpt
- This script summaraizes the ping stats for specified devices on a
specified day.
- /usr/local/netdata/timing/src/day_analysis
- This script summaraizes the daily ping information for each node requested for the date range requested.
- /usr/local/netdata/timing/src/make_raw
- This script retrieves the ping information for a set of nodes on a
given day.
- /usr/local/netdata/timing/src/make_raw_data
- This script creates a file that contains only the raw ping data.
- /usr/local/netdata/timing/src/month2html
- This script creates an html page from the monthly ping analysis data
for display on the World Wide Web.
- /usr/local/netdata/timing/src/month_analysis
- This script passes the raw ping data from a specified month to the
anal script to have the data totaled.
- /usr/local/netdata/timing/src/ping2html
- This script converts the ping data to an html page for use on the
World Wide Web.
- /usr/local/netdata/timing/src/pinganalysis
- This script passes the raw ping data from a specified date to the
anal script to have the data totaled.
- /usr/local/netdata/timing/src/show-packet-loss
- This script dumps the packet loss info for a specified device and
date.
- /usr/local/netdata/timing/src/timeping
- This script pings the nodes from a supplied list of node names and
saves the raw data to the appropriate file for later use.