Does the script rely on particular environment variables being set?

Ie. Require a login shell?

If you run "ssh ..... u...@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.

-- 
Regards,

Anthony Hogan
System Administrator
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Nagios-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to