[Nagiosplug-devel] [ nagiosplug-Bugs-693831 ] check_by_ssh -C "check_disk" does not work
SourceForge.net
noreply at sourceforge.net
Wed Feb 26 10:31:09 CET 2003
Bugs item #693831, was opened at 2003-02-26 19:39
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=693831&group_id=29880
Category: None
Group: v1.3.0 beta3
Status: Open
Resolution: None
Priority: 5
Submitted By: Axel Staacke (sicksegv)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_by_ssh -C "check_disk" does not work
Initial Comment:
check_by_ssh -l nagios -H remotehost -C
"~/bin/nagiosplug/check_disk -w 10 -c 5"
yields the following:
DISK WARNING - [1587400 kB (84%) free on /dev/ida/c0d0p5]
etc.
The check_disk plugin, when called locally on the
"remotehost", returns OK, however. check_by_ssh -C
"check_ping" also works OK.
It seems as though check_disk exits with status 1
whenever ssh is involved. According to the C sources
this happens either because there is output in stderr
or spclose returns an error code.
How can I get it to work correctly?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=693831&group_id=29880
More information about the Devel
mailing list