Re: [icinga-users] execvpe() failed.: No such file or directory

2014-05-09 Thread Jorge Ferrando
Ok, changing the array for a string made the trick :) Thank you! On Fri, May 9, 2014 at 1:36 PM, Gunnar Beutner wrote: > Am 09.05.2014 11:53, schrieb Jorge Ferrando: > > object CheckCommand "check_ssl"{ > > import "plugin-check-command" > > command = [ PluginDir + "/check_http --ssl -I $host.ad

Re: [icinga-users] execvpe() failed.: No such file or directory

2014-05-09 Thread Gunnar Beutner
Am 09.05.2014 11:53, schrieb Jorge Ferrando: > object CheckCommand "check_ssl"{ > import "plugin-check-command" > command = [ PluginDir + "/check_http --ssl -I $host.address$ $args$"] You need to use a separate array element for each command-line argument: command = [ PluginDir = "/check_http", "

Re: [icinga-users] execvpe() failed.: No such file or directory

2014-05-09 Thread Jorge Ferrando
object CheckCommand "check_ssl"{ import "plugin-check-command" command = [ PluginDir + "/check_http --ssl -I $host.address$ $args$"] vars.args ="" } object Host "agenda4"{ import "generic-host" address = "158.42.250.61" check_command = "check_ping_l" vars.host_type = "VIRTUAL

Re: [icinga-users] execvpe() failed.: No such file or directory

2014-05-09 Thread Gunnar Beutner
Am 09.05.2014 10:44, schrieb Jorge Ferrando: > Thanks for the answer Michael. > > Yes, we are just trying it to move as soon as it's production ready :) > > All of the tests give that answer so just as an example > > # tail /var/log/icinga2/icinga2.log > [2014-05-09 10:38:11 +0200] > information/b

Re: [icinga-users] execvpe() failed.: No such file or directory

2014-05-09 Thread Jorge Ferrando
Thanks for the answer Michael. Yes, we are just trying it to move as soon as it's production ready :) All of the tests give that answer so just as an example # tail /var/log/icinga2/icinga2.log [2014-05-09 10:38:11 +0200] information/base: Running command '/usr/lib/nagios/plugins/check_http --s

Re: [icinga-users] execvpe() failed.: No such file or directory

2014-05-09 Thread Michael Friedrich
On 09.05.2014 10:15, Jorge Ferrando wrote: Hello I'm trying to migrate from nagios3 to icinga2. That's cool. But keep the note that it's not production ready yet - the final version is due soon, we're working hard on that one. So keep testing and report any issues you encounter :) I've t

[icinga-users] execvpe() failed.: No such file or directory

2014-05-09 Thread Jorge Ferrando
Hello I'm trying to migrate from nagios3 to icinga2. I've translated my configuration files to the new format, but for all the host checks I'm receiving this output: execvpe() failed.: No such file or directory I've checked in the logs the commands being executed for the checks and they seem to