[Nagiosplug-help] spopen and check_by_ssh

Karl DeBisschop karl at debisschop.net
Thu Mar 25 04:10:35 CET 2004


On Wed, 24 Mar 2004 12:45:22 -0800
nathan <nathan at stalecoffee.org> wrote:

> Howdy all, I've done a bit of browsing of the archives and I've seen a
> few other people have had issues with spopen and check_by_ssh. In my
> environment I have a large number of systems to monitor that I can
> only access via socks. We are using dante which uses environment
> variables to setup the socks tunnel. Right now I'm in the process of
> compiling a second copy of openssh with socks support built in as a
> workaround to go with a second copy of check_by_ssh. 
> 
> I would much prefer a unified solution as an option. Either as a
> commandline switch or compiletime option, I'd like to see an option to
> use spopen or not.
> 
> Anybody got any tips on how to workaround this 'required environment
> vars' problem that doesn't involve hacking the ssh binary?

I'm very reluctant to modify spopen to inherit environment variables.

I woold be glad to accept patches allowing you to specify environment
variables on the command line. In fact, I think it's an excelent idea
nad will look at coiding it myself sometime after 1.4.0 is made final.

--
Karl




More information about the Help mailing list