NOC
From CTWUG Wiki
NOC was an HTTP based system to deploy ROS scripts to MikroTik Routerboards on CTWUG for the purpose of network management. The HTTP backend was closed and proprietary, but the ROS scripts and API are documented below for historic safe keeping. In December 2012 it was replaced by WMS.
ROS Scripts
- NOC:radius_client
- NOC:ctwug_init
- NOC:ctwug_version
- NOC:ctwug_backup
- NOC:ctwug_updated
- NOC:ctwug_global_settings
- NOC:ctwug_cpu_killer_killer
- NOC:ctwug_radius_client
- NOC:ctwug_firewall
- NOC:ctwug_qos
- NOC:ctwug_run
- NOC:ctwug_lobridge_fixer
API
Purpose | URL | Returns |
---|---|---|
Fetch scripts | http://noc.ctwug.za.net/web/api/update?id=FID&serial=SERIAL&init=1 | All the scripts, including ctwug_version.rsc fetch script |
Update NOC version info | http://noc.ctwug.za.net/web/api/temp?id=FID&serial=SERIAL | Done |
Update NOC rb info | http://noc.ctwug.za.net/web/api/update?id=".$fid."&serial=".$fserial."&update=2&version=".$fver."&cpu=".$fcpu."&freq=".$fcpufreq."&arch=".$farch."&board=".$fboard."&fw=".$ffw."&ip=".$fip."&ospf=".$fospf."&policy=".$fpolicy | Version |
Returns the scripts version | http://noc.ctwug.za.net/web/api/update?id=Dade-RB1&serial=205E01E11CB3&update=1 | Version |
Returns the firewall script | http://noc.ctwug.za.net/web/api/firewall/firewall.rsc | The firewall script |
Gametime indicator | http://noc.ctwug.za.net/web/api/gametime | 0 or 1 for gametime |