Skip to content

frauniki/ping-mesh

Repository files navigation

ping-mesh

Build

Agent

# Linux Agent
$ make linux-windows

# Windows Agent
$ make build-windows

Docker Image

# Agent
$ make docker-build-agent

# Server
$ make docker-build-server

How to use

Agent

  • Linux
$ ./bin/agent --config <ConfigFile path>
  • Windows
PS > ./bin/agent.exe --config <ConfigFile path>

Server

$ pip install .
$ uvicorn ping_mesh:app --host 0.0.0.0 --port 8000

Configuration

Agent

#server_url: http://127.0.0.1:8000/ping-mesh # Ping-Mesh Server URL
#interval: 5s # Ticker interval time
#log_level: info #Log level
#ping:
  #count: 1 # Ping count
  #interval: 1s # Ping interval time
  #timeout: 2s # Ping timeout time

hosts:
  - name: router01 # Ping target hostname
    host: 10.0.0.1 # Ping target host (FQDN or IP Addres)