Skip to content
Snippets Groups Projects
Select Git revision
  • feat/321-add-support-for-gnmi-configuration-via-proto
  • feat/322-add-read-support-for-ipinfusion-devices-via-netconf
  • feat/292-cttc-implement-integration-test-for-ryu-openflow
  • feat/323-add-support-for-restconf-protocol-in-devices
  • feat/policy-refactor
  • feat/192-cttc-implement-telemetry-backend-collector-gnmi-openconfig
  • feat/320-cttc-ietf-simap-basic-support-with-kafka-yang-push
  • develop protected
  • feat/307-update-python-version
  • feat/telemetry-collector-int
  • feat/automation-revisited
  • feat/313-tid-new-tapi-service-for-lsp-configuration-2
  • cnit_tapi
  • feat/161-tid-creation-of-ip-link-with-supporting-coherent-pluggable-to-pluggable-connection
  • feat/312-tid-new-service-to-configure-interfaces-via-openconfig
  • openroadm-flex-grid
  • feat/310-cttc-implement-nbi-connector-to-interface-with-osm-client
  • feat/314-tid-new-service-for-ipowdm-configuration-fron-orchestrator-to-ipowdm-controller
  • feat/308-code-formatting
  • feat/303-add-test-to-feature-develop-during-234-related-to-osm-integration-2
  • v5.0.0 protected
  • v4.0.0 protected
  • demo-dpiab-eucnc2024
  • v3.0.0 protected
  • v2.1.0 protected
  • v2.0.0 protected
  • v1.0.0 protected
27 results

monitoring

  • Clone with SSH
  • Clone with HTTPS
  • gifrerenom's avatar
    Lluis Gifre Renom authored
    - Updated wait loop time
    61bfa554
    History
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.

    How to run locally the monitoring service (tested in Ubuntu 20.04)

    Download the grpc health probe

    GRPC_HEALTH_PROBE_VERSION=v0.2.0

    wget -qO/bin/grpc_health_probe https://github.com/grpc-ecosystem/grpc-health-probe/releases/download/${GRPC_HEALTH_PROBE_VERSION}/grpc_health_probe-linux-amd64

    chmod +x /bin/grpc_health_probe

    Get packages

    python3 -m pip install pip-tools

    python3 -m pip install -r requirements.txt

    Install prometheus client

    pip3 install prometheus_client

    Execute server

    cd monitoring

    python3 monitoring/monitoring_server.py

    Execute client

    python3 monitoring_client.py

    How to create and execute the monitoring server in a docker container

    Install docker

    curl -fsSL https://get.docker.com -o get-docker.sh sudo sh get-docker.sh `

    Build service

    cd src

    ./build.sh

    Run service

    ./start.sh