I have asked to output as necessary, and here are the details:
I see this difference between the fileoutput and influxdboutput at this timestamp:
influxdoutput: 1524818640000000000 12197298932002
filoutput: 1524818640000000000 13007685030421
I am not sure, on how influxdb received 12197298932002 as the value, when it is supposed to receive 13007685030421.
The query on Grafana, for trend graph:
SELECT non_negative_derivative(sum(bytes_sent), 1s) as “sent bytes/sec” FROM net WHERE “cluster” =~ /^cluster/ AND role =~ /^role/ AND interface != ‘all’ AND interface !~ /^bond/ AND interface !~ /^br/ AND interface !~ /^vnet/ AND $timeFilter GROUP BY host,interface,time(10s) fill(null)
You can see the spike for lt09, ens21f1 for bytes_sent
Here is the query and the output from influxdb:
influx -ssl -host xxxxxx -database ‘telegraf’ -execute “select “bytes_sent” from net where host=‘lt09’ and time > ‘2018-04-27T08:43:30Z’ and time < ‘2018-04-27T08:44:50Z’ group by host,interface” -username “xxxx” -password ‘’
password:
name: net
tags: host=lt09, interface=ens21f1
time bytes_sent
1524818620000000000 13007676084323
1524818630000000000 13007681610031
1524818640000000000 12197298932002
1524818650000000000 13007685303321
1524818660000000000 13007685765056
1524818670000000000 13007687108607
1524818680000000000 13007688326894
Here is the output from the file:
proc_net_dev,gpu=NVIDIA,role=lila-compute,host=lt09,cluster=lila,domain=hpc.private value=“Inter-| Receive
| Transmit
face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed
eno1: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
eno2: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ens21f0: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ens21f1: 28528483234009 2125214641 1 4895 0 1 0 1057939 13007676084323 1949452383 0 0 0 0 0 0
lo: 701701032 5500222 0 0 0 0 0 0 701701032 5500222 0 0 0 0 0 0” 1524818620000000000
proc_net_dev,domain=hpc.private,gpu=NVIDIA,role=lila-compute,host=lt09,cluster=lila value=“Inter-| Receive | Transmit
face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed
eno1: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
eno2: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ens21f0: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ens21f1: 28528521274491 2125217407 1 4895 0 1 0 1057950 13007681610031 1949455120 0 0 0 0 0 0
lo: 701704588 5500251 0 0 0 0 0 0 701704588 5500251 0 0 0 0 0 0” 1524818630000000000
proc_net_dev,role=lila-compute,host=lt09,cluster=lila,domain=hpc.private,gpu=NVIDIA value=“Inter-| Receive | Transmit
face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed
eno1: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
eno2: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ens21f0: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ens21f1: 28529273742673 2125241917 1 4895 0 1 0 1057958 13007685030421 1949478353 0 0 0 0 0 0
lo: 701708024 5500278 0 0 0 0 0 0 701708024 5500278 0 0 0 0 0 0” 1524818640000000000
proc_net_dev,role=lila-compute,host=lt09,cluster=lila,domain=hpc.private,gpu=NVIDIA value=“Inter-| Receive | Transmit
face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed
eno1: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
eno2: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ens21f0: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ens21f1: 28529353584953 2125244127 1 4895 0 1 0 1057968 13007685303321 1949480505 0 0 0 0 0 0
lo: 701712752 5500320 0 0 0 0 0 0 701712752 5500320 0 0 0 0 0 0” 1524818650000000000
proc_net_dev,domain=hpc.private,gpu=NVIDIA,role=lila-compute,host=lt09,cluster=lila value=“Inter-| Receive | Transmit
face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed
eno1: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
eno2: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ens21f0: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ens21f1: 28529492562647 2125249077 1 4895 0 1 0 1057977 13007685765056 1949485290 0 0 0 0 0 0
lo: 701716308 5500349 0 0 0 0 0 0 701716308 5500349 0 0 0 0 0 0” 1524818660000000000
proc_net_dev,domain=hpc.private,gpu=NVIDIA,role=lila-compute,host=lt09,cluster=lila value=“Inter-| Receive | Transmit
face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed
eno1: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
eno2: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ens21f0: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ens21f1: 28530073684855 2125268019 1 4895 0 1 0 1057991 13007687108607 1949503533 0 0 0 0 0 0
lo: 701719744 5500376 0 0 0 0 0 0 701719744 5500376 0 0 0 0 0 0” 1524818670000000000
proc_net_dev,host=lt09,cluster=lila,domain=hpc.private,gpu=NVIDIA,role=lila-compute value=“Inter-| Receive | Transmit
face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed
eno1: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
eno2: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ens21f0: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ens21f1: 28530586529115 2125285137 1 4895 0 1 0 1057999 13007688326894 1949519740 0 0 0 0 0 0
lo: 701724472 5500418 0 0 0 0 0 0 701724472 5500418 0 0 0 0 0 0” 1524818680000000000