Skip to content

service

Mehrdad Arshad Rad edited this page Dec 22, 2020 · 2 revisions

You can run TCPProbe as service and load the targets in different ways:

  1. Configuration
  2. Command Line, through gRPC
  3. gRPC with you favorite language

Configuration

tcpprobe -config file.yaml

sample configuration

targets:
  - addr: 192.168.10.5:80
    interval: 10s
    labels:
      pop: London
  - addr: 172.16.16.7:22
    interval: 20s
    labels:
      pop: Los_Angeles

Command Line, through gRPC

tcpprobe -grpc

Add target(s)

tcpprobe add 192.168.10.5:80

Delete target

tcpprobe del 192.168.10.5:80

*With -grpc-addr option you can connect to the remote service and add/del targets.

gRPC

check TCPProbe gRPC page

Clone this wiki locally