[icinga-users] Syntax error $ undefined for check_by_ssh

2017-07-10 Thread Christian Moreno Moreno
Hello, We try to configure one new check with check_by_ssh: apply Service "check_access_log" { import "standard-service" check_command = "check_by_ssh" vars.ssh_command = '/usr/lib/nagios/plugins/check_file_age /var/log/axy/access.$(date +%Y-%m-%d).log -w 68400 -c 68400'

Re: [icinga-users] Syntax error $ undefined for check_by_ssh

2017-07-10 Thread Gerald Vogt
On 10.07.17 15:00, Christian Moreno Moreno wrote: Hello, We try to configure one new check with check_by_ssh: apply Service "check_access_log" { import "standard-service" check_command = "check_by_ssh" vars.ssh_command = '/usr/lib/nagios/plugins/check_file_age /var

Re: [icinga-users] Syntax error $ undefined for check_by_ssh

2017-07-10 Thread Stephan Tesch
Am 10.07.2017 um 15:00 schrieb Christian Moreno Moreno: Greetings, > But we got one Syntax Error for the $: > > /etc/init.d/icinga2 checkconfig > [] checking Icinga2 configuration > information/cli: Icinga application loader (version: r2.6.3-1) > information/cli: Loading configuration file(s)