[Nagiosplug-help] check_disk fails on line feed

Subhendu Ghosh sghosh at sghosh.org
Mon Dec 2 08:15:24 CET 2002


On Fri, 29 Nov 2002, Rasmus Plewe wrote:

> Hello,
> 
> On Fri, Nov 29, 2002 at 03:22:51PM -0500, Subhendu Ghosh wrote:
> > On Thu, 28 Nov 2002, Rasmus Plewe wrote:
> > > > 
> > > > I can currently live with the workaround to do a 
> > > > ./check_disk -p "fs1 fs2 fs3" --warning=20% --critical=1% 
> > > 
> > > no, I can't live with this workaround. Since I do this from remote, the
> > > command would look something like 
> > > 
> > > ./check_by_ssh -H host -l user -C "/remote_path/check_disk -p "fs1 fs2"
> > > -w 20% - 1%"
> > 
> > escape the inner quotes:  -p\"fs1 fs2\"
> 
> About the first thing I did:
> 
> ./check_by_ssh -H cs17 -C "/remote/nagios_plugins/check_disk -p \"/ /tmp\" -w 20% -c 1%" 
> Unable to open pipe: /usr/bin/ssh cs17 '/remote/nagios_plugins/check_disk -p "/ /tmp" -w 20% -c 1%'tts:/usr/local/nagios/libexec # 
> 
> 
> Regards,
>          Rasmus
> 
> 

unable to open a pipe seems to be a different issue.  Do you have enough 
file handles?  

Also could you post a full output of the DF commandd so we can look at 
integrating the multiline output...


-sg

-- 






More information about the Help mailing list