Bandwidth for servers

Hi , I have some linux hosts and there are scripts configured on the remote linux hosts. I wanted this script to be monitored from icinga director. I tried with check_by_ssh but in this case the script is located on remote hosts under /usr/lib/nagios/plugins/script.sh. How to monitor this?

Also from the previous posts By_ssh command argument missing in Director , I tried to add by_ssh_command from define fileds. Unfortunately its not reflecting from when i go to fields option.