-
Remote SSH plugin command problem
HI,
I’ve been trying to get the remote SSH plugin to execute a command with quotes, but seems to fail.For example, I’d like to get some stats on free diskspace from a Linux box.
The way I’d do that from the bash shell would be something like:Â df /dev/sda6 |awk ‘NR>2 {print($5+0)}’
And that will give you the percentage of free diskspace.
Going through the remote SSH plugin, it adds single quotes to both sides of the command string, and therefore renders the second part of my check useless (I think).Any thoughts on how to get it right?
I’d rather have the whole check command in pandora then calling a script on the remote machine.Cheers,
Jasper