My VDSL modem does not support SNMP so I scrape the html stats page every 5 minutes with a python script and push it to Influxdb via POST. Grafana is happily graphing my line rate, attenuation and SNR data from this db. I am having issues with visualizing the Error data I could use some pointers on.
The modem presents errors as “ES, SES, UAS” (errored seconds, severely errored seconds, unavailable seconds) so these data points are ones that would only increase over time (unless reset). When I add visualization (Grafana) for any of these I get data points showing some single errors over time but the actual data does not show an increase in the count.
My database looks like this:
select * from vdsl_stats
name: vdsl_stats
time attDown attUp esErrDown esErrUp location rateDown rateUp sesErrDown sesErrUp snrDown snrUp uasErrDown uasErrUp
1575858309067795983 42.8 32.8 389 97 home 61763000 23840000 6 34 5.5 6.1 364 364
1575858609160093857 42.8 32.8 389 97 home 61763000 23840000 6 34 5.6 6.1 364 364
1575858910692556909 42.8 32.8 389 97 home 61763000 23840000 6 34 5.6 6.1 364 364
1575859209217305088 42.8 32.8 389 97 home 61763000 23840000 6 34 5.6 6.1 364 364
1575859509277762155 42.8 32.8 389 97 home 61763000 23840000 6 34 5.6 6.1 364 364
1575859809481228449 42.8 32.8 389 97 home 61763000 23840000 6 34 5.6 6.1 364 364
1575860109736123306 42.8 32.8 389 97 home 61763000 23840000 6 34 5.6 6.1 364 364
Taking esErrDown as an example, that value hasn’t changed form 389 in the entire database (ok only a few hours old so far) yet:
select count(“esErrDown”) from “vdsl_stats” GROUP BY time(1m)
name: vdsl_stats
time count
1575859200000000000 1
1575859260000000000 0
1575859320000000000 0
1575859380000000000 0
1575859440000000000 0
1575859500000000000 1
1575859560000000000 0
1575859620000000000 0
1575859680000000000 0
1575859740000000000 0
1575859800000000000 1
There is some sort of pattern going on there I suspect to do with time (5m collection vs 1m grouping?) or precision in the database (can I set that lower given I’m only collecting a point every 5m?). Or am I collecting or querying the data incorrectly?
Thanks