No output..from a csh script

Marcel Mitsuto Fucatu Sugano msugano at uolinc.com
Fri Jan 27 16:41:23 CET 2006


On Fri, 2006-01-27 at 16:12 +0100, Marco Borsani wrote:
> Hi all!
> I am running a csh script (attached) that can return just 2 states, 0
> or 2.
> According with these two states I print to STDOUT two kinds of
> strings.
> Well, running from command line

Did you ran your script as the nagios user?


>  I see the string and the correct status, but
> when I put this "comman" inside Nagios I receive this error message:
> (No
> Output!)
> 
> Have you got any idea?
> 
> Regards
> 
> Marco Borsani                        
> Unix & Monitoring System Administrator
> Technical Operation
> Tel.    +39 010 4310115
> Fax     +39 010 4327454
> E-mail: m.borsani at IT.net
-- 
Marcel Mitsuto Fucatu Sugano <msugano at uolinc.com>
Universo Online S.A. -- http://www.uol.com.br


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
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





More information about the Users mailing list