Community discussions

MikroTik App
 
keithjr
just joined
Topic Author
Posts: 4
Joined: Tue Jun 03, 2008 8:37 pm

anonymous web graphs / exporting graphs automatically

Tue Jun 03, 2008 8:45 pm

People have asked me if there could be a real time graph being shown, (or at least the previous/current day) of our internet usage. It currently is a link with a graph.

I can view the graphs from the web in beta 8, but you need to logon first. I have been fudging around with php curl to try to download the graph, and can't seem to get it to post the logon page, then request the image, the logon doesnt work.

So I am looking for a way to either do an automated time of day export of a png of a chart to a file, be able to view the charts anonymously, or be able to use curl/php to wrap around the image to do the login/get so it looks like its a new image.

Anyone ran into this? thoughts? Or am I stuck with this avenue.
 
talon63
Frequent Visitor
Frequent Visitor
Posts: 65
Joined: Tue Mar 25, 2008 2:31 pm
Location: Texas USA

Re: anonymous web graphs / exporting graphs automatically

Tue Jun 03, 2008 9:34 pm

buried a ways back is a similar thread that I responded to about doing something like this. The Dude has the capability to export timed 'snapshots' of the network layout (map), but no direct way to this with charts. If the coders would add the same functionality from Maps/Settings/Export tab to the Charts dialog, it would be a simple process to have the Dude save the image to a folder and have that image called for web display via a simple script.

That being the case, MRTG is used to achieve the same results.

Not very helpful in resolving, but maybe someone else knows a workaround.
 
keithjr
just joined
Topic Author
Posts: 4
Joined: Tue Jun 03, 2008 8:37 pm

Re: anonymous web graphs / exporting graphs automatically

Tue Jun 03, 2008 9:53 pm

Thanks for that, I can at least export some snapshots of the general network health.

I did some searching for information about this, I guess not enough ;)

I will give that a try, and see if I can push further with a workaround for graphs without having to setup another app :D
 
talon63
Frequent Visitor
Frequent Visitor
Posts: 65
Joined: Tue Mar 25, 2008 2:31 pm
Location: Texas USA

Re: anonymous web graphs / exporting graphs automatically

Tue Jun 03, 2008 9:59 pm