
ojob ojob.io/net/testHosts host=some.host port=12345 timeout=5000 type=socket file=afile.yaml targets=host1:12345,host2
Test one or more hosts through ICMP (ping) and/or socket test.
| Name | Description |
|---|---|
| host | The host to test |
| port | The host port to test |
| timeout | The connection time timeout (in ms) |
| type | The type of test to perform (e.g. ping, socket) |
| file | A YAML file with host, port and an optional test type |
| targets | A JSSLON string with host, port and an optional test type or a comma separated list of host:port (if port is not defined, it will default to ping) |