[Nagiosplug-devel] standard in must be a tty

Richard Edward Horner rich at richhorner.com
Tue Nov 4 17:11:42 CET 2008


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.
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________________
> Nagios Plugin Development Mailing List Nagiosplug-devel at lists.sourceforge.net
> Unsubscribe at https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
> ::: Please include plugins version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null

Richard Edward Horner
Engineer / Composer / Electric Guitar Virtuoso

More information about the Devel mailing list