Hello all
Trying to create a simple check command based on SSH cmd-return mode (following
)
I have created this simple check command :
/usr/lib/centreon/plugins/centreon_linux_ssh.pl --plugin=os::linux::local::plugin --hostname=$HOSTADDRESS$ --ssh-backend='libssh' --ssh-username='centreon-monitoring' --ssh-priv-key='/var/lib/centreon-engine/.ssh/id_rsa' --mode=cmd-return --exec-command=/usr/bin/true --manage-returns='0,OK,OK#1,CRITICAL,KO#,UNKNOWN,Problem'
But command fails, log (connector-ssh.log) shows : “score] error] fail to parse cmd line /usr/lib/centreon/plugins/centreon_linux_ssh.pl <...> option '?' requires an argument
Any idea on the missing argument ?
Thank you