[Nagios-users] No output..from a csh script

2006-01-27 Thread Marco Borsani
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 I see the string and the correct status, but when I put this comman inside Nagios I receive this error

[Nagios-users] No output..from a csh script

2006-01-27 Thread Marco Borsani
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 I see the string and the correct status, but when I put this comman inside Nagios I receive this error

Re: [Nagios-users] No output..from a csh script

2006-01-27 Thread Don Lewis
As one of the suggestions you should run the script as nagios user to be on the safe side, but when adding it inside nagios config file (if this is what you are referring to) make sure you put the whole command string for your script in between . I have had to do this to have Nagios look at my