Project

General

Profile

Meas web » History » Revision 5

Revision 4 (Anonymous, 02/19/2016 10:48 PM) → Revision 5/8 (Anonymous, 02/19/2016 10:48 PM)

 
 == Web version of the OpenBSC meas_vis utility == 

 This tool will allow you to display and browse the measurement reports of OpenBSC on a web based interface. 

 https://github.com/fairwaves/meas_web 

 How to install and configure the meas_web utlility: 

 Get the code: 

 git clone https://github.com/fairwaves/meas_web.git 

 Install dependencies: 

 1. Install websocketd: 

 https://github.com/joewalnes/websocketd/releases/ 

 In this example we are going to use a 64bit version: 

 wget https://github.com/joewalnes/websocketd/releases/download/v0.2.11/websocketd-0.2.11_amd64.deb 

 sudo dpkg -i websocketd-0.2.11_amd64.deb 

 2. Install runit: 

 sudo apt-get install runit 


 3. Configure runit: 

 Copy the content of the meas_web/etc folder to your /etc folder: 

 cd meas_web 

 sudo cp -avr etc / 

 4. Make sure the "meas_vis" utility is compiled: 

 Go to the utility folder of your openbsc source: 

 cd openbsc/openbsc/src/utils 

 If you can't find a meas_vis binary, please run: 

 sudo apt-get install libcdk5-dev 

 sudo make meas_vis 

 Now you need to have the binary version of meas_vis in openbsc/openbsc/src/utils 

 Because meas_json is not yet part of the master, you need to download and compile it: 

 wget http://cgit.osmocom.org/openbsc/plain/openbsc/src/utils/meas_json.c?h=achemeris/meas_json 

 mv meas_json.c\?h\=achemeris%2Fmeas_json meas_jscn.c 


 5. Add the following line at the bottom of your openbsc.conf: 

 mncc-int 
  meas-feed destination 127.0.0.1 8888 

Add picture from clipboard (Maximum size: 48.8 MB)