Hello,
I would like to make a summary of periodic traffic activity (per month / per year). In the device port details, I can get only average traffic values on periodic graphs. For some reasons, I would like to record the number of maximum traffic peaks and what is the maximum peak value we got in a specicic period range.
How can I do that ? (Treshold rules ?)
Regards,
Ludovic FOUR Faculté de Pharmacie Strasbourg - Support Informatique France
On Mon, 15 May 2023 10:48:45 +0200 (CEST) "FOUR Ludovic (EXT)" ludovic.four@unistra.fr wrote:
I would like to make a summary of periodic traffic activity (per month / per year). In the device port details, I can get only average traffic values on periodic graphs.
For some reasons, I would like to record the number of maximum traffic peaks and what is the maximum peak value we got in a specicic period range.
How can I do that ? (Treshold rules ?)
That depends entirely on what you mean by "summary of periodic traffic activity". Do you want hard numbers or graphs? Do you want one report for each port or a report that spans multiple ports/devices?
Threshold rules are only useful to trigger alerts/notifications when some arbitrary Graphite metric crosses some defined threshold. E.g. you can use them to get a notification when a link is saturated (let's say, reaches 90% of capacity). They are useless if what you need is a report of hard numbers per month/year.
NAV stores the raw octet counter values for each port (ifHCInOctets/ifHCOutOctets) into Graphite metrics, and it does so at 5 minute intervals. The default storage retention schema for this data in NAV's example `storage-schemas.conf` is `300s:7d, 30m:12d, 2h:50d, 1d:600d`. I.e. it stores 5 minute data points for the last 7 days, then aggregates to one data point per 30 mionutes for the last 12 days, one data point per 2 hours for the last 50 days and a single data point per day for the last 600 days.
All this data can be queried directly from Graphite however you like. For general purpose and highly flexible graphing and dashboards of Graphite data, I would recommend using Grafana as a frontend