[icinga-users] by_ssh and force_command not working

2016-09-16 Thread dirk
Hello together, I'm having some problems with getting by_ssh running. We are enforcing SSH Commands through ssh keys, this works fine wenn called manually (So key exchange and so on is working). > -bash-4.2$ /usr/lib64/nagios/plugins/check_by_ssh -H localhost -l icinga -C > 'uptimeTest 1 2 3' > u

Re: [icinga-users] by_ssh and force_command not working

2016-09-16 Thread Rob DeSanno
Hey Dirk, I don't know if this helps you any but this is how I have it implemented in my shop and maybe there's something here that will put you on the right track. I remember having issues with this check too until I stumbled upon the -l and -o switches arguments, which made things much easier. A