Stat value based on calculator

Good morning,

Is there a way to calculate a value (true/false) based on the following scenario, using data received by an SNMP walk on a network switch using Telegraf and an influxes backend.

Will the current copy process finish in time?

  1. There is 20TB of data to be transferred
  2. The transfer started on Sep 1, 2021
  3. It needs to be completed by Dec 1, 2021
  4. After x days, x data has been transferred and with the current transfer speed, it will make it or not

if ($currentTransferredData >= (20/80)*(Days since Aug 30))
{
$willMakeIt = true;
} else {
$willMakeIt = false;
}

This topic was automatically closed after 365 days. New replies are no longer allowed.