su -s /bin/sh - grid -c 'asmcmd lsdg --suppressheader'|grep -v 'OCR'|awk '{if($8==0)var=$8;else var=($8/$7*100);print $13,"\t",":","\t"var}'\;
it is working on local machine but throwing error from monitoring server with ssh.
[zabbix@prod ~]$ ssh zabbix@ip sh test.sh
zabbix@10.85.12.210's password:
standard in must be a tty
what is the requisite changes required.