Page 1 of 1

Using webbox with CURL and PHP to monitor base stations

Posted: Thu Jun 16, 2005 4:33 am
by v1nt3r
Please look at this URL: http://www.idd.net.pl/mikrotik.php
What do you think about using webbox to >quickly< monitor base stations?
Is anybody interested with this sourcecode?
Im using it on linux server with apache (Gentoo, PHP and CURL) (thx Lupatus for making source!) with single simple php script.

Now im working on using "graphs" on 2.9rc - i'll show on website bandwith (those MRTG graphs) of client... but ive got problems with using graphs created from dynamic queues (from dhcp). Anybody knows why I cannot read those graphs (i've decoded URL with URL-decode, and manually... and this doesnt work)?

Sorry for my terrible english...

Posted: Thu Jun 16, 2005 9:50 am
by john2
That looks very nice.

John

Posted: Thu Jun 16, 2005 10:45 am
by stephenpatrick
Looks very nice!

I got the graphs working (i.e. displayed on another webserver's HTML pages) on RC4 fine, not tried on RC5, I note they have changed the directory structure for them, and filenames.
http://www.cablefreecommunications.com/ ... anager.htm

actually the ones here are not live (cached on ISP) but the same code on a local server worked great. Ignore some of the tabs on the top, some are duplicates with each other.

Regards

Posted: Thu Jun 16, 2005 12:15 pm
by v1nt3r
Looks very nice!
Thx ;-)
I got the graphs working (i.e. displayed on another webserver's HTML pages) on RC4 fine, not tried on RC5, I note they have changed the directory structure for them, and filenames.
I'm using almost all of them, I've used SMTP+MRTG on Linux with Mikrotik too. But my problem is that i cannot "read" dynamically created queue graphs (limiting bandwith with dhcp leases, that creates simple queue for client). Anybody know how to open those URL's? They are sth like that: dhcp<00:00:AA:BB:CC:DD/0:0:AA:BB:CC:DD:D/dhcp1>
and URL is for example: http://mikrotik-address:port/graphs/qdhcp%AA00:00:AA:BB:CC:DD/0:0:AA:BB:CC:DD:D/dhcp1%3E.nfo

Please help... and sorry for terrible english.