Community discussions

MikroTik App
 
v1nt3r
just joined
Topic Author
Posts: 6
Joined: Tue Feb 01, 2005 11:31 am
Location: Jozefow, near Warsaw, Poland
Contact:

Using webbox with CURL and PHP to monitor base stations

Thu Jun 16, 2005 4:33 am

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...
 
john2
just joined
Posts: 20
Joined: Thu Apr 07, 2005 5:55 pm

Thu Jun 16, 2005 9:50 am

That looks very nice.

John
 
User avatar
stephenpatrick
Forum Veteran
Forum Veteran
Posts: 702
Joined: Fri Aug 20, 2004 12:26 pm
Location: UK
Contact:

Thu Jun 16, 2005 10:45 am

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
 
v1nt3r
just joined
Topic Author
Posts: 6
Joined: Tue Feb 01, 2005 11:31 am
Location: Jozefow, near Warsaw, Poland
Contact:

Thu Jun 16, 2005 12:15 pm

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.

Who is online

Users browsing this forum: Bing [Bot], voytecky and 41 guests