I have a remote webcam system that uploads images to an ftp server via the Telecom Xt network. The webcam system consists of a PC running Ubuntu server. It connects using an MF636 modem.
I want the webcam system to be able to get access to the Telecom usage meter to control the number of image uploads and stay within my monthly data cap.
I have no problem monitoring data to/from the telecom network as measured by the webcam box. I run vnstat on the box. I understand that at least some of the data packets going to/from the network are not measured by Telecom. If so, this means that reading traffic flow to/from the network with vnstat will overstate the data usage compared to the Telecom usage meter.
The on-line Telecom usage meter webpage is OK for human viewing but would be difficult for a machine to read and understand.
Is there a facility to allow machine readible access to the Telecom usage meter??