-
Notifications
You must be signed in to change notification settings - Fork 20
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:
- Configuration
- Command Line, through gRPC
- gRPC with you favorite language
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
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.
check TCPProbe gRPC page