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
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", "
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
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
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
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
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