Community discussions

MikroTik App

Search found 7 matches

by penwelldlamini
Wed May 16, 2018 7:34 pm
Forum: General
Topic: AirControl Installed On Cloud Server - Digital Ocean
Replies: 1
Views: 820

AirControl Installed On Cloud Server - Digital Ocean

I have just installed AirControl (Ubuntu 16.04 LTS 64bit) on a cloud server on Digital Ocean. I have multiple site with all Mikrotik gateways Site 1 - 20 CPE's with LAN network 10.0.1.0/24 and mikrotik gatway 10.0.1.1 Site 2 - 15 CPE's with LAN network 10.0.2.0/24 and mikrotik gatway 10.0.2.1 What w...
by penwelldlamini
Fri Mar 24, 2017 12:45 pm
Forum: Scripting
Topic: PHP Bandwidth monitoring script (Day,Week,Month)
Replies: 8
Views: 12799

Re: PHP Bandwidth monitoring script (Day,Week,Month)

Hi can I get the full working code for this
by penwelldlamini
Tue Jan 17, 2017 4:37 pm
Forum: Scripting
Topic: PHP API and /interface/monitor-traffic
Replies: 5
Views: 11721

Re: PHP API and /interface/monitor-traffic

Can you please share your whole code including the mikrotik.php
by penwelldlamini
Wed Jan 11, 2017 8:52 am
Forum: Scripting
Topic: Interface Printout PHP API
Replies: 15
Views: 6473

Re: Interface Printout PHP API

Using the API client from my signature: <?php use PEAR2\Net\RouterOS; require_once 'PEAR2_Net_RouterOS-1.0.0b5.phar'; $util = new RouterOS\Util($client = new RouterOS\Client('192.168.88.1', 'admin', 'password')); $interfaces = $util->setMenu('/interface')->getAll(); ?> <table> <?php foreach ($inter...
by penwelldlamini
Tue Jan 10, 2017 4:51 pm
Forum: Scripting
Topic: Interface Printout PHP API
Replies: 15
Views: 6473

Interface Printout PHP API

How can I echo out all interface names onto a table through API using PHP can someone please share a script
by penwelldlamini
Tue Jan 10, 2017 3:50 pm
Forum: Scripting
Topic: API PHP class
Replies: 47
Views: 72965

Re: API PHP class

How can I echo out only interface names and also how can I echo out total traffic used on a single specified interface
by penwelldlamini
Thu Jan 22, 2015 4:14 pm
Forum: General
Topic: Reset Quoues Counter Script
Replies: 0
Views: 832

Reset Quoues Counter Script

Hi i would like to set a limit on an IP range like 10.0.0.0/24 using queues and have it capped at 15GB per month and have the counter reset every end of each month. Im looking for a script that can do that. Thanks