Page 1 of 1

Script get a text or value to counter

Posted: Sunday 18 July 2021 23:18
by Krenstik
HI,

I reading data usage from Synology router via SNMP and I get text or value, but I wish to have it counter, but to be honest I spend a week to understand a any kind of script without result.

SO can any one of you please make for me a stupid simple script that takes a value from virtual / or text (I have both) and put it in the counter?

Device id is 682 - Data: "5398910887", (HardwareName: "SNMP Router upx",)
or
device is 688- Data: "5.3991e+09 ",

and virtual counter is a 689

Thank you........