question about running "Script Monitoring" - Monitored Machine

question about running "Script Monitoring" - Monitored Machine

Dears,
 
I would like to know if i want to run a script monitor on a remote machine (Monitored machine, i guess) .. do i need set CLI access to that specifiec host in opmanager ? can you please explain a little about how can i setup a script monitoring on a remote host ? explanations in help card is not very clear, for example i assume i set a CLI access for that host, and finish my script code, then i choose execute from "monitored machine", what should i set for execute directory then ? the ${TempDir} is equal to /tmp ?
 
Regards,
 

                New to ADSelfService Plus?