Grab interface usage and push online

At this time this is a request/holding/research thread.

With ATT launching network caps here in the next couple months I want to have something I trust more to check their numbers against.

Goals:
[]Take ethernet 1 statistics and upload it to a webserver every 5 minute
[
]If webserver responds with anything but OK/http 200, store the results and on next checkin, upload store + current.

The better approach would be to use an SNMP package on the server to poll the interface stats.

I realize that it would be better to use SNMP to gather these stats but I do not have any local system setup for this in any way. Also the webserver is not a full on dedicated server, think shared hosting, only can load up php/cgi/perl scripts.

I would use work resources to do this polling but I dont wanna get caught doing that. :wink:

So having to think how to do this the poor mans way.

elsewhere in forums mrz told that you can use fetch for different reasons. My idea is - get your stats and execute fetch with all the parameters you need, your server will get weird request you can parse and get info you need from that line. result file can contain info - how successful “operation” was.