Skip to content

Availability check for ssh targets #426

@ssmirr

Description

@ssmirr

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: vagrant@127.0.0.1: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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions