[Nagiosplug-devel] standard in must be a tty

Chase Simms Csimm at pubpress.com
Wed Nov 5 15:31:57 CET 2008


I'll send the init script directly to you.  I don't want Dalim getting
upset about me posting their code even though the init script is nothing
special.



On Tue, 4 Nov 2008 11:11 Richard Edward Horner <rich at richhorner.com>
wrote:
Chase,

I think the dalimServer init script is throwing this and not NRPE. Can
you please post the /etc/init.d/dalimServer file?

Thanks, Rich(ard)

On Tue, Nov 4, 2008 at 11:05 AM, Chase Simms <Csimm at pubpress.com>
wrote:
> I am working on a plugin to monitor a process.
>
>
http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2780.html;d=1

>
> It works fine when run locally through the shell. But when run
through
> the NRPE sandbox it gets the "standard in must be a tty" error. 
Where
> can I find more information on the NRPE sandbox and how to work
> with/around it?
>
> I tried rewriting it as a shell script and it came back with the
same
> result.
>
> The broken part is where I try to catch the output of -
`/sbin/service
> dalimServer status`
>
> When I run it through NRPE it comes back with nothing.
>
> Thank you,
> Chase


The information in this email is intended for the sole use of the
addressees and may be confidential and subject to protection under the
law. If you are not the intended recipient, you are hereby notified that
any distribution or copying of this email is strictly prohibited. If you
have received this message in error, please reply and delete your copy.





More information about the Devel mailing list