Does the script rely on particular environment variables being set?<br><br>Ie. Require a login shell?<br><br>If you run "ssh ..... user@hostname .... command_to_run" from the nagios box does it work? If not, it might be that the login environment gets different variables set than when the login environment is bypassed to execute your specified command.<br clear="all">
<br>-- <br>Regards,<br><br>Anthony Hogan<br>System Administrator<br><br>