Skip to content

adding ; wait ; kill \$ssh`; to ssh related commands. #1

@yossiovadia

Description

@yossiovadia

Hi Joey,

Check_MK dont like the command you as you wrote it ( specifically, ssh related command breaks check_mk )

We have modified it to be like that :
my $external_command=/opt/rocks/bin/rocks run host compute 'ovs-vsctl show | grep Port | grep qvo' & ssh=\$! ; wait ; kill \$ssh;

and

my $external_command = /usr/bin/ssh -q os-network 'cat /etc/neutron/neutron.conf|grep "^connection.*mysql"' & ssh=\$! ; wait ; kill \$ssh;

Which solved that check_mk issue...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions