Skip to content

ODL monitoring

Panagiotis Karkazis edited this page Jul 25, 2018 · 2 revisions

5GTANGO/SONATA ODL (OpenDayLight) monitoring client is used in order to gather monitoring data from ODL servers and push them to the monitoring server.

Supported monitoring metrics are:

  • port_state_live
  • port_state_blocked
  • port_state_link_down
  • port_maximum_speed
  • port_current_speed
  • port_receive_frame_error
  • port_packets_transmitted
  • port_packets_received
  • port_collision_count
  • port_receive_over_run_error
  • port_receive_crc_error
  • port_transmit_errors
  • port_receive_drops
  • port_transmit_drops
  • port_receive_errors

Dependencies

  • python 2.7
  • docker-engine 1.10.2

Installation

a. From code

export ODL_SRV=http://<odl_server>:<port>
export USR_CRED=[{"user_name": <user_name>, "password":<password>}]
export NODE_NAME=<server_name>
export PROM_SRV=http://<prom_server>:<port>/metrics
sudo python ODLdatacollector.py

b. Using container

sudo docker build -t son-odl-probe .
sudo docker run -d --name son-odl-probe -e NODE_NAME=VNF_1 -e ODL_SRV=http://<odl_server>:<port> -e PROM_SRV=http://<pushgateway>:<port>/metrics -e ODL_USER=[{"user_name": <user_name>, "password":<password>}] -e export ODL_PASS=<password> son-odl-probe
Clone this wiki locally