Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Availability check for ssh targets #426

Open
ssmirr opened this issue Feb 8, 2022 · 0 comments
Open

Availability check for ssh targets #426

ssmirr opened this issue Feb 8, 2022 · 0 comments

Comments

@ssmirr
Copy link
Contributor

ssmirr commented Feb 8, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant