opunit
opunit copied to clipboard
Availability check for ssh targets
Describe the bug The availability check seems to check local machine even when used with a ssh target
To Reproduce Here is an opunit check:
- availability:
comment: check app running in the vm
port: 5001
status: 200
url: /
and inventory file:
- ssh:
- target: [email protected]:2800
private_key: ~/id_rsa
criteria_path: test/vm.yml
Expected behavior Expected to check if localhost:5001 server is running inside the vm.
Actual behavior It check localhost:5001 on the local machine.