[Nagiosplug-devel] [ nagiosplug-Feature Requests-642352 ] accept environ for check_by_ssh / others

noreply at sourceforge.net noreply at sourceforge.net
Fri Nov 22 08:43:07 CET 2002


Feature Requests item #642352, was opened at 2002-11-22 11:12
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397600&aid=642352&group_id=29880

Category: None
Group: Next Release (example)
Status: Open
Priority: 5
Submitted By: John Marquart (vaix)
Assigned to: Nobody/Anonymous (nobody)
Summary: accept environ for check_by_ssh / others

Initial Comment:
I came to realize that due to the use of spopen and the 
execve call, that the check_by_ssh script will ignore 
environmental variables.

I think it would be very usefull to potentially allow 
environmental variables / a method for defining certain 
variables.


For me, this came up, because I am  using a kerberized 
(or more properly a gssapi hacked) ssh.  I would like the 
ability to use the KRB5CCNAME environment variable 
so that I can define a credentials cache for nagios to 
use - and handle all check_by_ssh checks via gssapi 
authentication.

I imagine that there are other hacks/uses of ssh which 
also depend on the env variables to be correctly set.


Has anyone else come across problems w/ plugins that 
use the spopen function not being able to properly set 
environmental variables?   Any solutions?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397600&aid=642352&group_id=29880




More information about the Devel mailing list