[Nagiosplug-devel] How to write Expect plugin

sean finney seanius at seanius.net
Thu Aug 31 20:03:10 CEST 2006


hi horvath,

On Thu, 2006-08-31 at 19:05 +0200, Horvath Tamas wrote:
> I tried to solve this issue and to this evening I realized that the trouble
> is that the script has no "controlling terminal". It starts to spawn ssh to
> PIX. But it does not see any output, just an eof. And it cannot write to
> standard output (Nagios says "No output").

when you invoke ssh, can you try forcing the allocation of a pseudo
terminal (-t)?


	sean
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
URL: <http://nagios-plugins.org/archive/devel/attachments/20060831/7c6b6db8/attachment.sig>


More information about the Devel mailing list