[Nagiosplug-devel] standard in must be a tty
engelenh at gmail.com
Wed Nov 5 17:24:05 CET 2008
Aside from the error what does the init script do to check the status.
Most scripts just lookup a pid in a pid file and check to see if said
pid is still running.
Rather then forking the script it might be easier to redo that check
in the plugin itself. On that note it might even be easier to just
check if the process is running rather then fork to a script.
Note that I don't know what a dalimserver is so might not apply.
On Tue, Nov 4, 2008 at 5:05 PM, Chase Simms <Csimm at pubpress.com> wrote:
> I am working on a plugin to monitor a process.
> 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
> 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,
> 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
> 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
More information about the Devel