Information on the SLAC Ethermeter Data Collection
The ethermeter data collection is driven by a crontab entry in
/usr/local/netdata/crontabs/cronlist.peleus*.
It is performed once an hour.
Since the list of
active* ethermeters is dynamic, it is fetched
from CANDO at various times during the day.
The ethermeters'
configuration* information is fetched daily at 8:15am
from the network itself.
Currently the data is collected and graphed once an hour. Plots
are generated hourly during each day for:
traffic volume*, and
errors*.
The analysis for yesterdays
traffic*
and
error*
statistics is run between 12-6 am every moning.
The graphs for yesterday,
weekly, and fortnightly timespans are produced between 3 and 8 am daily.
In the analysis, certain data values which exceed
thresholds
are flagged as alerts, and are extracted for the Daily Summaries.
The following are programs used to generate the ethermeter stats:
- /usr/local/netdata/emeters/ckparam
- This script is used to check the current parameters in the ethermeters.
- /usr/local/netdata/emeters/ckrev
- This script is used to check the current ethermeter firmware revisions.
- /usr/local/netdata/emeters/em2html
- This script is used to convert the daily ethermeter report to html for
World Wide Web display.
- /usr/local/netdata/emeters/fe
- This script generates a protocol analysis from the ethermeters.
- /usr/local/netdata/emeters/fetch_ifs
- This script is used to fetch the interface stats.
- /usr/local/netdata/emeters/fetch_peak
- This script is used to fetch the peak stats.
- /usr/local/netdata/emeters/makeutil
- This script formats the summary data for processing by the script that makes the tabular report.
- /usr/local/netdata/emeters/prosum
- This script summarizes the protocol analysis of the ethermeters.
- /usr/local/netdata/emeters/sum-emeter-data
- This script calculates the total number of packets and kilobytes per second for each ethermeter.
Footnote: * indicates that the page can only be viewed from SLAC nodes.